Re: Ack, #1449 is real
| From: | Timothy Whitfield | Date: | Tue, 25 May 1999 04:07:13 +0000 |
| Subject: | Re: Ack, #1449 is real | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5976@lists.php.net to get a copy of this message | ||
This should help.
Through testing I have found that a file under 128 characters will say, "File
not found.", but anything over 127 will segfault.
On Tue, 25 May 1999, you 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?
>
> On Linux I get the super useful output of:
>
> Starting program: /home/rasmus/php3/./php e
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0 in ?? ()
> (gdb) bt
> #0 0x0 in ?? ()
> (gdb)
>
> And on Solaris, I get the slightly better, but still quite useless:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x3d3e8 in php3_fopen_wrapper (path=0x0, mode=0x0, options=0, issock=0x0,
> socketd=0xefffcaa8)
> at fopen-wrappers.c:235
> 235 }
> (gdb) bt
> #0 0x3d3e8 in php3_fopen_wrapper (path=0x0, mode=0x0, options=0,
> issock=0x0, socketd=0xefffcaa8)
> at fopen-wrappers.c:235
> Cannot access memory at address 0x38.
>
> -Rasmus
>
>
> --
> PHP Development Mailing List http://www.php.net/
> To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
> For help: php-dev-help@lists.php.net
--
Timothy Whitfield
AMC Internet Services
American Metrocomm Corporation
Phone 228-872-0003
Fax 228-435-4388
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net