#16044 [Dup->Fbk]: crashing apparently in session module

From: Date: Sat, 24 Aug 2002 02:37:27 +0000
Subject: #16044 [Dup->Fbk]: crashing apparently in session module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17734@lists.php.net to get a copy of this message
ID: 16044 Updated by: sniper@php.net Reported By: eblade@blackmagik.dynup.net -Status: Duplicate +Status: Feedback Bug Type: Session related Operating System: Linux 2.4.7 PHP Version: 4.1.2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-04-02 08:58:34] yohgaki@php.net I actually read your code now. You should return string type from read function _always_. It's well known session bug, though. Duplicate of #14529. ------------------------------------------------------------------------ [2002-04-02 08:53:53] yohgaki@php.net I actually read your code now. You should return string type from read function _always_. It's well known session bug, though. Duplicate of #14529. ------------------------------------------------------------------------ [2002-03-21 16:40:00] eblade@blackmagik.dynup.net backtrace as follows (this looks strange to me.. i did compile with --enable-debug though..): Program received signal SIGSEGV, Segmentation fault. zend_hash_add_or_update (ht=0x40506514, arKey=0x80f96e8 "?\226\017\b\b\227\017\b\f", nKeyLength=135239400, pData=0xbfffee7c, nDataSize=4, pDest=0x0, flag=2) at zend_hash.h:197 197 h ^= (ulong) *arKey++; (gdb) Continuing. Cannot find user-level thread for LWP 8505: generic error (gdb) bt #0 zend_hash_add_or_update (ht=Error accessing memory address 0xbfffee50: No such process. ) at zend_hash.h:197 Error accessing memory address 0x4042901c: No such process. ------------------------------------------------------------------------ [2002-03-19 05:07:06] yohgaki@php.net To properly diagnose this bug, 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". ------------------------------------------------------------------------ [2002-03-13 12:24:49] eblade@blackmagik.dynup.net db_request() just sends whatever string to the sql database, and db_single() returns a single result from a specified query, if that helps. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16044 -- Edit this bug report at http://bugs.php.net/?id=16044&edit=1

« previous php.bugs (#17734) next »