On Thu, Aug 14, 2003 at 08:35:47AM -0400, Justin Hannus wrote:
> 
> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > 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.

    do you use any shared php extensions by any chance?

    thies


> 
> 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 ()
> 
> 
> 
> 
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Thies C. Arntzen   -   Looking for all sorts of freelance work  -   just ask..
                  http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to