Latest CVS CGI (on linux) segfaults when using '-q' or '-f' on nonexistent file

From: Date: Fri, 20 Jul 2001 14:29:57 +0000
Subject: Latest CVS CGI (on linux) segfaults when using '-q' or '-f' on nonexistent file
Groups: php.dev 
Request: Send a blank email to php-dev+get-60402@lists.php.net to get a copy of this message
(gdb) run -f file_doesnt_exist
Starting program: /home/mfischer/php4/bin/php -f file_doesnt_exist
Unknown(0) : Fatal error - Unable to open file_doesnt_exist

Program received signal SIGSEGV, Segmentation fault.
0x4015a11f in getc () from /lib/libc.so.6
(gdb) bt
#0  0x4015a11f in getc () from /lib/libc.so.6
#1  0x0806cf7d in main (argc=3, argv=0xbffff524) at cgi_main.c:727
#2  0x4010d38b in __libc_start_main () from /lib/libc.so.6

Same with '-q'.

- Markus


Thread (3 messages)

« previous php.dev (#60402) next »