Mathieu Dube <mathieu_dube(at)videotron(dot)ca> writes:
> even after compiling with -g and using the libpq.a it still outputs that on the
> bt after the crash...
> (gdb) bt
> #0 0x40050768 in ?? ()
> #1 0x4004ff25 in ?? ()
> #2 0x804a3cd in main (argc=3, argv=0xbffff8e4) at therver.c:430
> #3 0x400739ee in ?? ()
So what's the code in and around line 430 of therver.c? Probably
you are looking at a crash in some libc routine, perhaps we can
guess which by seeing what was called.
regards, tom lane