ID: 31468 User updated by: volker at puttrich dot net Reported By: volker at puttrich dot net Status: Open Bug Type: Reproducible crash Operating System: Win2k SP4 PHP Version: 5.0.2 New Comment:
Sorry, but I made a mistake when I was analyzing this bug. The crash will always happen as soon as the function "get_current_user()" is called. It doesn't have to do anything with the other functions I mentioned above. The problem I've had seemed to be Apache, which takes forever to restart on my machine. Therefore I got a little bit confused when commenting out certain lines of code. You may close this report if you wish to. I think there is another report regarding the crash with "get_current_user()" - maybe you should reopen it, if closed, since the bug is still there. Sorry again... Previous Comments: ------------------------------------------------------------------------ [2005-01-10 12:10:02] volker at puttrich dot net Description: ------------ Calling functions "getMyUid()" followed by "get_current_user()", or vice versa, crashes the following environment... Server software as reported by PHP: Apache/2.0.52 (Win32) mod_perl/1.99_16 Perl/v5.8.4 PHP/5.0.2 mod_ssl/2.0.52 OpenSSL/0.9.7d mod_python/3.1.3 Python/2.3.3 The OS used is Win2k SP4 including all available patches. NOTE: The crash also occurs when "get_current_user()" is used in combination with "getMyGid()", "getMyPid()" and probably other related functions. Reproduce code: --------------- <?php echo("Crash test<br />\n"); $sUser = get_current_user(); $nUID = getmyuid(); echo("Result, get_current_user(): ". $sUser ." / ". $nUID); ?> Expected result: ---------------- Crash test Result, get_current_user(): SYSTEM / 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31468&edit=1