PHP 4.0 Bug #6575 Updated: httpd segfaults when accessing pgsql database which isn't running

From: Date: Sun, 10 Sep 2000 14:25:32 +0000
Subject: PHP 4.0 Bug #6575 Updated: httpd segfaults when accessing pgsql database which isn't running
Groups: php.dev 
Request: Send a blank email to php-dev+get-32821@lists.php.net to get a copy of this message
ID: 6575 Updated by: jah Reported By: larsch@cs.auc.dk Status: Closed Bug Type: PostgreSQL related Assigned To: Comments: I've got a very strong hunch that the segfault happened actually when you were trying to use a non-existent connection, not in the connection phase itself. This could happen in 4.0.1pl2 and is fixed in 4.0.2. Please upgrade and re-open if there is still a problem. Shouldn't, I can't verify this happening anymore. Previous Comments: --------------------------------------------------------------------------- [2000-09-06 08:01:14] larsch@cs.auc.dk If postmaster isn't running on the server, the http daemon segfaults when trying to access the db it using pg_connect(); I used the postgresql rpms available from www.postgresql.org. The psql binary from the postgresql dist. does not segfault when trying to open a connection to a server that does not exists, so i figure the problem must be somewhere in the php module. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6575

« previous php.dev (#32821) next »