#30282 [Csd->Fbk]: Setting session.serialize_handler to none in apache config segfaults PHP

From: Date: Thu, 30 Sep 2004 08:02:09 +0000
Subject: #30282 [Csd->Fbk]: Setting session.serialize_handler to none in apache config segfaults PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66921@lists.php.net to get a copy of this message
ID: 30282 Updated by: derick@php.net Reported By: daniele at orlandi dot com -Status: Closed +Status: Feedback Bug Type: Apache2 related Operating System: SuSE Linux 9.1 PHP Version: 4.3.9 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-09-30 10:02:03] derick@php.net Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php ------------------------------------------------------------------------ [2004-09-29 23:29:12] daniele at orlandi dot com Description: ------------ This is an almost cosmetic issue. I incorrectly put "none" in apache's configuration file for session.serialize_handler. Starting the session, PHP segfaults; it may be a missing NULL check. php_value session.serialize_handler none [pid 31996] open("/tmp/sess_de475dfe390c0d01f35536633634db4a", O_RDWR|O_CREAT, 0600) = 28 [pid 31996] flock(28, LOCK_EX) = 0 [pid 31996] fcntl64(28, F_SETFD, FD_CLOEXEC) = 0 [pid 31996] fstat64(28, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 [pid 31996] pread(28, "", 0, 0) [pid 31996] --- SIGSEGV (Segmentation fault) @ 0 (0) --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30282&edit=1

« previous php.bugs (#66921) next »