[php-maint] Bug#772975: Random Segfault(11) php5-fpm when Overload

Léo BERRY leo at mezcalito.fr
Fri Dec 12 16:36:17 UTC 2014


Package: php5-fpm
Version: 5.4.35-0+deb7u2
Severity: Important

Dear maintainer,

We experience random php5-fpm process segfault on our
servers in high load situations. We use the official php5 Debian package
from stable Wheezy repository.

This issue seems to affect often the same fpm-pool/websites.
The service works again after a restart of the php5-fpm
service

I reproduce that bug in VM simulate lot of request with siege tools and
generate backtraces with php5-dbg and GDB (backtraces in attachment)

This issue seems to be related to apc, because
when I disable apc for a pool I don't get new segfault again for this
pool.

Best regards,
Léo

Environment:
Debian Wheezy - Linux mstest 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2
x86_64 GNU/Linux

PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 07:56:24)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies


-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-fpm depends on:
ii  dpkg              1.16.15
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.13-38+deb7u6
ii  libcomerr2        1.42.5-1.1
ii  libdb5.1          5.1.29-5
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u2
ii  libk5crypto3      1.10.1+dfsg-5+deb7u2
ii  libkrb5-3         1.10.1+dfsg-5+deb7u2
ii  libmagic1         5.11-2+deb7u6
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.30-5
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1e-2+deb7u13
ii  libxml2           2.8.0+dfsg1-7+wheezy2
ii  mime-support      3.52-1
ii  php5-common       5.4.35-0+deb7u2
ii  tzdata            2014h-0wheezy1
ii  ucf               3.0025+nmu3
ii  zlib1g            1:1.2.7.dfsg-13

php5-fpm recommends no packages.

Versions of packages php5-fpm suggests:
pn  php-pear  <none>

-- no debconf information

/var/log/php5-fpm
[10-Dec-2014 09:43:07] WARNING: [notice] child 6948 exited on signal 11
(SIGSEGV - core dumped) after 126.995947 seconds from start
[10-Dec-2014 09:43:11] WARNING: [notice] child 6953 exited on signal 11
(SIGSEGV - core dumped) after 30.171278 seconds from start
[10-Dec-2014 09:44:02] WARNING: [notice] child 6955 exited on signal 11
(SIGSEGV - core dumped) after 50.704723 seconds from start
[10-Dec-2014 09:44:14] WARNING: [notice] child 6956 exited on signal 11
(SIGSEGV - core dumped) after 61.369326 seconds from start
[10-Dec-2014 09:45:23] WARNING: [notice] child 6965 exited on signal 11
(SIGSEGV - core dumped) after 61.521431 seconds from start

-------------- next part --------------
/var/log/kern.log
Dec 10 09:43:06 mstest kernel: [ 4666.253836] php5-fpm[6948]: segfault at 180 ip 00000000006894aa sp 00007fffe7694780 error 6 in php5-fpm[400000+75a000]
---------------------------------------------------------------------------------------------------------------------------------------------

/var/log/php5-fpm.log
[10-Dec-2014 09:43:07] WARNING: [notice] child 6948 exited on signal 11 (SIGSEGV - core dumped) after 126.995947 seconds from start
---------------------------------------------------------------------------------------------------------------------------------------------

root at mstest:/home/vagrant/core_php5# gdb /usr/sbin/php5-fpm core-php5-fpm.6948
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 6948]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool notice                               '.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000006894aa in do_bind_function (op_array=0x2fb9360, opline=0x7fe16726ae00, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
4266	/tmp/buildd/php5-5.4.35/Zend/zend_compile.c: No such file or directory.
(gdb) bt
#0  0x00000000006894aa in do_bind_function (op_array=0x2fb9360, opline=0x7fe16726ae00, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
#1  0x00000000006dba30 in ZEND_DECLARE_FUNCTION_SPEC_HANDLER (execute_data=0x7fe1737899d8)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:965
#2  0x0000000000707ea7 in execute (op_array=0x3793c50) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#3  0x00000000006982e0 in zend_call_function (fci=0x7fffe7694a00, fci_cache=0x5)
    at /tmp/buildd/php5-5.4.35/Zend/zend_execute_API.c:956
#4  0x00000000006bcdf5 in zend_call_method (object_pp=0x7fffe7694ac8, obj_ce=0x3791d58, fn_proxy=0x3791e90, 
    function_name=0xae8977 "__get", function_name_len=50041888, retval_ptr_ptr=0x7fffe7694ad8, param_count=7108247, 
    arg1=0x1, arg2=0x3dfcdd8) at /tmp/buildd/php5-5.4.35/Zend/zend_interfaces.c:97
