Re: Re: emalloc and friends

From: Date: Thu, 05 Aug 2004 14:44:32 +0000
Subject: Re: Re: emalloc and friends
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-11940@lists.php.net to get a copy of this message
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


« previous php.internals (#11940) next »