Bug #71958 [NEW]: Segmentation fault in garbage collector

From: Date: Mon, 04 Apr 2016 17:11:33 +0000
Subject: Bug #71958 [NEW]: Segmentation fault in garbage collector
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200349@lists.php.net to get a copy of this message
From: edefimov dot it at gmail dot com Operating system: Debian 3.16.7 PHP version: 5.5.34 Package: Unknown/Other Function Bug Type: Bug Bug description:Segmentation fault in garbage collector Description: ------------ I have a segmentation fault during execution of gc_collect_cycles() in production code. The bug appears randomly, some requests are successful. There is a dump file with this error. The file itself can not be shared as it contains sensitive data, but we can provide some information from it. Actual result: -------------- dbg trace fragment: Program terminated with signal 11, Segmentation fault. #0 zval_scan_black (pz=0x3417d1000) at /usr/src/builddir/Zend/zend_gc.c:289 289 /usr/src/builddir/Zend/zend_gc.c: No such file or directory. #0 zval_scan_black (pz=0x3417d1000) at /usr/src/builddir/Zend/zend_gc.c:289 #1 0x000000000070e3bd in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:321 #2 0x000000000070e40f in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:296 #3 0x000000000070e40f in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:296 #4 0x000000000070e40f in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:296 #5 0x000000000070e3bd in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:321 #6 0x000000000070e40f in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:296 #7 0x000000000070e40f in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:296 #8 0x000000000070e3bd in zval_scan_black (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:321 #9 0x000000000070e7e5 in zval_scan (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:514 #10 0x000000000070ed9c in zobj_scan (pz=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:600 #11 gc_scan_roots () at /usr/src/builddir/Zend/zend_gc.c:620 #12 gc_collect_cycles () at /usr/src/builddir/Zend/zend_gc.c:791 #13 0x000000000070f392 in gc_zval_possible_root (zv=<optimized out>) at /usr/src/builddir/Zend/zend_gc.c:163 #14 0x0000000000798fbf in gc_zval_check_possible_root (z=<optimized out>) at /usr/src/builddir/Zend/zend_gc.h:183 #15 zend_pzval_unlock_func (unref=1, should_free=<synthetic pointer>, z=<optimized out>) at /usr/src/builddir/Zend/zend_execute.c:82 -- Edit bug report at https://bugs.php.net/bug.php?id=71958&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71958&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71958&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71958&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71958&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71958&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71958&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71958&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71958&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71958&r=support Expected behavior: https://bugs.php.net/fix.php?id=71958&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71958&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71958&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71958&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71958&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71958&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71958&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71958&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71958&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71958&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71958&r=mysqlcfg

« previous php.bugs (#200349) next »