#33311 [Opn]: PDO/ PgSQL-Driver crashes Apache

From: Date: Sat, 11 Jun 2005 12:48:47 +0000
Subject: #33311 [Opn]: PDO/ PgSQL-Driver crashes Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80147@lists.php.net to get a copy of this message
ID: 33311 User updated by: martin dot stricker at rz dot hu-berlin dot de Reported By: martin dot stricker at rz dot hu-berlin dot de Status: Open Bug Type: PDO related Operating System: OS X 10.4.1 PHP Version: 5CVS-2005-06-11 (dev) New Comment: Bug concerns 5.1beta1 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#80147) next »