Skip site navigation (1) Skip section navigation (2)

Re: R: R: R: BUG #6342: libpq blocks forever in "poll" function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrea Grassi" <andreagrassi(at)sogeasoft(dot)com>
Cc: harrywr2(at)comcast(dot)net, "'Craig Ringer'" <ringerc(at)ringerc(dot)id(dot)au>, "'Pg Bugs'" <pgsql-bugs(at)postgresql(dot)org>, "'Alvaro Herrera'" <alvherre(at)commandprompt(dot)com>
Subject: Re: R: R: R: BUG #6342: libpq blocks forever in "poll" function
Date: 2011-12-20 16:38:23
Message-ID: 20092.1324399103@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Andrea Grassi" <andreagrassi(at)sogeasoft(dot)com> writes:
> #0  0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1  0xf76539cb in poll () from /lib/libc.so..
> #2  0xf770d39a in pqSocketCheck () from /home/pg/pgsql/lib-32/libpq.so.5 
> #3  0xf770d49d in pqWaitTimed () from /home/pg/pgsql/lib-32/libpq.so.5 
> #4  0xf770d513 in pqWait () from /home/pg/pgsql/lib-32/libpq.so.5 
> #5  0xf770c6d6 in PQgetResult () from /home/pg/pgsql/lib-32/libpq.so.5 
> #6  0xf770c89c in PQexecFinish () from /home/pg/pgsql/lib-32/libpq.so.5 

What about a stack trace from the connected server process?  libpq
clearly thinks it's waiting for a message from the server, but I wonder
what the server thinks.  Also, what connection status does netstat
show on each side?

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Andrea GrassiDate: 2011-12-20 17:28:31
Subject: R: R: R: R: BUG #6342: libpq blocks forever in "poll" function
Previous:From: Andrea GrassiDate: 2011-12-20 16:28:46
Subject: R: R: R: BUG #6342: libpq blocks forever in "poll" function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group