ID: 30147 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback -Bug Type: Zend Engine 2 problem +Bug Type: SQLite related Operating System: Free BSD PHP Version: 5CVS-2004-09-19 (dev) New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-09-26 01:12:33] [EMAIL PROTECTED] David mentioned this on irc, so I felt I needed to try it immediately on my local installation: Windows XP Home running php5.01 as an Apache2 (2.0.49) module. What is needed to duplicate this is a simple php and a sqlite database. I have zipped them and they are available here: http://thesaur.dotgeek.org/bug30147.zip Here's a screenshot of the output: http://thesaur.dotgeek.org/bug30147.gif It seems to be limited to when the secondary page contains code that is not E_STRICT compliant, as noted already. Indeed it seems that a class declaration is required (this was tested). ------------------------------------------------------------------------ [2004-09-25 16:47:09] [EMAIL PROTECTED] In response to the screenshot I just posted, common.php:120 is the following: include($phpbb_root_path . 'includes/template.'.$phpEx); ------------------------------------------------------------------------ [2004-09-25 16:47:07] jordanf at dotgeek dot org I get these same errors also -- on pages not related to SQLite at all. http://jordanf.dotgeek.org/files/bug1.jpg http://jordanf.dotgeek.org/files/bug2.png ------------------------------------------------------------------------ [2004-09-25 16:40:35] [EMAIL PROTECTED] I can confirm this happening on the dotgeek.org servers (see http://www.compasstools.net/images/bug30147.png). The lines on which the errors have occurred are, again, seemingly random. Line 120 of index.php is a blank line. ------------------------------------------------------------------------ [2004-09-25 03:48:58] [EMAIL PROTECTED] Okay, I found a way to reproduce this behavior. In one of your browsers tabs please load http://www.dotgeek.org/php5crash/DBCsample.php for a couple of times or more. on another tab load this page http://dotgeek.org/forums/ which uses PHP 4 code (working fine on PHP5 under non E_STRICT setting). Now, if you load for a while both pages, first and second (sorry it might sounds crazy, but as a random bug, it is kinda hard to reproduce) you will see the PHP 4 code page (this happens with PHP5 code too but somehow was easier to reproduce with a PHP 4 code) crashing as per this image http://www.dotgeek.org/php5crash/bug.jpg note that the files on /forums/ do not use Sqlite but the page dies for an uncaught SqliteException. Once the crash occurs, it will appear randomly on several different pages, the only similarity is the stacktrace #0. Let me know if I can be of any further assistance. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30147 -- Edit this bug report at http://bugs.php.net/?id=30147&edit=1