Re: shutdown_memory_manager and resource handling
| From: | Justin Hannus | Date: | Thu, 14 Aug 2003 12:35:47 +0000 |
| Subject: | Re: shutdown_memory_manager and resource handling | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3927@lists.php.net to get a copy of this message | ||
"Rasmus Lerdorf" <rasmus@lerdorf.com> wrote in message
news:Pine.LNX.4.56.0308110753160.31632@thinkpad.lerdorf.com...
> Can't you get a line number and the actual address being accessed to cause
> that crash?
Here is a more detailed backtrace. In my original post I was using php-4.3.0
but the recompiled version with --enable-debug I'm using php-4.3.2 built
with cli sapi.
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90000f00 in strlen ()
(gdb) bt
#0 0x90000f00 in strlen ()
#1 0x000ff800 in format_converter (odp=0xbfffd630, fmt=0x18726d "s(%d)
: Freeing 0x%.8lX (%d bytes), script=%s\n", ap=0xbfffd6e8 "") at
/Users/m31/Documents/downloads/php-4.3.2/main/snprintf.c:720
#2 0x000ffea8 in strx_printv (ccp=0xbfffd6a0, buf=0xbfffd700 "",
len=512, format=0x18726c "%s(%d) : Freeing 0x%.8lX (%d bytes),
script=%s\n", ap=0xbfffd6e4 "") at
/Users/m31/Documents/downloads/php-4.3.2/main/snprintf.c:908
#3 0x000fff58 in ap_php_snprintf (buf=0xbfffd700 "", len=512,
format=0x18726c "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n") at
/Users/m31/Documents/downloads/php-4.3.2/main/snprintf.c:922
#4 0x000fb0d0 in php_message_handler_for_zend (message=4,
data=0x503030) at
/Users/m31/Documents/downloads/php-4.3.2/main/main.c:816
#5 0x0014a2a4 in zend_message_dispatcher (message=4, data=0x503030) at
/Users/m31/Documents/downloads/php-4.3.2/Zend/zend.c:665
#6 0x0012f174 in shutdown_memory_manager (silent=0, clean_cache=0) at
/Users/m31/Documents/downloads/php-4.3.2/Zend/zend_alloc.c:510
#7 0x000fb960 in php_request_shutdown (dummy=0x0) at
/Users/m31/Documents/downloads/php-4.3.2/main/main.c:992
#8 0x0016b4e4 in main (argc=3, argv=0xbffff82c) at
/Users/m31/Documents/downloads/php-4.3.2/sapi/cgi/cgi_main.c:1555
#9 0x00002734 in _start (argc=3, argv=0xbffff82c, envp=0xbffff83c) at
/SourceCache/Csu/Csu-45/crt.c:267
#10 0x000025b4 in start ()