Bug #70192 [NEW]: Opcache Segmentation error!

From: Date: Wed, 05 Aug 2015 05:13:27 +0000
Subject: Bug #70192 [NEW]: Opcache Segmentation error!
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194960@lists.php.net to get a copy of this message
From:             shu dot ko at tis dot co dot jp
Operating system: CentOs6.6
PHP version:      5.6Git-2015-08-05 (Git)
Package:          opcache
Bug Type:         Bug
Bug description:Opcache Segmentation error!

Description:
------------
I am using opcache, when i do a stress test(peek thughput:
300request/secend)Segmentation(11) error happend.
when i set opacahe off, the error do not happen.

I got the backtrace infomations, please see fellow.



Actual result:
--------------
--------------------------------------
core was generated by `/usr/sbin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fbe4cbb067e in memcpy () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install
httpd-2.2.15-39.el6.centos.x86_64
(gdb) bt
#0  0x00007fbe4cbb067e in memcpy () from /lib64/libc.so.6
#1  0x00007fbe48858b90 in _estrndup () from
/etc/httpd/modules/libphp5.so
#2  0x00007fbe46491e6b in ?? () from /usr/lib64/php/modules/opcache.so
#3  0x00007fbe46491e17 in ?? () from /usr/lib64/php/modules/opcache.so
#4  0x00007fbe46492786 in ?? () from /usr/lib64/php/modules/opcache.so
#5  0x00007fbe46491650 in ?? () from /usr/lib64/php/modules/opcache.so
#6  0x00007fbe464917cc in ?? () from /usr/lib64/php/modules/opcache.so
#7  0x00007fbe46492121 in ?? () from /usr/lib64/php/modules/opcache.so
#8  0x00007fbe4648b0cf in ?? () from /usr/lib64/php/modules/opcache.so
#9  0x00007fbe4884f5be in compile_filename () from
/etc/httpd/modules/libphp5.so
#10 0x00007fbe488ed6e3 in ?? () from /etc/httpd/modules/libphp5.so
#11 0x00007fbe488eded8 in execute_ex () from
/etc/httpd/modules/libphp5.so
#12 0x00007fbe4886fb1e in dtrace_execute_ex () from
/etc/httpd/modules/libphp5.so
#13 0x00007fbe488ed871 in ?? () from /etc/httpd/modules/libphp5.so
#14 0x00007fbe488eded8 in execute_ex () from
/etc/httpd/modules/libphp5.so
#15 0x00007fbe4886fb1e in dtrace_execute_ex () from
/etc/httpd/modules/libphp5.so
#16 0x00007fbe488ed871 in ?? () from /etc/httpd/modules/libphp5.so
#17 0x00007fbe488eded8 in execute_ex () from
/etc/httpd/modules/libphp5.so
#18 0x00007fbe4886fb1e in dtrace_execute_ex () from
/etc/httpd/modules/libphp5.so
#19 0x00007fbe4887f26c in zend_execute_scripts () from
/etc/httpd/modules/libphp5.so
#20 0x00007fbe4881d9da in php_execute_script () from
/etc/httpd/modules/libphp5.so
#21 0x00007fbe489257dd in ?? () from /etc/httpd/modules/libphp5.so
#22 0x00007fbe4e617cd0 in ap_run_handler ()
#23 0x00007fbe4e61b58e in ap_invoke_handler ()
#24 0x00007fbe4e626c50 in ap_process_request ()
#25 0x00007fbe4e623ac8 in ?? ()
#26 0x00007fbe4e61f7d8 in ap_run_process_connection ()
#27 0x00007fbe4e62bad7 in ?? ()
#28 0x00007fbe4e62bdea in ?? ()
#29 0x00007fbe4e62ca6c in ap_mpm_run ()
#30 0x00007fbe4e6039b0 in main ()
--------------------------------------

-- 
Edit bug report at https://bugs.php.net/bug.php?id=70192&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=70192&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=70192&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=70192&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=70192&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=70192&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=70192&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=70192&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=70192&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=70192&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=70192&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=70192&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=70192&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=70192&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70192&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=70192&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=70192&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=70192&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70192&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=70192&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=70192&r=mysqlcfg



Thread (10 messages)

« previous php.bugs (#194960) next »