#5  0x00000000006c7697 in zend_std_call_getter (object=0x3dfcdd8, member=0x3791d58)
    at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:158
#6  0x00000000006c990f in zend_std_read_property (object=0xd0b1b203bcdd, member=0x7fe1665d2458, type=0, 
    key=0x7fe1665d2458) at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:469
#7  0x00000000006cd712 in zend_fetch_property_address_read_helper_SPEC_CV_CONST (execute_data=0x7fe173787b50)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:28899
#8  0x0000000000707ea7 in execute (op_array=0x3791b30) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#9  0x00000000006a6d4c in zend_execute_scripts (type=1937462840, retval=0x300000008, file_count=32737)
    at /tmp/buildd/php5-5.4.35/Zend/zend.c:1329
#10 0x00000000006466c3 in php_execute_script (primary_file=0x6c75646f6d2f7777)
    at /tmp/buildd/php5-5.4.35/main/main.c:2502
#11 0x000000000043255a in main (argc=1937253216, argv=0xe1fc60)
    at /tmp/buildd/php5-5.4.35/sapi/fpm/fpm/fpm_main.c:1938
---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
/var/log/kern.log
Dec 10 09:43:10 mstest kernel: [ 4670.479186] php5-fpm[6953]: segfault at 180 ip 00000000006894aa sp 00007fffe7694780 error 6 in php5-fpm[400000+75a000]
---------------------------------------------------------------------------------------------------------------------------------------------

/var/log/php5-fpm
10-Dec-2014 09:43:11] WARNING: [notice] child 6953 exited on signal 11 (SIGSEGV - core dumped) after 30.171278 seconds from start
---------------------------------------------------------------------------------------------------------------------------------------------

/tmp# gdb /usr/sbin/php5-fpm core-php5-fpm.6953
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 6953]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool notice                               '.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000006894aa in do_bind_function (op_array=0x2f920b0, opline=0x7fe16726aed0, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
4266	/tmp/buildd/php5-5.4.35/Zend/zend_compile.c: No such file or directory.
(gdb) bt
#0  0x00000000006894aa in do_bind_function (op_array=0x2f920b0, opline=0x7fe16726aed0, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
#1  0x00000000006dba30 in ZEND_DECLARE_FUNCTION_SPEC_HANDLER (execute_data=0x7fe1737899d8)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:965
#2  0x0000000000707ea7 in execute (op_array=0x33d2a90) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#3  0x00000000006982e0 in zend_call_function (fci=0x7fffe7694a00, fci_cache=0x5)
    at /tmp/buildd/php5-5.4.35/Zend/zend_execute_API.c:956
#4  0x00000000006bcdf5 in zend_call_method (object_pp=0x7fffe7694ac8, obj_ce=0x33d0b98, fn_proxy=0x33d0cd0, 
    function_name=0xae8977 "__get", function_name_len=49881024, retval_ptr_ptr=0x7fffe7694ad8, param_count=7108247, 
    arg1=0x1, arg2=0x3924180) at /tmp/buildd/php5-5.4.35/Zend/zend_interfaces.c:97
#5  0x00000000006c7697 in zend_std_call_getter (object=0x3924180, member=0x33d0b98)
    at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:158
#6  0x00000000006c990f in zend_std_read_property (object=0xd0b1b203bcdd, member=0x7fe1665d2458, type=0, 
    key=0x7fe1665d2458) at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:469
#7  0x00000000006cd712 in zend_fetch_property_address_read_helper_SPEC_CV_CONST (execute_data=0x7fe173787b50)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:28899
#8  0x0000000000707ea7 in execute (op_array=0x33d0970) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#9  0x00000000006a6d4c in zend_execute_scripts (type=1937462840, retval=0x300000008, file_count=32737)
    at /tmp/buildd/php5-5.4.35/Zend/zend.c:1329
#10 0x00000000006466c3 in php_execute_script (primary_file=0x6c75646f6d2f7777)
    at /tmp/buildd/php5-5.4.35/main/main.c:2502
#11 0x000000000043255a in main (argc=1937253216, argv=0xe1fc60)
    at /tmp/buildd/php5-5.4.35/sapi/fpm/fpm/fpm_main.c:1938
---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
/var/log/kern.log
Dec 10 09:43:42 mstest kernel: [ 4701.991839] php5-fpm[6955]: segfault at 180 ip 00000000006894aa sp 00007fffe7694780 error 6 in php5-fpm[400000+75a000]
---------------------------------------------------------------------------------------------------------------------------------------------

