|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38253 PDO crashes apache
Submitted: 2006-07-29 18:10 UTC Modified: 2006-07-30 11:20 UTC
From: stochnagara at hotmail dot com Assigned:
Status: Closed Package: PDO related
PHP Version: 5.2.0RC1 OS: windows xp
Private report: No CVE-ID: None
 [2006-07-29 18:10 UTC] stochnagara at hotmail dot com
PDO crashes apache when I use the new

Reproduce code:

$pdo = new PDO ('sqlite::memory:');

$pdo->exec ("create table test (id integer primary key, n text)");
$pdo->exec ("INSERT INTO test (n) VALUES ('hi')");

$stmt = $pdo->prepare ("SELECT * FROM test");

Expected result:
some error message

Actual result:
apache crashes


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-29 18:25 UTC] stochnagara at hotmail dot com
Same applies to this:

 [2006-07-29 21:04 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read for *NIX and for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2006-07-30 05:06 UTC] stochnagara at hotmail dot com
Sorry, but I don't have Visual Studio installed and thus I cannot provide you a backtrace.
 [2006-07-30 11:20 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 20:01:23 2020 UTC