Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83799 invoked by uid 1007); 14 Aug 2003 12:47:50 -0000 Message-ID: <20030814124750.83798.qmail@pb1.pair.com> To: internals@lists.php.net Reply-To: "Justin Hannus" References: <20030811144253.68324.qmail@pb1.pair.com> Date: Thu, 14 Aug 2003 08:35:47 -0400 Lines: 41 Organization: vci X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Posted-By: 63.76.208.30 Subject: Re: [PHP-DEV] shutdown_memory_manager and resource handling From: jhannus@visualconceptsinc.com ("Justin Hannus") "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. 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 ()