php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8393 crash with --enable-debug, backtrace sourcefile
Submitted: 2000-12-23 21:35 UTC Modified: 2001-04-27 21:54 UTC
From: mog at linux dot nu Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 4.0.4 OS: Linux RedHat 7.0
Private report: No CVE-ID: None
 [2000-12-23 21:35 UTC] mog at linux dot nu
for some reason it just crashes

the distro is a standard redhat 7 with compiled php
configured with

'./configure' '--with-gd' '--with-mysql' '--with-xml'
'--with-apxs'

--enable-debug too, but phpinfo() apparantly didn't list it

the php file that crashes is available at:
http://hem.netlink.se/~sft3905/list.php

phpinfo(); output is available at:
http://hem.netlink.se/~sft3905/phpinfo.html

backtrace:

(gdb) r -X -D HAVE_PHP4
Starting program: /usr/sbin/httpd -X -D HAVE_PHP4

Program received signal SIGSEGV, Segmentation fault.
0x402d8f71 in _efree (ptr=0x8125184) at zend_alloc.c:232
232
	REMOVE_POINTER_FROM_LIST(p);
(gdb) bt
#0  0x402d8f71 in _efree (ptr=0x8125184) at zend_alloc.c:232
#1  0x402f0591 in _zval_dtor (zvalue=0x81237e4) at
zend_variables.c:62
#2  0x402e8afe in zend_assign_to_variable (result=0x80f04ec,
op1=0x80f04fc,
    op2=0x80f050c, value=0x80ecbbc, type=4, Ts=0xbfffb230)
    at ./zend_execute.c:357
#3  0x402e2525 in execute (op_array=0x80f2ee0) at
./zend_execute.c:1261
#4  0x402e375a in execute (op_array=0x8121ec4) at
./zend_execute.c:1559
#5  0x402e5d1d in execute (op_array=0x80e80a4) at
./zend_execute.c:2063
#6  0x402f18c1 in zend_execute_scripts (type=8,
file_count=3) at zend.c:729
#7  0x40302aaf in php_execute_script
(primary_file=0xbffff860) at main.c:1221
#8  0x402ff3e2 in apache_php_module_main (r=0x80e1c0c,
display_source_mode=0)
    at sapi_apache.c:89
#9  0x402ffcf5 in send_php (r=0x80e1c0c,
display_source_mode=0, filename=0x0)
    at mod_php4.c:506
#10 0x402ffd2a in send_parsed_php (r=0x80e1c0c) at
mod_php4.c:517
#11 0x80538b9 in ap_invoke_handler ()
#12 0x80638d2 in ap_some_auth_required ()
#13 0x806393f in ap_process_request ()
#14 0x805cf37 in ap_child_terminate ()
#15 0x805d0bf in ap_child_terminate ()
#16 0x805d1d4 in ap_child_terminate ()
#17 0x805d6ff in ap_child_terminate ()
#18 0x805de38 in main ()
---Type <return> to continue, or q <return> to quit---
#19 0x40145a7c in __libc_start_main (main=0x805db00 <main>,
argc=4,
    ubp_av=0xbffffaf4, init=0x804f1d0 <_init>,
fini=0x807e98c <_fini>,
    rtld_fini=0x4000d684 <_dl_fini>, stack_end=0xbffffaec)
    at ../sysdeps/generic/libc-start.c:111


thanks for your help!
 - Mog

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-27 05:28 UTC] jmoore@php.net
Dup of #8392
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 05:01:28 2024 UTC