Re: Ack, #1449 is real

From: Date: Tue, 25 May 1999 03:44:28 +0000
Subject: Re: Ack, #1449 is real
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-5974@lists.php.net to get a copy of this message
I tried, but I got the same garbage as you. I did notice though that it does not happen if the site is not there. =) But it does happen if the page is not there, so even the few little lines apache will pass back saying your page not found is too many. (without viewing the code) Seems like it would have something to do with the way memory is being allocated for the incoming data. Wonder what it would do on an empty file. Scratch that, on an empty file it says no such file or directory. Actually it says the same thing if there is one character in the file. Two lines in the file and it dies. Timothy 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

« previous php.dev (#5974) next »