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

From: Date: Sun, 31 Dec 2000 00:35:30 +0000
Subject: PHP 4.0 Bug #8099 Updated: Segmentation Fault when executing fopen()
Groups: php.dev 
Request: Send a blank email to php-dev+get-42639@lists.php.net to get a copy of this message
ID: 8099 Updated by: sniper Reported By: jeff@meta-craft.com Old-Status: Feedback Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: No feedback. And I can not reproduce this. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-05 08:33:36] sniper@php.net Could you please try the latest snapshot from http://snaps.php.net/ to check if this is fixed already. And to get useful backtraces you must configure PHP with --enable-debug --Jani --------------------------------------------------------------------------- [2000-12-04 13:53:00] jeff@meta-craft.com 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) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8099

« previous php.dev (#42639) next »