[php-maint] Bug#496673: php5-pgsql / php-db segmentation fault
Vidar Hokstad
vidar at aardvarkmedia.co.uk
Tue Aug 26 16:23:47 UTC 2008
Package: php5-pgsql
Package: php-db
I'm getting segmentation faults on exit when using php-db with php5-
pgsql. I cut it down to the test script below.
The problem seems to appear on exit, but consistently appear when
connecting to a postgres database, and not when no database connection
is made.
Please let me know what additional information would be most useful to
you.
<?php
require_once("DB.php");
$db = DB::connect("pgsql://bay:[removed password]@db/bay");
echo "It gets here - the seg. fault seems to happen on exit\n";
?>
$ uname -a
Linux vidar 2.6.18-12-fza-amd64 #1 SMP Sun May 18 09:57:08 UTC 2008
i686 GNU/Linux
$ dpkg -l | grep -E '(php|postgres)'
ii libapache2-mod-php5 5.2.6-3
server-side, HTML-embedded scripting languag
ii php-db 1.7.13-2 PHP
PEAR Database Abstraction Layer
ii php-elisp 1.4.0-2
Emacs support for php files
ii php-mail 1.1.14-1 PHP
PEAR module for sending email
ii php-mail-mime 1.5.2-0.1 PHP
PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.0-3 PHP
PEAR module to decode MIME messages
ii php-net-smtp 1.3.1-1 PHP
PEAR module implementing SMTP protocol
ii php-net-socket 1.0.8-2 PHP
PEAR Network Socket Interface module
ii php-pear 5.2.6-3 PEAR
- PHP Extension and Application Reposit
ii php5 5.2.6-3
server-side, HTML-embedded scripting languag
ii php5-cli 5.2.6-3
command-line interpreter for the php5 script
ii php5-common 5.2.6-3
Common files for packages built from the php
ii php5-curl 5.2.6-3 CURL
module for php5
ii php5-pgsql 5.2.6-3
PostgreSQL module for php5
ii postgresql-client-8.1 8.1.11-0etch1
front-end programs for PostgreSQL 8.1
ii postgresql-client-common 90
manager for multiple PostgreSQL client versi
ii postgresql-common 90
PostgreSQL database-cluster manager
Regards,
Vidar Hokstad
More information about the pkg-php-maint
mailing list