From: | Rajmohan C <csrajmohan(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | unable to attach client process to postgresql server using gdb |
Date: | 2014-06-13 05:42:19 |
Message-ID: | CAHaqV0hHO8LH=NbJOdbAVauAV6rBzhVNrFgLf2sFbKQ-hjSEBA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
hi,
I am working with PostgreSQL 9.3.4 source using Eclipse IDE in ubuntu
14.04. I am facing a problem in attaching client process to postgresql
server using gdb to debug. When I start the postmaster then I connect to it
from client on a terminal. It works fine. Queries get responses. When I run
debug config from eclipse then select postgres process id from list I get
error saying
*Can't find a source file at
"/build/buildd/eglibc-2.19/socket/../sysdeps/unix/sysv/linux/x86_64/recv.c" *
*Locate the file or edit the source lookup path to include its location.*
After this when I send any query from client, it just stucks. No response
comes. After attaching gdb to client process, client does not get any
response from postgres server. One thing to note is that I was able to
debug properly till yesterday. But now it is not working. I tried
reinstalling but did not help. How could I fix this issue? Kindly help.
Rajmohan
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2014-06-13 06:16:21 | Re: postgresql.auto.conf read from wrong directory |
Previous Message | Tom Lane | 2014-06-13 04:28:46 | Re: lo_create(oid, bytea) breaks every extant release of libpq |