<div dir="ltr">This is the coredump of the segmentation fault happened on proxy2-dev:<div><br></div><div><div>===================================================================================================</div></div><div>DEV root@proxy2-dev /v/l/s/coredump# gdb /usr/bin/pgpool /root/pgpool-coredumps/core.pgpool.26.e120553488834d47bff3c72a21a9bba1.694540.1646129274000000<br>GNU gdb (GDB) Red Hat Enterprise Linux 8.2-16.el8<br>Copyright (C) 2018 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>Type "show copying" and "show warranty" for details.<br>This GDB was configured as "x86_64-redhat-linux-gnu".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>.<br>Find the GDB manual and other documentation resources online at:<br>    <<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>>.<br><br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>Reading symbols from /usr/bin/pgpool...Reading symbols from /usr/lib/debug/usr/bin/pgpool-4.2.5-1pgdg.rhel8.x86_64.debug...done.<br>done.<br><br>warning: Can't open file (null) during file-backed mapping note processing<br>[New LWP 694540]<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib64/libthread_db.so.1".<br>Core was generated by `pgpool: watchdog                                '.<br>Program terminated with signal SIGSEGV, Segmentation fault.<br>#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120<br>120           movdqu  (%rax), %xmm4<br></div><div><div>===================================================================================================</div><br class="gmail-Apple-interchange-newline"></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 1 mar 2022 alle ore 17:39 shacky <<a href="mailto:shacky83@gmail.com">shacky83@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I am experiencing many segfaults on PgPool-II 4.2.7 installed on two different environments (production and test).</div><div><br></div><div>Each environment is composed by three different PgPool-II nodes configured in a PgPool-II watchdog cluster, and I am experiencing segfaults on every 6 PgPool-II nodes.</div><div><br></div><div>The 6 PgPool-II nodes are distributed on 4 different physical servers, so it's very unlikely that it's due to some hardware problems.</div><div><br></div><div>These are the snippets of the segfaults notifications:</div><div>===================================================================================================</div><div>DEV root@proxy1-dev ~# dmesg|grep pgpool<br>[   15.970081] pgpool[834]: segfault at 8 ip 00007fb6069f5d8a sp 00007fff848e7448 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fb60695c000+1bc000]<br>[   17.672642] pgpool[1336]: segfault at 8 ip 00007fb6069f5d8a sp 00007fff848e73e8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fb60695c000+1bc000]<br><br>DEV root@proxy2-dev ~# dmesg|grep pgpool<br>[ 2109.530239] pgpool[848]: segfault at 8 ip 00007f372d024d8a sp 00007ffe5126c7d8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f372cf8b000+1bc000]<br>[ 4752.698303] pgpool[22406]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f298 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br>[ 4761.219745] pgpool[22450]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f238 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br>[7089616.463274] pgpool[22568]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f208 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br>[7090394.285732] pgpool[661708]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f208 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br>[7090504.438435] pgpool[661929]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f208 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br>[7090528.565248] pgpool[661991]: segfault at 8 ip 00007fe9b70f3d8a sp 00007ffdb575f238 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe9b705a000+1bc000]<br><br>DEV root@proxy3-dev ~# dmesg|grep pgpool<br>[ 2085.795853] pgpool[879]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6678 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7088526.747095] pgpool[20105]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d65e8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7088528.639860] pgpool[946407]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089324.627060] pgpool[946415]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089384.787587] pgpool[946506]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089580.047313] pgpool[946521]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089591.340077] pgpool[946547]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089597.788270] pgpool[946556]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7089614.064323] pgpool[946565]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7090492.104936] pgpool[946574]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d65e8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br>[7090575.965820] pgpool[946743]: segfault at 8 ip 00007f9f45e57d8a sp 00007ffc605d6618 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f9f45dbe000+1bc000]<br><br>PROD root@proxy1-prod ~# dmesg|grep pgpool<br>[    6.631205] pgpool[814]: segfault at 8 ip 00007fe9729dbd8a sp 00007ffe7174ae88 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe972942000+1bc000]<br>[   17.054962] pgpool[1288]: segfault at 8 ip 00007fe9729dbd8a sp 00007ffe7174ae28 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe972942000+1bc000]<br>[868124.710835] pgpool[1415]: segfault at 8 ip 00007fe9729dbd8a sp 00007ffe7174ae28 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe972942000+1bc000]<br>[868127.082112] pgpool[1632535]: segfault at 8 ip 00007fe9729dbd8a sp 00007ffe7174ae28 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7fe972942000+1bc000]<br><br>PROD root@proxy2-prod ~# dmesg|grep pgpool<br>[   16.783629] pgpool[835]: segfault at 8 ip 00007f5f87877d8a sp 00007ffe3d47eb08 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f5f877de000+1bc000]<br>[   21.012660] pgpool[1381]: segfault at 8 ip 00007f5f87877d8a sp 00007ffe3d47eaa8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f5f877de000+1bc000]<br>[ 1978.102123] pgpool[1400]: segfault at 8 ip 00007f5f87877d8a sp 00007ffe3d47eaa8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f5f877de000+1bc000]<br><br>PROD root@proxy3-prod ~# dmesg|grep pgpool<br>[   13.567572] pgpool[826]: segfault at 8 ip 00007f4359c84d8a sp 00007fff04ddf008 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f4359beb000+1bc000]<br>[   15.559884] pgpool[1384]: segfault at 8 ip 00007f4359c84d8a sp 00007fff04ddefa8 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f4359beb000+1bc000]<br>[1094174.197742] pgpool[1398]: segfault at 8 ip 00007f4359c84d8a sp 00007fff04ddef78 error 4 in <a href="http://libc-2.28.so" target="_blank">libc-2.28.so</a>[7f4359beb000+1bc000]<br></div><div>===================================================================================================<br></div><div><br></div><div>The operating system is CentOS 8 (fully updated) with these PgPool-II packages installed:</div><div>===================================================================================================<br></div><div>PROD root@proxy3 ~# rpm -qa|grep -i pgpool<br>pgpool-II-pg12-4.2.7-1pgdg.rhel8.x86_64<br>pgpool-II-release-4.2-1.noarch<br></div><div>===================================================================================================<br></div><div><br></div><div>Could you help me to understand what's going on, please?</div><div><br></div><div>Thank you very much!</div><div>Bye</div></div>
</blockquote></div>