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

From: Date: Thu, 30 Aug 2001 15:52:52 +0000
Subject: Bug #13062: session_unset() causes Apache child process to segfault
Groups: php.dev 
Request: Send a blank email to php-dev+get-64727@lists.php.net to get a copy of this message
From: mgriego@dalweb.net Operating system: RH7.1 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: session_unset() causes Apache child process to segfault 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 bug report at: http://bugs.php.net/?id=13062&edit=1

« previous php.dev (#64727) next »