php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13062 session_unset() causes Apache child process to segfault
Submitted: 2001-08-30 11:52 UTC Modified: 2001-11-24 19:48 UTC
From: mgriego at dalweb dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.6 OS: RH7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mgriego at dalweb dot net
New email:
PHP Version: OS:

 

 [2001-08-30 11:52 UTC] mgriego at dalweb dot net
When using session_unset on a page where no session variables have been set, session_unset causes the apache child process to segfault.  I'm using Apache 1.3.20 with PHP 4.0.6.  I've taken out the session_unset call and am just using session_destroy now, but I would think that session_unset should gracefully return even if there are no set session variables.  It seems to do this even on a page where I just set the session variables, and they haven't been saved yet. (IE, start a new session, register a session variable, then call session_unset all on the same page causes segfault).

My PHP configure looks like this:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-calendar --enable-ftp --with-gd --with-imap --with-kerberos --with-imap-ssl --with-ldap --with-mysql --with-pgsql --with-mm --enable-sockets --enable-sysvshm --enable-wddx

I'm using the MM session handler instead of files.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-24 19:48 UTC] sniper@php.net
Can not reproduce with latest CVS.
Please reopen if you have the problem with
latest RC from:

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz



 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 13:01:33 2024 UTC