PHP 4.0 Bug #8099: Segmentation Fault when executing fopen()

From: Date: Mon, 04 Dec 2000 18:53:00 +0000
Subject: PHP 4.0 Bug #8099: Segmentation Fault when executing fopen()
Groups: php.dev 
Request: Send a blank email to php-dev+get-40021@lists.php.net to get a copy of this message
From: jeff@meta-craft.com Operating system: Debian Linux/Woody PHP version: 4.0.3pl1 PHP Bug Type: Reproduceable crash Bug description: Segmentation Fault when executing fopen() I've narrowed the code snipp down to this. $page = fopen("http://web.slashdot.org", "r"); ... fclose($page); it seems fopen() is causing a segfault, I've tried normal files on my filesystem, same crash. here's a backtrace #0 0x4011e717 in memcpy() from /lib/libc.so.6 #1 0x403a228b in _estrndup () from /usr/lib/apache/1.3/libphp4.so #2 0404226d1 in url_parse () from /usr/lib/apache/1.3.libphp4.so Machine Infomation: PII 300 128 meg ram Kernel: 2.4.0-test 5 php release php4.0.3-pl1 (debian release 7) apache 1.3.14 (debian release 1) libc6 2.2 (debian release 4) -- Edit Bug report at: http://bugs.php.net/?id=8099&edit=1

« previous php.dev (#40021) next »