[Bug 1475309] [NEW] Segmentation fault in Zend OPcache (PHP-FPM)
Martijn G.
martijn at grendelman.net
Thu Jul 16 13:27:25 UTC 2015
Public bug reported:
There is a segmentation fault in Zend OPcache. It is quite hard to
reproduce. We experience it on a Magento server with a specific piece of
code enabled, that deals with image resizing. Unfortunately, I don't
have the code at hand, but I'm not sure it is relevant.
Backtrace looks like this:
#0 _zend_mm_free_int (heap=0x23e4300, p=0x400d480) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_alloc.c:2104
#1 0x00007fb105d054b3 in zif_accel_chdir (ht=<optimized out>, return_value=<optimized out>, return_value_ptr=<optimized out>,
this_ptr=<optimized out>, return_value_used=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/ext/opcache/ZendAccelerator.c:158
#2 0x00000000006dd8cb in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>,
return_value_used=<optimized out>) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:97
#3 0x000000000079d935 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:552
#4 0x0000000000717668 in execute_ex (execute_data=0x7fb1087ded20) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#5 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#6 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087deb00)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#7 0x0000000000717668 in execute_ex (execute_data=0x7fb1087deb00) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#8 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#9 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087de548)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#10 0x0000000000717668 in execute_ex (execute_data=0x7fb1087de548) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#11 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#12 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087de030)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#13 0x0000000000717668 in execute_ex (execute_data=0x7fb1087de030) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#14 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#15 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087dd2c0)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#16 0x0000000000717668 in execute_ex (execute_data=0x7fb1087dd2c0) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#17 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#18 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087dbed0)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#19 0x0000000000717668 in execute_ex (execute_data=0x7fb1087dbed0) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#20 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#21 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087db898)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#22 0x0000000000717668 in execute_ex (execute_data=0x7fb1087db898) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#23 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#24 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087db1f8)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#25 0x0000000000717668 in execute_ex (execute_data=0x7fb1087db1f8) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#26 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#27 0x000000000079df80 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fb1087da738)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:584
#28 0x0000000000717668 in execute_ex (execute_data=0x7fb1087da738) at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_vm_execute.h:363
#29 0x00000000006dd7c9 in dtrace_execute_ex (execute_data=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend_dtrace.c:73
#30 0x00000000006ef250 in zend_execute_scripts (type=type at entry=8, retval=retval at entry=0x0, file_count=file_count at entry=3)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/Zend/zend.c:1316
#31 0x000000000068f065 in php_execute_script (primary_file=primary_file at entry=0x7fffbfcf5cb0)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/main/main.c:2506
#32 0x0000000000463b00 in main (argc=<optimized out>, argv=<optimized out>)
at /build/php5-RpYHCf/php5-5.5.9+dfsg/sapi/fpm/fpm/fpm_main.c:1933
Please let me know if there is anything else you need.
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1475309
Title:
Segmentation fault in Zend OPcache (PHP-FPM)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1475309/+subscriptions
More information about the Ubuntu-server-bugs
mailing list