php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6873 SIGSEGV on SEPARATE_ZVAL_IF_NOT_REF
Submitted: 2000-09-24 16:32 UTC Modified: 2000-11-29 06:13 UTC
From: alex at zend dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.2 OS: linux-glibc21
Private report: No CVE-ID: None
 [2000-09-24 16:32 UTC] alex at zend dot com
I can not send the PHP script that reproduces the core dump because it is
too large.

Below is the backtrace of the problem. It occurs with the CGI and the APACHE DSO SAPIs. The PHP stops coredumping when the ZendOptimizer is activated.

Program received signal SIGSEGV, Segmentation fault.
0x80e098b in execute (op_array=0x82c248c) at ./zend_execute.c:2134
2134
SEPARATE_ZVAL_IF_NOT_REF(array_ptr_ptr);
(gdb) backtrace
#0  0x80e098b in execute (op_array=0x82c248c) at ./zend_execute.c:2134
#1  0x80de81e in execute (op_array=0x82c1c0c) at ./zend_execute.c:1559
#2  0x80de81e in execute (op_array=0x8279384) at ./zend_execute.c:1559
#3  0x80ba7b4 in zend_execute_scripts (type=8, file_count=3) at zend.c:712

#4  0x805ddf5 in php_execute_script (primary_file=0xbffff994) at main.c:1173
#5  0x805c801 in main (argc=2, argv=0xbffff9f4) at cgi_main.c:711

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-29 15:25 UTC] andi@php.net
Is this fixed in 4.0.3pl1?
 [2000-11-29 06:13 UTC] stas@php.net
No feedback, old version -> closed
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 17:00:01 2026 UTC