Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11940 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12757 invoked by uid 1010); 5 Aug 2004 14:46:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10164 invoked by uid 1007); 5 Aug 2004 14:45:34 -0000 Message-ID: <20040805144534.10162.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 05 Aug 2004 15:44:32 +0100 User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20040805142135.90691.qmail@pb1.pair.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.5.118.146 Subject: Re: [PHP-DEV] Re: emalloc and friends From: scottmacvicar@ntlworld.com (Scott MacVicar) Hi, That previous bt was incorrect it was a pcre bug I was looking at. I applied both patches you attached to your initial message. I used php -r 'phpinfo();' to get the following bt #0 0x420738f3 in free () from /lib/tls/libc.so.6 (gdb) bt #0 0x420738f3 in free () from /lib/tls/libc.so.6 #1 0x0814c037 in php_stdiop_close (stream=0x8242d14, close_handle=0) at /usr/local/src/php-4.3.8/main/streams.c:1521 #2 0x08149abe in _php_stream_free (stream=0x8242d14, close_options=7) at /usr/local/src/php-4.3.8/main/streams.c:349 #3 0x0814d580 in _php_stream_cast (stream=0x8242d14, castas=1, ret=0xbfffc18c, show_err=8) at /usr/local/src/php-4.3.8/main/streams.c:2296 #4 0x0814e607 in _php_stream_open_wrapper_as_file_handle (path=0x823d050 "./global.php", mode=0x81a6883 "rb", options=141, fh=0xbfffc180, __php_stream_call_depth=0, __zend_filename=0x81a6820 "/usr/local/src/php-4.3.8/main/main.c", __zend_lineno=772, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/local/src/php-4.3.8/main/streams.c:2770 #5 0x0813dc62 in php_open_wrapper_for_zend (filename=0x823d050 "./global.php", fh=0xbfffc180) at /usr/local/src/php-4.3.8/main/main.c:772 regards, Scott Derick Rethans wrote: > On Thu, 5 Aug 2004, Scott MacVicar wrote: > > >>Hi, >> >>I patched a fresh 4.3.8 and I end up with the following bt after >>applying the patch. > > > Which patch did you apply and what was the script you used? > > Derick