On Tue, Sep 21, 2010 at 8:08 PM, Tatsuo Ishii <is...@postgresql.org> wrote:
> Unfortunately the gdb backtrace does not show enough information > because of optimization, I guess. Can you take a backtrace with > optimization disabled binary? > > You can obtain this by editing Makefile around line 147. > > I edited configure and change every instance of -O2 to -O for postgres and pgpool and added --enable-debug. Here's the new backtrace: (gdb) bt #0 0xb75fc346 in ?? () from /lib/tls/i686/nosegneg/libc.so.6 #1 0x0805f342 in pool_flush (cp=0x3) at pool_stream.c:486 #2 0x08052e7b in pool_do_auth (frontend=0x946b778, cp=0x0) at pool_auth.c:222 #3 0x080509a9 in connect_backend (unix_fd=4, inet_fd=5) at child.c:1143 #4 do_child (unix_fd=4, inet_fd=5) at child.c:293 #5 0x0804bbdf in fork_a_child (unix_fd=4, inet_fd=5, id=<value optimized out>) at main.c:1024 #6 0x0804ddef in main (argc=3, argv=0xbfaad2d4) at main.c:514