From:             steve dot gilbreth at autodesk dot com
Operating system: Win 2000 SP4
PHP version:      4.3.9
PHP Bug Type:     Reproducible crash
Bug description:  get_current_user call crashes with Access Violation at 
01CE1DAD

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 bug report at http://bugs.php.net/?id=31421&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31421&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31421&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31421&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31421&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31421&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31421&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31421&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31421&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31421&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31421&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31421&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31421&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31421&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31421&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31421&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31421&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31421&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31421&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31421&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31421&r=mysqlcfg

Reply via email to