ID: 26223
User updated by: Xuefer at 21cn dot com
Reported By: Xuefer at 21cn dot com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: win
PHP Version: 4.3.4
New Comment:
Program received signal SIGSEGV, Segmentation fault.
0x100c00a4 in shutdown_memory_manager () from
/cygdrive/d/www/php4/php4ts.dll
(gdb) bt
#0 0x100c00a4 in shutdown_memory_manager ()
from /cygdrive/d/www/php4/php4ts.dll
#1 0x0012fd68 in ?? ()
#2 0x003e82b4 in ?? ()
#3 0x0012fe74 in ?? ()
#4 0x003e4248 in ?? ()
#5 0x10004276 in php_register_variable_ex ()
from /cygdrive/d/www/php4/php4ts.dll
Previous frame inner to this frame (corrupt stack?)
(gdb)
i'm using cygwin gdb to debug
but it is said:
"To get a backtrace with correct information you must have PHP
configured with --enable-debug!"
where can i get a debug built?
is the snapshot already with --enable-debug?
i've tested under linux and it does not crash
but under windows xp, updated to lastest snapshot still crash :(
what point am i missing?
Previous Comments:
------------------------------------------------------------------------
[2003-11-17 15:01:52] [EMAIL PROTECTED]
Also does not crash...
------------------------------------------------------------------------
[2003-11-14 00:09:21] Xuefer at 21cn dot com
sorry for my careless
it took me so much time to track down this problem
but i don't know if it'll still crash if php env(system+apache+php..)
changed
<?php
touch('./127.0.0.1.3.4.5.6');
file_exists('./127.0.0.1.3.4.5.6');
function n()
{
return true;
}
function write()
{
file_exists('Unknown');
}
session_set_save_handler ("n", "n", "n", "write", "n", "n");
session_start();
?>
------------------------------------------------------------------------
[2003-11-13 19:46:05] [EMAIL PROTECTED]
Make sure you do not have older PHP dlls anywhere on your system. I am
unable to replicate the crash using latest CVS on either windows on
linux.
------------------------------------------------------------------------
[2003-11-12 21:04:25] Xuefer at 21cn dot com
function n(){ }
function write() {
$b = $a;
return true;
}
session_set_save_handler ("n", "n", "n", "write", "n", "n");
session_start();
------------------------------------------------------------------------
[2003-11-12 12:55:52] [EMAIL PROTECTED]
Please supply a short script that can be used to replicate the problem.
------------------------------------------------------------------------
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/26223
--
Edit this bug report at http://bugs.php.net/?id=26223&edit=1