ID: 33737 Updated by: [EMAIL PROTECTED] Reported By: leon at lost dot co dot nz -Status: Bogus +Status: Assigned Bug Type: PDO related Operating System: Linux 2.6 / Apache2 PHP Version: 5.1.0b2 -Assigned To: +Assigned To: wez New Comment:
Not the same as 33717; re-opening. Previous Comments: ------------------------------------------------------------------------ [2005-07-18 02:28:11] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #33717 ------------------------------------------------------------------------ [2005-07-18 01:31:49] leon at lost dot co dot nz Whew... All done... I've pared my script from > 1800 lines of PHP scattered accross 7 files to three lines in one file! Turns out to be a SQLite PDO problem... <?php $conn = new PDO('sqlite::memory:'); $sql = "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;"; $conn->query($sql); ?> This snippet causes PHP5.1b3 to segfault everytime (I'm using the bundled SQLite library). One of my other unit tests still throws up that corruption I talked about before, but I'll try to isolate that and submit a brand new bug report for that. ------------------------------------------------------------------------ [2005-07-18 00:39:46] leon at lost dot co dot nz Yahoo! I couldn't wait, and have already produced a single PHP file that segfaults the command line version of PHP-5.1b3 routinely. If you want it now let me know -- I'm currently just in the process of trying to whittle it down to it's essential elements... ------------------------------------------------------------------------ [2005-07-18 00:14:08] leon at lost dot co dot nz Okay, I understand. It's going to be tough -- I have objects creating other objects, dynamically including other class files, etc..., but I'll give it another crack tonight (New Zealand time). Cheers, Leon ------------------------------------------------------------------------ [2005-07-17 23:48:18] [EMAIL PROTECTED] 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. We really need a reproducable script... ------------------------------------------------------------------------ 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/33737 -- Edit this bug report at http://bugs.php.net/?id=33737&edit=1