#33311 [Opn->Fbk]: PDO/PgSQL-Driver crashes Apache
| From: | wez@php.net | Date: | Sat, 11 Jun 2005 14:46:49 +0000 |
| Subject: | #33311 [Opn->Fbk]: PDO/PgSQL-Driver crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80162@lists.php.net to get a copy of this message | ||
ID: 33311
Updated by: wez@php.net
Reported By: martin dot stricker at rz dot hu-berlin dot de
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: OS X 10.4.1
-PHP Version: 5CVS-2005-06-11 (dev)
+PHP Version: 5.1beta1
New Comment:
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
http://bugs.php.net/bugs-generating-backtrace.php
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.
Previous Comments:
------------------------------------------------------------------------
[2005-06-11 14:48:46] martin dot stricker at rz dot hu-berlin dot de
Bug concerns 5.1beta1
------------------------------------------------------------------------
[2005-06-11 14:45:34] martin dot stricker at rz dot hu-berlin dot de
Description:
------------
PgSQL-Driver crashes Apache when attempting to connect to
database-server, see Apache error-log:
[Sat Jun 11 14:37:27 2005] [notice] child pid 490 exit signal Bus error
(10)
PgSQL Version 7.4.6 / Apache 1.3.33
Reproduce code:
---------------
$dsn = "pgsql:host=localhost port=5432 dbname=xxxxx user=xxxxx
pass=xxxxx";
try {
$p =& new PDO($dsn);
} catch(PDOException $e) {
echo $e->getMessage() . "\n";
}
Expected result:
----------------
PDO-Object
Actual result:
--------------
Apache Bus error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33311&edit=1