/var/log/php5-fpm
[10-Dec-2014 09:44:02] WARNING: [notice] child 6955 exited on signal 11 (SIGSEGV - core dumped) after 50.704723 seconds from start
---------------------------------------------------------------------------------------------------------------------------------------------

root at mstest:/home/vagrant/core_php5# gdb /usr/sbin/php5-fpm core-php5-fpm.6955
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 6955]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool notice                               '.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000006894aa in do_bind_function (op_array=0x2f1a900, opline=0x7fe16773f638, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
4266	/tmp/buildd/php5-5.4.35/Zend/zend_compile.c: No such file or directory.
(gdb) bt
#0  0x00000000006894aa in do_bind_function (op_array=0x2f1a900, opline=0x7fe16773f638, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
#1  0x00000000006dba30 in ZEND_DECLARE_FUNCTION_SPEC_HANDLER (execute_data=0x7fe1737899d8)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:965
#2  0x0000000000707ea7 in execute (op_array=0x7fe16459f090) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#3  0x00000000006982e0 in zend_call_function (fci=0x7fffe7694a00, fci_cache=0x5)
    at /tmp/buildd/php5-5.4.35/Zend/zend_execute_API.c:956
#4  0x00000000006bcdf5 in zend_call_method (object_pp=0x7fffe7694ac8, obj_ce=0x7fe1645eb400, 
    fn_proxy=0x7fe1645eb538, function_name=0xae8977 "__get", function_name_len=49391632, 
    retval_ptr_ptr=0x7fffe7694ad8, param_count=7108247, arg1=0x1, arg2=0x7fe163d911e8)
    at /tmp/buildd/php5-5.4.35/Zend/zend_interfaces.c:97
#5  0x00000000006c7697 in zend_std_call_getter (object=0x7fe163d911e8, member=0x7fe1645eb400)
    at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:158
#6  0x00000000006c990f in zend_std_read_property (object=0xd0b1b203bcdd, member=0x7fe1645fbfd8, type=0, 
    key=0x7fe1645fbfd8) at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:469
#7  0x00000000006cd712 in zend_fetch_property_address_read_helper_SPEC_CV_CONST (execute_data=0x7fe173787b50)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:28899
#8  0x0000000000707ea7 in execute (op_array=0x7fe164614c98) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#9  0x00000000006a6d4c in zend_execute_scripts (type=1937462840, retval=0x300000008, file_count=32737)
    at /tmp/buildd/php5-5.4.35/Zend/zend.c:1329
#10 0x00000000006466c3 in php_execute_script (primary_file=0x6c75646f6d2f7777)
    at /tmp/buildd/php5-5.4.35/main/main.c:2502
#11 0x000000000043255a in main (argc=1937253744, argv=0xe1fc60)
    at /tmp/buildd/php5-5.4.35/sapi/fpm/fpm/fpm_main.c:1938
---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
/var/log/kern.log
Dec 10 09:44:13 mstest kernel: [ 4732.895213] php5-fpm[6956]: segfault at 160 ip 00000000006894aa sp 00007fffe7694780 error 6 in php5-fpm[400000+75a000]
---------------------------------------------------------------------------------------------------------------------------------------------

/var/log/php5-fpm
[10-Dec-2014 09:44:14] WARNING: [notice] child 6956 exited on signal 11 (SIGSEGV - core dumped) after 61.369326 seconds from start
---------------------------------------------------------------------------------------------------------------------------------------------

root at mstest:/tmp# gdb /usr/sbin/php5-fpm core-php5-fpm.6956
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 6956]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool notice                                '.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000006894aa in do_bind_function (op_array=0x2fa9790, opline=0x7fe1682deb08, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
4266	/tmp/buildd/php5-5.4.35/Zend/zend_compile.c: No such file or directory.
(gdb) bt
#0  0x00000000006894aa in do_bind_function (op_array=0x2fa9790, opline=0x7fe1682deb08, function_table=0x2c9fc10, 
    compile_time=0 '\000') at /tmp/buildd/php5-5.4.35/Zend/zend_compile.c:4266
#1  0x00000000006dba30 in ZEND_DECLARE_FUNCTION_SPEC_HANDLER (execute_data=0x7fe1737897a0)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:965
#2  0x0000000000707ea7 in execute (op_array=0x39725c0) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#3  0x00000000006982e0 in zend_call_function (fci=0x7fffe7694a00, fci_cache=0x42ef408)
    at /tmp/buildd/php5-5.4.35/Zend/zend_execute_API.c:956
