|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4846 Seg fault or write error if no vars registered
Submitted: 2000-06-06 23:35 UTC Modified: 2000-08-06 00:42 UTC
From: serge at globalbeach dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.0 Release OS: RH Linux 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 - 8 = ?
Subscribe to this entry?

 [2000-06-06 23:35 UTC] serge at globalbeach dot com

Strange behavior with sessions if you do a session_start() at two different instances without actually registering any variables then:

if you use the internal session handler files or mm you get
some sort of php write error when you run session_start() for the second time.

if you use an extrernal session handler you get a segmentation fault.

temp. fix is to regsiter at least one variable when you do the first session_start()



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 07:09 UTC]
Will test asap with new release
 [2000-08-06 00:42 UTC]
Could not reproduce. Please try a recent release of PHP.  If the error re-occurs, please submit a new bug report.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 21:03:37 2023 UTC