[pgpool-general: 5882] Re: Pgpool-3.7.1 segmentation fault

Philip Champon philip at adaptly.com
Wed Jan 24 07:08:32 JST 2018

Segfault details

# ulimit -c 1024000
# pgpool-a /etc/pgpool/pool_hba.conf -f /etc/pgpool/pgpool.conf -n -d 2>&1
| tee /tmp/log
... Connect to pgpool, using psql, generates segfault
# gdb /usr/local/bin/pgpool core
Reading symbols from /usr/local/bin/pgpool...done.
[New LWP 30559]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `pgpool: user staging localhost(58272) idle
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000042478d in select_load_balancing_node () at
1680                    char *database =
(gdb) backtrace
#0  0x000000000042478d in select_load_balancing_node () at
#1  0x000000000043ed9d in pool_init_session_context (frontend=<optimized
out>, backend=<optimized out>)
    at context/pool_session_context.c:97
#2  0x0000000000425872 in do_child (fds=0x1, fds at entry=0xe0fc70) at
#3  0x0000000000408b05 in fork_a_child (fds=0xe0fc70, id=1) at
#4  0x000000000040e223 in PgpoolMain (discard_status=1 '\001',
discard_status at entry=0 '\000',
    clear_memcache_oidmaps=clear_memcache_oidmaps at entry=0 '\000') at
#5  0x0000000000407202 in main (argc=<optimized out>, argv=<optimized out>)
at main/main.c:318
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20180123/be348ce2/attachment.html>

More information about the pgpool-general mailing list