Re: [PHP-DEV] Ack, #1449 is real From: Jouni Ahto (jah <email protected>)
Date: 05/25/99

On Tue, 25 May 1999, Rasmus Lerdorf wrote:

> I have reproduced bug #1449 even in the current CVS. It causes my gdb to
> freak out as well on both Linux and Solaris so I am having a problem
> getting a start on fixing it. Could someone try this script:
>
> <?
> $location = "http://www.lerdorf.on.ca/index.php3";
> $arr = file ("$location");
> ?>
>
> and send me a gdb backtrace if you are able to get one?

(gdb) run -f bug.php3
Starting program: /usr/home/staff/jah/php3/php -f bug.php3

Program received signal SIGSEGV, Segmentation fault.
0x8091406 in free_url (theurl=0x0) at functions/url.c:58
58 if (theurl->scheme)
(gdb) bt
#0 0x8091406 in free_url (theurl=0x0) at functions/url.c:58
#1 0x8069e59 in php3_fopen_url_wrapper (path=0x0, mode=0x0, options=0,
    issock=0x0, socketd=0xbfffca00) at fopen-wrappers.c:634

(Strange... why did I get backtrace when others do not?)

Jouni Ahto

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>