php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6575 httpd segfaults when accessing pgsql database which isn't running
Submitted: 2000-09-06 08:01 UTC Modified: 2000-09-10 10:25 UTC
From: larsch at cs dot auc dot dk Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.1pl2 OS: Redhat 6.2/Linux-2.2.17
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: larsch at cs dot auc dot dk
New email:
PHP Version: OS:

 

 [2000-09-06 08:01 UTC] larsch at cs dot auc dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-10 10:25 UTC] jah@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 18:01:35 2024 UTC