Date: 05/25/99
- Next message: Bug Database: "[PHP-DEV] Bug #1442 Updated: make php failure (+mysql + apache)"
- Previous message: Danny Heijl: "RE: [PHP-DEV] Win32 3.0.8 distribution?? - sample setup"
- In reply to: Timothy Whitfield: "Re: [PHP-DEV] Ack, #1449 is real"
- Next in thread: Jouni Ahto: "Re: [PHP-DEV] Ack, #1449 is real"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php3_fopen_url_wrapper and friends tend to use quite a lot of static
arrays. This is most likely what's causing it to segfault when over 127.
Andi
At 23:07 24/05/99 -0500, Timothy Whitfield wrote:
>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 <email protected>
> > For help: php-dev-help <email protected>
>--
>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 <email protected>
>For help: php-dev-help <email protected>
--- Andi Gutmans <andi <email protected>> ICQ: 1568297-- 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>
- Next message: Bug Database: "[PHP-DEV] Bug #1442 Updated: make php failure (+mysql + apache)"
- Previous message: Danny Heijl: "RE: [PHP-DEV] Win32 3.0.8 distribution?? - sample setup"
- In reply to: Timothy Whitfield: "Re: [PHP-DEV] Ack, #1449 is real"
- Next in thread: Jouni Ahto: "Re: [PHP-DEV] Ack, #1449 is real"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

