From: gabor at netway dot hu Operating system: Debian Linux PHP version: 4.3.3RC4 PHP Bug Type: Unknown/Other Function Bug description: Segmentation fault
Description: ------------ apache crash, and no more request. Reproduce code: --------------- include("head.php"); OVS_Z050($_SESSION["ovs_session"]); sleep(5); session_destroy(); ?> Expected result: ---------------- [Mon Aug 18 08:24:55 2003] [notice] Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.3.3RC4-dev configured -- resuming normal operations [Mon Aug 18 08:24:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache-ssl/suexec) [Mon Aug 18 08:24:55 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Mon Aug 18 10:48:18 2003] [notice] child pid 344 exit signal Segmentation fault (11) [Mon Aug 18 10:48:54 2003] [notice] child pid 341 exit signal Segmentation fault (11) [Mon Aug 18 10:49:37 2003] [notice] child pid 366 exit signal Segmentation fault (11) /usr/src/php4-STABLE-200308080930/Zend/zend_execute.c(1611) : Freeing 0x08151FAC (12 bytes), script=/var/www/ovs/ovs.members/php/Z050.php /usr/src/php4-STABLE-200308080930/Zend/zend_opcode.c(295) : Freeing 0x0814CE14 (14520 bytes), script=/var/www/ovs/ovs.members/php/xx.php Last leak repeated 2 times Zend/zend_language_scanner.c(4619) : Freeing 0x08151EF4 (11 bytes), script=/var/www/xx.php Last leak repeated 118 times Zend/zend_language_scanner.c(4484) : Freeing 0x08151EB4 (9 bytes), script=/var/www/xx.php Last leak repeated 80 times Zend/zend_language_scanner.c(4492) : Freeing 0x08151D2C (20 bytes), script=/var/www/xx.php Last leak repeated 80 times Zend/zend_language_scanner.c(3072) : Freeing 0x0814AA24 (84 bytes), script=/var/www/xx.php Last leak repeated 2 times /usr/src/php4-STABLE-200308080930/Zend/zend_opcode.c(65) : Freeing 0x0814B5A4 (4 bytes), script=/var/www/ovs/ovs.members/php/xx.php Last leak repeated 2 times Zend/zend_language_scanner.c(3911) : Freeing 0x0814B564 (16 bytes), script=/var/www/ovs/ovs.members/php/xx.php Last leak repeated 5 times /usr/src/php4-STABLE-200308080930/Zend/zend_compile.c(854) : Freeing 0x0814B474 (13 bytes), script=/var/www/ovs/ovs.members/php/xx.php /usr/src/php4-STABLE-200308080930/Zend/zend_variables.c(111) : Actual location (location was relayed) Last leak repeated 1 time /usr/src/php4-STABLE-200308080930/Zend/zend_opcode.c(230) : Freeing 0x081464D4 (12 bytes), script=/var/www/ovs/ovs.members/php/xx.php /usr/src/php4-STABLE-200308080930/Zend/zend_compile.c(1761) : Freeing 0x08145E84 (9 bytes), script=/var/www/ovs/ovs.members/php/xx.php /usr/src/php4-STABLE-200308080930/Zend/zend_variables.c(111) : Actual location (location was relayed) /usr/src/php4-STABLE-200308080930/Zend/zend_compile.c(1745) : Freeing 0x08145D2C (9 bytes), script=/var/www/ovs/ovs.members/php/xx.php /usr/src/php4-STABLE-200308080930/Zend/zend_variables.c(111) : Actual location (location was relayed) /usr/src/php4-STABLE-200308080930/Zend/zend_compile.c(2025) : Freeing 0x0814597C (8 bytes), script=/var/www/ovs/ovs.members/php/xx.php /usr/src/php4-STABLE-200308080930/Zend/zend_variables.c(111) : Actual location (location was relayed) Last leak repeated 5 times Zend/zend_language_scanner.c(4399) : Freeing 0x0814617C (3 bytes), script=/var/www/ovs/ovs.members/php/xx.php Last leak repeated 1 time Zend/zend_language_scanner.c(4710) : Freeing 0x081410AC (9 bytes), script=/var/www/ovs/ovs.members/php/xx.php [Mon Aug 18 10:50:32 2003] [notice] child pid 342 exit signal Segmentation fault (11) [Mon Aug 18 10:51:52 2003] [notice] child pid 340 exit signal Segmentation fault (11) [Mon Aug 18 10:53:22 2003] [notice] child pid 339 exit signal Segmentation fault (11) [Mon Aug 18 14:03:12 2003] [notice] child pid 472 exit signal Segmentation fault (11) [Mon Aug 18 14:11:22 2003] [notice] child pid 433 exit signal Segmentation fault (11) [Mon Aug 18 14:12:32 2003] [notice] child pid 338 exit signal Segmentation fault (11) [Mon Aug 18 14:13:23 2003] [notice] child pid 434 exit signal Segmentation fault (11) [Mon Aug 18 14:15:11 2003] [notice] child pid 473 exit signal Segmentation fault (11) [Mon Aug 18 14:15:30 2003] [notice] child pid 443 exit signal Segmentation fault (11) [Mon Aug 18 14:15:57 2003] [notice] child pid 474 exit signal Segmentation fault (11) -- Edit bug report at http://bugs.php.net/?id=25190&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25190&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25190&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25190&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25190&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25190&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25190&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25190&r=support Expected behavior: http://bugs.php.net/fix.php?id=25190&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25190&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25190&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25190&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25190&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25190&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25190&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25190&r=gnused