#31421 [Opn->Fbk]: get_current_user call crashes with Access Violation at 01CE1DAD
| From: | tony2001@php.net | Date: | Mon, 10 Jan 2005 20:29:32 +0000 |
| Subject: | #31421 [Opn->Fbk]: get_current_user call crashes with Access Violation at 01CE1DAD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71768@lists.php.net to get a copy of this message | ||
ID: 31421
Updated by: tony2001@php.net
Reported By: steve dot gilbreth at autodesk dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Win 2000 SP4
PHP Version: 4.3.9
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-01-05 23:50:03] steve dot gilbreth at autodesk dot com
Description:
------------
Call to get_current_user crashes when page is refreshed. I have to
restart IIS 5.0 and the call will work 1st time only. If I refresh the
page then ...ka-boom!
Reproduce code:
---------------
<?php
echo "<html>
<head>
<title>test</title>
</head>
<body>";
echo "DEBUG: before call to get_current_user ...";
$cu = get_current_user();
echo "<br>DEBUG: after call. $cu";
echo "</body>
</html>";
?>
Expected result:
----------------
DEBUG: before call to get_current_user ...
DEBUG: after call. userXX
Actual result:
--------------
PHP has encountered an Access Violation at 02271DAD DEBUG: before call
to get_current_user ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31421&edit=1