php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2092 php4 crashes, backtrace included
Submitted: 1999-08-17 13:26 UTC Modified: 1999-08-23 15:08 UTC
From: musone at edgeglobal dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (17/08/1999) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: musone at edgeglobal dot com
New email:
PHP Version: OS:

 

 [1999-08-17 13:26 UTC] musone at edgeglobal dot com
(gdb) run -X
Starting program: /home/mmusone/apache_1.3.6/src/httpd -X

Program received signal SIGSEGV, Segmentation fault.
zval_dtor (zvalue=0xc44b5b90) at zend_variables.c:56
56              if (zvalue->type==IS_LONG) {
(gdb) where
#0  zval_dtor (zvalue=0xc44b5b90) at zend_variables.c:56
#1  0x80cd857 in execute (op_array=0x8224a00) at zend_execute.c:1893
#2  0x807f14c in php_execute_script (primary_file=0xbffff8a0) at main.c:1133
#3  0x807f1e9 in apache_php_module_main (r=0x8220c04, fd=19, display_source_mode=0) at main.c:1175
#4  0x807d69c in send_php ()
#5  0x807d6f0 in send_parsed_php ()
#6  0x80d3783 in ap_invoke_handler ()
#7  0x80e9179 in process_request_internal ()
#8  0x80e91dc in ap_process_request ()
#9  0x80dfb99 in child_main ()
#10 0x80dfd58 in make_child ()
#11 0x80dfee3 in startup_children ()
#12 0x80e0554 in standalone_main ()
#13 0x80e0e73 in main ()
#14 0x806374e in _start ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-17 16:58 UTC] musone at cvs dot php dot net
heres a sample script...it seems to crash only when one file includes another file:


--------index.php3------------------
<? include "verify.php3"; ?>
hi

-----------------------------------


--------verify.php3--------------------
<?
if($userdrop_array["disabled"] > 0)
{
echo "hi";
}
?>

------------------------------------------

 [1999-08-17 17:51 UTC] zeev at cvs dot php dot net
Fixed by #2070 fix
 [1999-08-18 01:36 UTC] steinm at cvs dot php dot net
Same here with apache 1.3.5, Linux 2.0.37 and libc5.
Taking libzend from php4 beta 2 with the latest php4
works. 
 [1999-08-23 15:08 UTC] andi at cvs dot php dot net
Seems not to have been closed by mistake.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 05:01:30 2024 UTC