ID: 31421 Updated by: [EMAIL PROTECTED] Reported By: steve dot gilbreth at autodesk dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Win 2000 SP4 PHP Version: 4.3.9 New Comment:
Yes, same bug. Fixed in CVS. And the fact that snapshot doesn't work for you is just an install error by you. Previous Comments: ------------------------------------------------------------------------ [2005-01-12 07:18:28] steve dot gilbreth at autodesk dot com Could this be related to Bug #30133 get_current_user crashes php-cgi.exe ?? ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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