php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6026 httpd crashing when sessions in use
Submitted: 2000-08-08 13:38 UTC Modified: 2000-08-17 02:21 UTC
From: dylan at realcafes dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (08/08/2000) OS: Solaris 8 Generic_108529-01
Private report: No CVE-ID: None
 [2000-08-08 13:38 UTC] dylan at realcafes dot com
OK,

Under Solaris 8/Intel, PHP4.0.1pl2, and the latest CVS 
both exhibit the same behavior. Basically, you launch 
httpd (with PHP compiled in as a module, or running as 
a DSO, it doesn't matter), and try to reqest a page on a 
client machine.

It's about 50/50 that the page will display. If it _does_, 
all is well. If it doesn't, you get a "page cannot be 
displayed" error on the client, and on the server, a quick 
check of dmesg says that the httpd child has crashed.

Of course, the primary httpd stays running, but the child 
that was servicing your request dies completely. A new 
process is started and life goes on, but it's totally 
unacceptable to have to refresh your page a couple 
times to get PHP to work without crashing httpd.

I _have_ narrowed it down to PHP (or something it's 
calling), as this _DOES NOT_ happen when sessions 
are disabled.

Later,

Dylan

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 08:36 UTC] sniper@php.net
Please provide a minimal script which reproduces this crash.

--Jani
 [2000-08-17 02:21 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 22:00:01 2026 UTC