PHP 4.0 Bug #3418 Updated: Apache/modphp4 crashing when displaying source
| From: | Bug Database | Date: | Sun, 06 Feb 2000 20:20:36 +0000 |
| Subject: | PHP 4.0 Bug #3418 Updated: Apache/modphp4 crashing when displaying source | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15263@lists.php.net to get a copy of this message | ||
ID: 3418
Updated by: danny
Reported By: danny.heijl@cevi.be
Status: Open
Bug Type: Reproduceable crash
Assigned To:
Comments:
backtrace :
(gdb) run -X
Starting program: /home/web/php/apache_1.3.11/src/httpd -X
Program received signal SIGSEGV, Segmentation fault.
_mem_block_check (ptr=0x0, silent=1,
__zend_filename=0x81ebfe0 "../../php4/Zend/zend_hash.c", __zend_lineno=574,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/Zend/zend_alloc.c:483
483 switch (p->magic) {
(gdb) bt
#0 _mem_block_check (ptr=0x0, silent=1,
__zend_filename=0x81ebfe0 "../../php4/Zend/zend_hash.c", __zend_lineno=574,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/Zend/zend_alloc.c:483
#1 0x80a38d8 in _efree (ptr=0x0,
__zend_filename=0x81ebfe0 "../../php4/Zend/zend_hash.c", __zend_lineno=574,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/Zend/zend_alloc.c:170
#2 0x80b1239 in zend_hash_destroy (ht=0x827be44) at ../../php4/Zend/zend_hash.c:574
#3 0x80d5f91 in php_rshutdown_basic (type=1, module_number=48)
at /home/web/php/php4/ext/standard/basic_functions.c:467
#4 0x80ae8a2 in module_registry_cleanup (module=0x829e4b8)
at ../../php4/Zend/zend_API.c:872
#5 0x80b14e4 in zend_hash_apply (ht=0x827bd40,
destruct=0x80ae87c <module_registry_cleanup>) at ../../php4/Zend/zend_hash.c:694
#6 0x80ae1ae in zend_deactivate () at ../../php4/Zend/zend.c:462
#7 0x809da70 in php_request_shutdown (dummy=0x0) at /home/web/php/php4/./main.c:715
#8 0x810f2cb in run_cleanups ()
#9 0x810dfdf in ap_clear_pool ()
#10 0x810e036 in ap_destroy_pool ()
#11 0x810dfcc in ap_clear_pool ()
#12 0x8118bd3 in child_main ()
#13 0x811904f in make_child ()
#14 0x8119155 in startup_children ()
#15 0x811962e in standalone_main ()
#16 0x8119c21 in main ()
#17 0x400d4cb3 in __libc_start_main (main=0x81199a4 <main>, argc=2, argv=0xbffffac4,
init=0x8073b74 <_init>, fini=0x81dab4c <_fini>, rtld_fini=0x4000a350
<_dl_fini>,
stack_end=0xbffffabc) at ../sysdeps/generic/libc-start.c:78
(gdb)
Danny
---
Full Bug description available at: http://bugs.php.net/version4/?id=3418