ID: 39636
Updated by: [EMAIL PROTECTED]
Reported By: dj02 dot net at nbl dot fi
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP PRO SP2 (5.1.2600)
PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2006-11-29 15:47:19] dj02 dot net at nbl dot fi
-
------------------------------------------------------------------------
[2006-11-29 15:44:15] dj02 dot net at nbl dot fi
Didn't help.
Build: Nov 29 2006 12:17:35
Changed server to run PHP a CGI. Hope it doesn't crash anymore.
PHP crashes on the following code (in PHP 5.1 it didn't):
// -------------------------------------------- Kirjautumiseen
liittyvät ----------------------------------------
if (in_array("logout",$_operation)) // LogOut
{
timed_delete($bandb, $div, 4);
lock($db);
db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
unlock($db);
lock($sesdb);
db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
vanha sessiovarmistustunniste
unlock($sesdb);
lock($userfile);
$value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
time()); // asetetaan viimeisin käyntiaika
unlock($userfile);
setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
unset($_SESSION);
header("Location: " . $server_php_self .
"?loggedout=true$get_more");
exit;
}
------------------------------------------------------------------------
[2006-11-27 09:52:17] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-11-26 13:09:12] dj02 dot net at nbl dot fi
Description:
------------
PHP 5.2.0 crashes Apache 2.2.3 after long Online period.
Reproduce code:
---------------
http://www.dj02net.com/crashreports/
Expected result:
----------------
http://www.dj02net.com/crashreports/
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39636&edit=1