#30147 [Opn]: Uncaught exception 'SQLiteException' appears randomly
| From: | nforbes@php.net | Date: | Sat, 25 Sep 2004 14:40:38 +0000 |
| Subject: | #30147 [Opn]: Uncaught exception 'SQLiteException' appears randomly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66679@lists.php.net to get a copy of this message | ||
ID: 30147
Updated by: nforbes@php.net
Reported By: gurugeek@php.net
Status: Open
Bug Type: Zend Engine 2 problem
Operating System: Free BSD
PHP Version: 5CVS-2004-09-19 (dev)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-09-25 03:48:58] gurugeek@php.net
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.
------------------------------------------------------------------------
[2004-09-19 00:42:27] gurugeek@php.net
Description:
------------
This is fairly odd. Randomly PHP 5 will throw and
SQLiteException in code which does not use sqlite code
at all, nor, as reported in the example below, uses $var
(and this server is not running with E_STRICT error
reporting).
sample error:
Fatal error: Uncaught exception 'SQLiteException' with
message 'var: Deprecated. Please use the public/private/
protected modifiers' in /usr/college/home/
public_html/tickets.php:3 Stack trace: #0 {main} thrown
in /usr/college/home/public_html/tickets.php on
line 3
This type of fatal error "Uncaught exception
'SQLiteException' " appears randomly so it is really
hard to reproduce. It has no ties with the code or the
line where the uncaught exception occurrs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30147&edit=1