ID:               31849
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at cpgnuke dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows xp sp2
-PHP Version:      4.3.10
+PHP Version:      4CVS-2005-02-05
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2005-02-05 18:46:49] info at cpgnuke dot com

The issue still exists

------------------------------------------------------------------------

[2005-02-05 02:07:46] [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-02-04 23:16:25] info at cpgnuke dot com

the class function is called like:
Cache::array_load('MAIN_CFG');

As seen in cmsinit.inc line 155

------------------------------------------------------------------------

[2005-02-04 22:54:16] info at cpgnuke dot com

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 this bug report at http://bugs.php.net/?id=31849&edit=1

Reply via email to