Bug #70428 [NEW]: Opcache crashes with SIGSEGV

From: Date: Fri, 04 Sep 2015 12:19:29 +0000
Subject: Bug #70428 [NEW]: Opcache crashes with SIGSEGV
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195760@lists.php.net to get a copy of this message
From: christian at rishoj dot net Operating system: Ubuntu 14.04 PHP version: 5.6.12 Package: opcache Bug Type: Bug Bug description:Opcache crashes with SIGSEGV Description: ------------ With the opcache enabled, a certain CLI-invoked operation in a large web application crashes with SIGSEGV. Crash happens with * opcache.interned_strings_buffer=16 and * opcache.interned_strings_buffer=8, but *not* with * opcache.interned_strings_buffer=0. Test script: --------------- I haven't isolated a minimal test case. Actual result: -------------- #0 0x00000000006b3016 in ?? () #1 0x00000000006b31ac in ?? () #2 0x00007ffff50ba905 in ?? () from /usr/lib/php5/20131226/opcache.so #3 0x00007ffff50c24b2 in ?? () from /usr/lib/php5/20131226/opcache.so #4 0x00007ffff50c3ed6 in ?? () from /usr/lib/php5/20131226/opcache.so #5 0x00007ffff50c415e in zend_accel_script_optimize () from /usr/lib/php5/20131226/opcache.so #6 0x00007ffff50aee35 in ?? () from /usr/lib/php5/20131226/opcache.so #7 0x00007ffff50af9e9 in persistent_compile_file () from /usr/lib/php5/20131226/opcache.so #8 0x000000000077f2bd in ?? () #9 0x0000000000715b98 in execute_ex () #10 0x00000000006cab39 in dtrace_execute_ex () #11 0x000000000077e79c in ?? () #12 0x0000000000715b98 in execute_ex () #13 0x00000000006cab39 in dtrace_execute_ex () #14 0x0000000000780567 in ?? () #15 0x0000000000715b98 in execute_ex () #16 0x00000000006cab39 in dtrace_execute_ex () #17 0x00000000006cc863 in zend_call_function () #18 0x00000000006f26f5 in zend_call_method () #19 0x00000000005c7396 in zif_spl_autoload_call () #20 0x00000000006cac3b in dtrace_execute_internal () #21 0x00000000006cc945 in zend_call_function () #22 0x00000000006cd122 in zend_lookup_class_ex () #23 0x00000000006cd812 in zend_fetch_class_by_name () #24 0x0000000000724024 in ?? () #25 0x0000000000715b98 in execute_ex () #26 0x00000000006cab39 in dtrace_execute_ex () #27 0x0000000000780567 in ?? () #28 0x0000000000715b98 in execute_ex () #29 0x00000000006cab39 in dtrace_execute_ex () #30 0x0000000000780567 in ?? () #31 0x0000000000715b98 in execute_ex () #32 0x00000000006cab39 in dtrace_execute_ex () #33 0x00000000006cc863 in zend_call_function () #34 0x00000000005fd302 in zif_call_user_func_array () #35 0x00000000006cac3b in dtrace_execute_internal () #36 0x0000000000780044 in ?? () #37 0x0000000000715b98 in execute_ex () #38 0x00000000006cab39 in dtrace_execute_ex () #39 0x00000000006dcee0 in zend_execute_scripts () #40 0x000000000067b142 in php_execute_script () #41 0x0000000000781ebe in ?? () #42 0x0000000000462a20 in main () -- Edit bug report at https://bugs.php.net/bug.php?id=70428&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70428&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70428&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70428&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70428&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70428&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70428&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70428&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70428&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70428&r=support Expected behavior: https://bugs.php.net/fix.php?id=70428&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70428&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70428&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70428&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70428&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70428&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70428&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70428&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70428&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70428&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70428&r=mysqlcfg

« previous php.bugs (#195760) next »