Bug #13062 Updated: session_unset() causes Apache child process to segfault

From: Date: Sun, 25 Nov 2001 00:48:19 +0000
Subject: Bug #13062 Updated: session_unset() causes Apache child process to segfault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71568@lists.php.net to get a copy of this message
ID: 13062 Updated by: sniper Reported By: mgriego@dalweb.net Old Status: Open Status: Closed Bug Type: Session related Operating System: RH7.1 PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2001-08-30 11:52:52] mgriego@dalweb.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. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13062&edit=1

« previous php.dev (#71568) next »