ID: 37111
User updated by: haakonsk at gmail dot com
Reported By: haakonsk at gmail dot com
-Status: No Feedback
+Status: Open
Bug Type: Session related
Operating System: Windows XP
PHP Version: 5.1.2
New Comment:
I haven't been able to generate the backtrace (need help/directions).
This problem is also present with PHP5.1.3.
Complete code example (result: apache crashes):
<?php
session_set_save_handler('sess_open',
'sess_close',
'sess_read',
'sess_write',
'sess_destroy',
'sess_gc');
session_start();
print_r($_SESSION);
$_SESSION['test'] = 2;
function sess_open($sess_path, $sess_name)
{
return true;
}
function sess_close()
{
return true;
}
function sess_read($id)
{
return true;
}
function sess_write($id, $sess_data)
{
$year = strftime("%Y");
return true;
}
function sess_destroy($id)
{
return true;
}
function sess_gc($max_lifetime)
{
return true;
}
?>
Previous Comments:
------------------------------------------------------------------------
[2006-05-01 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-04-23 17:24:17] [EMAIL PROTECTED]
The debug pack is now accessible again.
Please provide the backtrace.
------------------------------------------------------------------------
[2006-04-17 20:05:23] haakonsk at gmail dot com
I can't download the debug pack, I get a 404 Not Found.
(http://snaps.php.net/win32/php5.1-dbgpack-win32-latest.zip)
------------------------------------------------------------------------
[2006-04-17 20:01:45] [EMAIL PROTECTED]
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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32
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.
------------------------------------------------------------------------
[2006-04-17 19:53:32] haakonsk at gmail dot com
Apache also crashes when getdate or date is called instead of strftime.
However, the "time" function does not cause Apache to crash.
------------------------------------------------------------------------
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/37111
--
Edit this bug report at http://bugs.php.net/?id=37111&edit=1