#31849 [NEW]: get_current_user() still crashes on page refresh
| From: | info at cpgnuke dot com | Date: | Fri, 04 Feb 2005 21:54:16 +0000 |
| Subject: | #31849 [NEW]: get_current_user() still crashes on page refresh | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73487@lists.php.net to get a copy of this message | ||
From: info at cpgnuke dot com
Operating system: Windows xp sp2
PHP version: 4.3.10
PHP Bug Type: Reproducible crash
Bug description: get_current_user() still crashes on page refresh
Description:
------------
A similar bug was reported and marked as fixed
http://bugs.php.net/bug.php?id=30133 and
http://bugs.php.net/bug.php?id=31421
But the bug still exists in a deeper level of PHP (running Apache 2.0.52)
We have our system using this function deeper inside and then it still
crashes on a page reload.
So in other words:
- go to index.php (no crash)
- refresh the page (apache crashes)
Somehow it only crashes on a reload
Reproduce code:
---------------
admin.php or index.php is called and includes the file
"includes/cmsinit.inc"
http://cpgnuke.com/cvs/html/admin.php?v=9.3#19
line 19
http://cpgnuke.com/cvs/html/index.php?v=9.1#47
line 47
cmsinit.inc includes a file "includes/classes/cpg_cache.php"
which contains the call to get_current_user() inside a class function
http://cpgnuke.com/cvs/html/includes/cmsinit.inc?v=9.7#147
line 147
http://cpgnuke.com/cvs/html/includes/classes/cpg_cache.php?v=9.3#56
line
56
Expected result:
----------------
set the define()
Actual result:
--------------
Apache crashes
--
Edit bug report at http://bugs.php.net/?id=31849&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31849&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31849&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31849&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31849&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31849&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31849&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31849&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31849&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31849&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31849&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31849&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31849&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31849&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31849&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31849&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31849&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31849&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31849&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31849&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31849&r=mysqlcfg