#4  0x00000000006bcdf5 in zend_call_method (object_pp=0x7fffe7694ac8, obj_ce=0x393db70, fn_proxy=0x393dca8, 
    function_name=0xae8977 "__get", function_name_len=49976992, retval_ptr_ptr=0x7fffe7694ad8, param_count=7108247, 
    arg1=0x1, arg2=0x4a5e9f0) at /tmp/buildd/php5-5.4.35/Zend/zend_interfaces.c:97
#5  0x00000000006c7697 in zend_std_call_getter (object=0x4a5e9f0, member=0x393db70)
    at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:158
#6  0x00000000006c990f in zend_std_read_property (object=0xd0b1b203bcdd, member=0x394e618, type=0, key=0x394e618)
    at /tmp/buildd/php5-5.4.35/Zend/zend_object_handlers.c:469
#7  0x00000000006cd712 in zend_fetch_property_address_read_helper_SPEC_CV_CONST (execute_data=0x7fe173787918)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:28899
#8  0x0000000000707ea7 in execute (op_array=0x39672e0) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#9  0x00000000006a6d4c in zend_execute_scripts (type=1937462840, retval=0x300000008, file_count=32737)
    at /tmp/buildd/php5-5.4.35/Zend/zend.c:1329
#10 0x00000000006466c3 in php_execute_script (primary_file=0x656c75646f6d2f77)
    at /tmp/buildd/php5-5.4.35/main/main.c:2502
#11 0x000000000043255a in main (argc=1937253216, argv=0xe1fc60)
    at /tmp/buildd/php5-5.4.35/sapi/fpm/fpm/fpm_main.c:1938

---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
/var/log/kern.log
Dec 10 09:45:17 mstest kernel: [ 4796.707219] php5-fpm[6965]: segfault at 0 ip 00007fe16f7c4ba5 sp 00007fffe7692000 error 6 in apc.so[7fe16f7b2000+24000]
---------------------------------------------------------------------------------------------------------------------------------------------

/var/log/php5-fpm
[10-Dec-2014 09:45:23] WARNING: [notice] child 6965 exited on signal 11 (SIGSEGV - core dumped) after 61.521431 seconds from start
---------------------------------------------------------------------------------------------------------------------------------------------

root at mstest:/tmp# gdb /usr/sbin/php5-fpm core-php5-fpm.6965
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 6965]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysql.so" does not match "/usr/lib/php5/20100525/mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/mysqli.so" does not match "/usr/lib/php5/20100525/mysqli.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug//usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib/php5/20100525/pdo_mysql.so" does not match "/usr/lib/php5/20100525/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool notice                               '.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fe16f7c4ba5 in apc_copy_op_array () from /usr/lib/php5/20100525/apc.so
(gdb) bt
#0  0x00007fe16f7c4ba5 in apc_copy_op_array () from /usr/lib/php5/20100525/apc.so
#1  0x00007fe16f7c54fa in ?? () from /usr/lib/php5/20100525/apc.so
#2  0x00007fe16f7c56b1 in apc_copy_new_functions () from /usr/lib/php5/20100525/apc.so
#3  0x00007fe16f7c8590 in apc_compile_cache_entry () from /usr/lib/php5/20100525/apc.so
#4  0x00007fe16f7c8e35 in ?? () from /usr/lib/php5/20100525/apc.so
#5  0x000000000052175a in phar_compile_file (file_handle=<incomplete type>, type=32767)
    at /tmp/buildd/php5-5.4.35/ext/phar/phar.c:3411
#6  0x0000000000670600 in compile_filename (type=2, filename=0x3f5bc50) at Zend/zend_language_scanner.l:628
#7  0x00000000006eac03 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER (execute_data=0x7fe173787e38)
    at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:11466
#8  0x0000000000707ea7 in execute (op_array=0x33e50e8) at /tmp/buildd/php5-5.4.35/Zend/zend_vm_execute.h:410
#9  0x00000000006a6d4c in zend_execute_scripts (type=1937462840, retval=0x300000008, file_count=32737)
    at /tmp/buildd/php5-5.4.35/Zend/zend.c:1329
#10 0x00000000006466c3 in php_execute_script (primary_file=0x6c75646f6d2f7777)
    at /tmp/buildd/php5-5.4.35/main/main.c:2502
#11 0x000000000043255a in main (argc=1937253216, argv=0xe1fc60)
    at /tmp/buildd/php5-5.4.35/sapi/fpm/fpm/fpm_main.c:1938
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20141212/930aca27/attachment-0001.sig>


More information about the pkg-php-maint mailing list