Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3928 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94673 invoked from network); 14 Aug 2003 12:57:36 -0000 Received: from unknown (HELO thiesos.org) (213.39.146.3) by pb1.pair.com with SMTP; 14 Aug 2003 12:57:36 -0000 Received: by thiesos.org (Postfix, from userid 1000) id 4A01C5579C; Thu, 14 Aug 2003 14:57:22 +0200 (CEST) Date: Thu, 14 Aug 2003 14:57:22 +0200 To: Justin Hannus Cc: internals@lists.php.net Message-ID: <20030814125722.GB19042@schnuffel.thieso.net> References: <20030811144253.68324.qmail@pb1.pair.com> <20030814124750.83798.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20030814124750.83798.qmail@pb1.pair.com> User-Agent: Mutt/1.5.4i Subject: Re: [PHP-DEV] shutdown_memory_manager and resource handling From: thies@thiesos.org ("Thies C. Arntzen") On Thu, Aug 14, 2003 at 08:35:47AM -0400, Justin Hannus wrote: > > "Rasmus Lerdorf" 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. 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