#31421 [Opn]: get_current_user call crashes with Access Violation at 01CE1DAD
| From: | steve dot gilbreth at autodesk dot com | Date: | Wed, 12 Jan 2005 06:18:29 +0000 |
| Subject: | #31421 [Opn]: get_current_user call crashes with Access Violation at 01CE1DAD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71923@lists.php.net to get a copy of this message | ||
ID: 31421
User updated by: steve dot gilbreth at autodesk dot com
Reported By: steve dot gilbreth at autodesk dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Win 2000 SP4
PHP Version: 4.3.9
New Comment:
Could this be related to Bug #30133 get_current_user crashes
php-cgi.exe ??
Previous Comments:
------------------------------------------------------------------------
[2005-01-12 07:11:23] steve dot gilbreth at autodesk dot com
Tried to use http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
as new base C:/PHP directory. This causes all pages to fail with 404
File not found error. Same php.ini was used.
------------------------------------------------------------------------
[2005-01-10 21:29:31] tony2001@php.net
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
------------------------------------------------------------------------
[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