From: | "Karsten Desler" <pgsql(at)soohrt(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1736: endless loop in PQconnectdb |
Date: | 2005-06-28 15:39:49 |
Message-ID: | 20050628153949.8AAAFF0AC8@svr2.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1736
Logged by: Karsten Desler
Email address: pgsql(at)soohrt(dot)org
PostgreSQL version: 7.4.7
Operating system: debian sarge
Description: endless loop in PQconnectdb
Details:
I've got a pretty flaky tcpip connection to a Postgres 7.4.7 database server
and often times (once or twice a day) my program gets stuck in an endless
busy-loop in PGconnectdb.
An excerpt from a strace:
poll([{fd=389, events=POLLIN|POLLERR, revents=POLLIN|POLLERR|POLLHUP}], 1,
-1) = 1
recv(389, "", 1, 0) = 0
poll([{fd=389, events=POLLIN|POLLERR, revents=POLLIN|POLLERR|POLLHUP}], 1,
-1) = 1
recv(389, "", 1, 0) = 0
...
SSL is not involved. Sadly I can't say how far along in the connection
process the bug is triggered, but I could install a libpq3 with debugging
symbols and add a few strategically placed gdb watch/break points, if
needed.
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2005-06-28 16:59:51 | Re: row number -1 is out of range 0..-1 |
Previous Message | Tom Lane | 2005-06-28 14:41:08 | Re: row number -1 is out of range 0..-1 |