php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5438 PHP crashes frequently
Submitted: 2000-07-07 16:42 UTC Modified: 2000-07-24 09:10 UTC
From: ilmar at kuusalu dot edu dot ee Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1pl2 OS: Redhat 6.2, Linux 2.2.16
Private report: No CVE-ID: None
 [2000-07-07 16:42 UTC] ilmar at kuusalu dot edu dot ee
PHP crashes frequently (document contains no data in netscape and segmentation fault (11) in error_log). If I try to run the same script again, it usually sucseeds. Script contains no syntax errors.
many different scripts cause the crash.

PHP configure line:
./configure --with-mysql --with-apxs --disable-debug --enable-track-vars --with-gd=/usr

Apache 1.3.12-2 was installed from rh6.2 cd.

--- backtrace ---
(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
zend_hash_clean (ht=0x8120bac) at zend_hash.c:568
568                     p = p->pListNext;
(gdb) bt
#0  zend_hash_clean (ht=0x8120bac) at zend_hash.c:568
#1  0x402a1e77 in php_session_track_init () at session.c:387
#2  0x402a1ee4 in _php_session_decode (
    val=0x810a33c "kasutaja_nr|s:1:\"1\";url|s:59:\"/it/helpdesk/graafik.php?tyyp=4&p1=2000-07-01&p2=2000-07-06\";", vallen=91) at session.c:405 
#3  0x402a3e6f in php_if_session_decode (ht=1, return_value=0x8107174, this_ptr=0x0, return_value_used=0)
    at session.c:1195           
#4  0x40255a26 in execute (op_array=0x810b0c8) at ./zend_execute.c:1558
#5  0x40255c77 in execute (op_array=0x8130cb4) at ./zend_execute.c:1598
#6  0x40270d27 in php_execute_script (primary_file=0xbffff608) at main.c:1157
#7  0x4026da50 in apache_php_module_main (r=0x80e91bc, fd=19, display_source_mode=0) at sapi_apache.c:93
#8  0x4026e343 in send_php (r=0x80e91bc, display_source_mode=0, 
    filename=0x80eadac "/home/httpd/html/it/helpdesk/graafik.php") at mod_php4.c:515
#9  0x4026e384 in send_parsed_php (r=0x80e91bc) at mod_php4.c:527
#10 0x805345e in ap_invoke_handler () from /lib/libnsl.so.1
#11 0x80618fb in ap_some_auth_required () from /lib/libnsl.so.1
#12 0x8061958 in ap_process_request () from /lib/libnsl.so.1
#13 0x805b940 in ap_child_terminate () from /lib/libnsl.so.1
#14 0x805baa7 in ap_child_terminate () from /lib/libnsl.so.1
#15 0x805bba8 in ap_child_terminate () from /lib/libnsl.so.1
#16 0x805c058 in ap_child_terminate () from /lib/libnsl.so.1
#17 0x805c65f in main () from /lib/libnsl.so.1
#18 0x400be9cb in __libc_start_main (main=0x805c3e0 <main>, argc=2, argv=0xbffff7e4, init=0x804f014 <_init>, 
    fini=0x807b99c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff7dc)
    at ../sysdeps/generic/libc-start.c:92
--- /backtrace ---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-07 16:50 UTC] stas at cvs dot php dot net
Pelase try latest CVS. I think this is fixed already.
 [2000-07-08 15:51 UTC] ilmar at kuusalu dot edu dot ee
4 hours up and no crashes.

thanks.
 [2000-07-24 09:10 UTC] stas@php.net
bug fixed, all happy
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Nov 28 11:05:53 2022 UTC