Bug 2751 - fclose() crashs mod_php3
fclose() crashs mod_php3
Status: CLOSED CURRENTRELEASE
Product: Red Hat Raw Hide
Classification: Retired
Component: mod_php3 (Show other bugs)
1.0
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-11 21:07 EDT by Jay Freeman
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-26 11:51:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jay Freeman 1999-05-11 21:07:52 EDT
When running the following script:

<?
$fh = fopen( 'myfile', 'w' );
fwrite( $fh, 'ttt', 3 );
fclose( $fh );
?>TTT

:the file is updated, but no data is returned to the client,
and the following error message is logged to apache's main
error log:

[Tue May 11 20:04:25 1999] [notice] child pid 24123 exit
signal Segmentation fault (11)

If the fclose() line is commented out, it executes
without error and sends "TTT" to the client.

(I've never used PHP3 before today, so I might have totally
missed something, found this while trying to get IMP (a
webbased IMAP client written in PHP3) to work.)
Comment 1 Jay Freeman 1999-05-23 11:10:59 EDT
PHP 3.0.8 was just released yesterday which includes "a number of bug
fixes, including glibc-2.1 related issues that caused previous
versions not to work with RedHat 6.0." :)
Comment 2 Preston Brown 1999-05-26 11:45:59 EDT
There will shortly be a update RPM of PHP 3.0.8 available for Red Hat
Linux 6.0 which will fix this and other issues.

Note You need to log in before you can comment on or make changes to this bug.