[php-maint] Bug#754432: Bug#754432: Bug#754432: php5-fpm: crashes since 5.6.0 / error 4 in opcache.so

Kevin kevin.h at gadeco.de
Mon Sep 8 19:14:43 UTC 2014


Here it is:

GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/c1/03cb914d0d4e601379f4e12fc5305a58e11e2c.debug...done.
done.
[New LWP 14305]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool ftpuser01                                               '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  zend_optimize (op_array=op_array at entry=0x20a9c38, script=<optimized out>, constants=<optimized out>) at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/Optimizer/pass1_5.c:374
374     /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/Optimizer/pass1_5.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  zend_optimize (op_array=op_array at entry=0x20a9c38, script=<optimized out>, constants=<optimized out>) at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/Optimizer/pass1_5.c:374
#1  0x00007f73ae02b75b in zend_accel_optimize (op_array=op_array at entry=0x20a9c38, script=script at entry=0x2062ee8, constants=constants at entry=0x7fff574dd698) at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/Optimizer/zend_optimizer.c:524
#2  0x00007f73ae02b9fe in zend_accel_script_optimize (script=script at entry=0x2062ee8) at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/Optimizer/zend_optimizer.c:587
#3  0x00007f73ae016747 in cache_script_in_shared_memory (from_shared_memory=0x7fff574dd89c, key_length=51, key=0x7f73ae232d74 <accel_globals+372> "/home/ftpuser01/fotos/admin/include/image.class.php", new_persistent_script=0x2062ee8)
    at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/ZendAccelerator.c:1145
#4  compile_and_cache_file (file_handle=0x7fff574dd9c0, type=2, key=0x7f73ae232d74 <accel_globals+372> "/home/ftpuser01/fotos/admin/include/image.class.php", key_length=51, op_array_p=0x7fff574dd8a0, from_shared_memory=0x7fff574dd89c)
    at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/ZendAccelerator.c:1478
#5  0x00007f73ae016ef3 in persistent_compile_file (file_handle=0x7fff574dd9c0, type=2) at /tmp/buildd/php5-5.6.0+dfsg/ext/opcache/ZendAccelerator.c:1655
#6  0x0000000000794566 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7f73b234c7d0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_vm_execute.h:8328
#7  0x00000000007251f0 in execute_ex (execute_data=0x7f73b234c7d0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_vm_execute.h:363
#8  0x00000000006d6908 in dtrace_execute_ex (execute_data=0x7f73b234c7d0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_dtrace.c:73
#9  0x000000000079446c in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7f73b234c5f0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_vm_execute.h:8386
#10 0x00000000007251f0 in execute_ex (execute_data=0x7f73b234c5f0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_vm_execute.h:363
#11 0x00000000006d6908 in dtrace_execute_ex (execute_data=0x7f73b234c5f0) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend_dtrace.c:73
#12 0x00000000006e9690 in zend_execute_scripts (type=29401485, type at entry=8, retval=0x1fd152d, retval at entry=0x0, file_count=0, file_count at entry=3) at /tmp/buildd/php5-5.6.0+dfsg/Zend/zend.c:1330
#13 0x000000000068595b in php_execute_script (primary_file=0x7fff574e0230) at /tmp/buildd/php5-5.6.0+dfsg/main/main.c:2584
#14 0x00000000004647dc in main (argc=-1305168160, argv=0x7f73b234c118) at /tmp/buildd/php5-5.6.0+dfsg/sapi/fpm/fpm/fpm_main.c:2032


Am Montag, 8. September 2014, 15:13:45 schrieb Ondřej Surý:
> Can you produce a core dump and a backport?
> 
> https://bugs.php.net/bugs-generating-backtrace.php
> 
> ?
> 
> Oh, and install php5-dbg before generating the backtrace.
> 
> O.
> 
> On Mon, Sep 8, 2014, at 09:24, kevin.h at gadeco.de wrote:
> > Bug still exists in rc3, rc4 and the latest 5.6.0 version (non-rc).
> > 
> > I can reproduce this error when I hit the admin page of Piwigo 2.6.3:
> > php5-fpm[27582]: segfault at 8c ip 00007fdca4e0d447 sp 00007fff7ac3d450 
> > error 4 in opcache.so[7fdca4def000+24000]
> > 
> > Do you have any suggestion how to isolate the PHP code which is causing 
> > the crash?
> > 
> > Thanks!
> > 
> > _______________________________________________
> > pkg-php-maint mailing list
> > pkg-php-maint at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> 
> 
> 



More information about the pkg-php-maint mailing list