php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71958 Segmentation fault in garbage collector
Submitted: 2016-04-04 17:11 UTC Modified: 2016-07-24 04:22 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: edefimov dot it at gmail dot com Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.5.34 OS: Debian 3.16.7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: edefimov dot it at gmail dot com
New email:
PHP Version: OS:

 

 [2016-04-04 17:11 UTC] edefimov dot it at gmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-14 09:27 UTC] dmitry@php.net
-Status: Open +Status: Feedback
 [2016-07-14 09:27 UTC] dmitry@php.net
We can't fix GC problem without a reproducible case.
 [2016-07-24 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC