#43823 [Opn->Fbk]: Segmentation fault at end of script

From: Date: Sat, 12 Jan 2008 15:25:06 +0000
Subject: #43823 [Opn->Fbk]: Segmentation fault at end of script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121215@lists.php.net to get a copy of this message
ID: 43823 Updated by: tony2001@php.net Reported By: andreas dot meinl at gmx dot de -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Ubuntu 7.10, AMD64 PHP Version: 5.2.5 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2008-01-11 21:17:35] andreas dot meinl at gmx dot de Description: ------------ When I use PDO to connect to my PostgreSQL database, I get a segmentation fault at the end of my PHP script. Ubuntu 7.10, AMD64, PHP 5.2.3, PostgreSQL 8.2.5 Reproduce code: --------------- <?php $hostname = 'localhost'; $dbname = 'xxx'; $username = 'xxx'; $password = 'xxx'; $db = new PDO('pgsql:host=' . $hostname . ';dbname=' . $dbname, $username, $password); ?> Expected result: ---------------- I expect nothing, no single line of text. Actual result: -------------- am@localhost:/tmp$ php ./test.php Segmentation fault (core dumped) am@localhost:/tmp$ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43823&edit=1

« previous php.bugs (#121215) next »