PHP 4.0 Bug #5381: Crash after successful request
| From: | tom dot anheyer at berlinonline dot de | Date: | Wed, 05 Jul 2000 14:54:15 +0000 |
| Subject: | PHP 4.0 Bug #5381: Crash after successful request | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23471@lists.php.net to get a copy of this message | ||
From: tom.anheyer@berlinonline.de
Operating system: Linux 2.2.14,Apache 1.3.11
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: Crash after successful request
the script uses mysql,string functions,preg,...
here is the backtrace:
#0 0x4029da69 in _zval_ptr_dtor ()
#1 0x402ac523 in zend_hash_destroy ()
#2 0x402a6926 in _zval_dtor ()
#3 0x4029da84 in _zval_ptr_dtor ()
#4 0x402ac523 in zend_hash_destroy ()
#5 0x4029fa0e in destroy_op_array ()
#6 0x4029f8e1 in destroy_zend_function ()
#7 0x402ac724 in zend_hash_apply_deleter ()
#8 0x402ac9be in zend_hash_apply ()
#9 0x4029d825 in shutdown_executor ()
#10 0x402a7986 in zend_deactivate ()
#11 0x402bb569 in php_request_shutdown ()
an strace log:
gettimeofday({962722525, 978364}, NULL) = 0
times({tms_utime=140, tms_stime=13, tms_cutime=0, tms_cstime=0}) = 162949660
alarm(30) = 0
shutdown(9, 1 /* send */) = 0
select(10, [9], NULL, NULL, {2, 0}) = 1 (in [9], left {1, 940000})
read(9, "", 512) = 0
close(9) = 0
alarm(0) = 30
sigaction(SIGUSR1, {0x8081e10, [], 0x6}, {SIG_IGN}) = 0
alarm(0) = 0
munmap(0x40248000, 16420) = 0
munmap(0x40552000, 30024) = 0
sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}) = 0
fcntl(11, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(11, 0x81f1a28, 8192) = -1 EAGAIN (Resource temporarily unavai
lable)
fcntl(11, F_SETFL, O_RDONLY) = 0
write(11, "\1\0\0\0\1", 5) = 5
shutdown(11, 2 /* send and receive */) = 0
close(11) = 0
sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}) = 0
munmap(0x4052b000, 135168) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
#12 0x402b8b09 in php_apache_request_shutdown ()
#13 0x8075f24 in run_cleanups ()
#14 0x80731df in ap_clear_pool ()
#15 0x807328e in ap_destroy_pool ()
#16 0x80731b9 in ap_clear_pool ()
#17 0x807f8fa in child_main ()
#18 0x808024f in startup_children ()
#19 0x8080a76 in standalone_main ()
#20 0x80814cd in main ()