Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 2593 - httpd segfaults when reading from file using php3
httpd segfaults when reading from file using php3
Product: Red Hat Linux
Classification: Retired
Component: mod_php3 (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: David Lawrence
: 3369 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-05-06 04:07 EDT by abu
Modified: 2008-05-01 11:37 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-27 16:42:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description abu 1999-05-06 04:07:48 EDT
There seems to be something very wrong with redhat 6.0's
version of mod_php3. perhaps the problem could be deeper
(like glibc for instance).The problem seems to manifest
itself when I try to access a file using fopen and
subsequently fgets on my php3 script. After a certain number
of fgets, the child process spawned by apache seems to die
off with a segmentation fault.

Here is how the bug can be reproduced:

When I run this script:


I check the log file and get this message in the apache
logfile /var/logs/httpd/error_log:

[Thu May  6 14:53:59 1999] [notice] child pid 2078 exit
signal Segmentation fault (11)

The user who clicks on the link:


would subsequently get a message saying "Document contains
no data".
Comment 1 whynot 1999-05-09 16:22:59 EDT
This also occurs on *fclose*. This is really serious and I don't see a
quick work-around :-(

This bug is also in the php3Bugdatabase at
Comment 2 whynot 1999-05-23 13:15:59 EDT
well, the announcement of PHP3.0.8 states that this bug is fixed. Now
if there is a rpm avaible any time soon this should be considered
Comment 3 whynot 1999-05-28 17:38:59 EDT
I just tested the new 3.0.8-1 RPM of mod_php3. It DOES NOT fix the bug
when used with the apache that comes with Redhat 6.0. So you still
need to fix that bug. I am suprised that there are not more people
complaining about this bug since it is quite important if you plan to
use RedHat 6.0 as a Webhosting-Platform
Comment 4 Preston Brown 1999-06-14 17:18:59 EDT
*** Bug 3369 has been marked as a duplicate of this bug. ***

The mod_php3 RPM from the errata is not really compiled with
postgresql support, as the errata info would lead one to
believe.  To enable postgresql support, the line in the SPEC
file "--with-postgresql" must be changed to

------- Additional Comments From bentonw@stolaf.edu  06/09/99 13:03 -------
rather, that should be "--with-pgsql", with no directory specified --
sorry, I spoke too soon

------- Additional Comments From jbj@redhat.com  06/10/99 11:09 -------

*** Bug 3384 has been marked as a duplicate of this bug. ***

The .spec file uses --with-postgresql.  It SHOULD read,
Comment 5 Preston Brown 1999-08-27 16:42:59 EDT
all of these php bugs have been fixed for the upcoming release.

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