From:             asmi at owear dot ru
Operating system: FreeBSD 4.8-RELEASE-p27
PHP version:      4.3.10
PHP Bug Type:     Reproducible crash
Bug description:  Crash in shutdown_memory_manager

Description:
------------
SIGSERV in shutdown_memory_manager after WackoWiki script execution
I cannot find the exact part of code leading to crash.

Reproduce code:
---------------
http://wackowiki.com/files/wacko.r4.zip

Expected result:
----------------
WackoWiki good working for me.

Actual result:
--------------
(gdb) run -X
Starting program: /usr/local/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x2828df02 in shutdown_memory_manager (silent=0, clean_cache=0) at
/usr/ports/lang/php4/work/php-4.3.10/Zend/zend_alloc.c:491
491                                     REMOVE_POINTER_FROM_LIST(ptr);
(gdb) p t
$1 = (zend_mem_header *) 0xbfbfad74
(gdb) bt
#0  0x2828df02 in shutdown_memory_manager (silent=0, clean_cache=0)
    at /usr/ports/lang/php4/work/php-4.3.10/Zend/zend_alloc.c:491
#1  0x28272ff9 in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php4/work/php-4.3.10/main/main.c:1003
#2  0x282b78ad in apache_php_module_main (r=0x8125304,
display_source_mode=0)
    at /usr/ports/lang/php4/work/php-4.3.10/sapi/apache/sapi_apache.c:60
#3  0x282b8468 in send_php (r=0x8125304, display_source_mode=0,
filename=0x0)
    at /usr/ports/lang/php4/work/php-4.3.10/sapi/apache/mod_php4.c:621
#4  0x282b84c9 in send_parsed_php (r=0x8125304) at
/usr/ports/lang/php4/work/php-4.3.10/sapi/apache/mod_php4.c:636
#5  0x8051fac in ap_invoke_handler (r=0x8125304) at http_config.c:475
#6  0x8061d71 in process_request_internal (r=0x8125304) at
http_request.c:1298
#7  0x8062074 in ap_internal_redirect (new_uri=0x81252cc
"/wacko/wakka.php?wakka=SsylkiNaUpravlenieSajjtami", r=0x8122034)
    at http_request.c:1435
#8  0x281b5d19 in handler_redirect (r=0x8122034) at mod_rewrite.c:1590
#9  0x8051fac in ap_invoke_handler (r=0x8122034) at http_config.c:475
#10 0x8061d71 in process_request_internal (r=0x8122034) at
http_request.c:1298
#11 0x8061dd0 in ap_process_request (r=0x8122034) at http_request.c:1314
#12 0x805b19a in child_main (child_num_arg=0) at http_main.c:4786
#13 0x805b30c in make_child (s=0x8084034, slot=0, now=1108460485) at
http_main.c:4901
#14 0x805b429 in startup_children (number_to_start=2) at http_main.c:4983
#15 0x805b97c in standalone_main (argc=2, argv=0xbfbffb84) at
http_main.c:5315
#16 0x805c063 in main (argc=2, argv=0xbfbffb84) at http_main.c:5657

-- 
Edit bug report at http://bugs.php.net/?id=31981&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31981&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31981&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31981&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31981&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31981&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31981&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31981&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31981&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31981&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31981&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31981&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31981&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31981&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31981&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31981&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31981&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31981&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31981&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31981&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31981&r=mysqlcfg

Reply via email to