php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8841 PHP Crashed under very special circumstances
Submitted: 2001-01-22 12:23 UTC Modified: 2001-04-16 05:22 UTC
From: david at deus dot dk Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4pl1 OS: RedHat 6.1
Private report: No CVE-ID: None
 [2001-01-22 12:23 UTC] david at deus dot dk
I cannot make a short script, since I dont know exactly what causes this, it seems to be session related in the sense that after I get this error I can no longer access ANY pages on that host (as if it cant unserialize the cookie correctly) but deleting the cookie from the session_dir under Linux solves the problem.

Running php-4.0.5-dev.

(gdb) run -X
Starting program: /home/httpd/bin/httpd -X
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x810aded in _zval_ptr_dtor ()
(gdb) bt
#0  0x810aded in _zval_ptr_dtor ()
#1  0x8114229 in zend_hash_destroy ()
#2  0x8110968 in _zval_dtor ()
#3  0x810ae02 in _zval_ptr_dtor ()
#4  0x80f5e09 in php_var_unserialize ()
#5  0x80c5f61 in ps_srlzr_decode_php ()
#6  0x80c63e0 in ps_srlzr_decode_wddx ()
#7  0x80c65d0 in ps_srlzr_decode_wddx ()
#8  0x80c6ff4 in ps_srlzr_decode_wddx ()
#9  0x80c8070 in php_if_session_start ()
#10 0x813d341 in execute ()
#11 0x814312d in execute ()
#12 0x81117f8 in zend_execute_scripts ()
#13 0x808ab28 in php_execute_script ()
#14 0x811cbae in apache_php_module_main ()
#15 0x8088746 in send_php ()
#16 0x8088778 in send_parsed_php ()
#17 0x814ac63 in ap_invoke_handler ()
#18 0x815e499 in ap_some_auth_required ()
#19 0x815e4fc in ap_process_request ()
#20 0x8155d7e in ap_child_terminate ()
#21 0x8155f0c in ap_child_terminate ()
#22 0x8156069 in ap_child_terminate ()
#23 0x8156696 in ap_child_terminate ()
#24 0x8156e23 in main ()
#25 0x407669cb in __libc_start_main (main=0x8156adc <main>, argc=2, argv=0xbffffa54, 
    init=0x806e950 <_init>, fini=0x81cb8dc <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, 
    stack_end=0xbffffa4c) at ../sysdeps/generic/libc-start.c:92

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-16 17:33 UTC] sas@php.net
Please compile PHP with --enable-debug and provide a complete backtrace. Thank you.
 [2001-04-16 05:22 UTC] jmoore@php.net
David, 

Please try this with 4.0.5 when it is released and repoen report if the problem still persists

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 22:01:29 2024 UTC