[squid-users] squid exiting on signal 6

Ludovit Koren ludovit.koren at gmail.com
Wed Oct 12 08:12:09 UTC 2022


Hi,

I am running squid-5.7 on FreeBSD 12.3-STABLE r371879. Occasionally I
get the following error:

Oct 12 09:40:59 xxxxx kernel: pid 88291 (squid), jid 0, uid 100: exited on signal 6 (core dumped)
Oct 12 09:40:59 xxxxx squid[76820]: Squid Parent: squid-1 process 88291 exited due to signal 6 with status 0
Oct 12 09:40:59 xxxxx squid[76820]: Squid Parent: (squid-1) process 89357 started

>From backtrace I get:

gdb /usr/local/sbin/squid squid.core 
GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.3".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/squid...
[New LWP 102541]
Core was generated by `(squid-1) --kid squid-1 -f /usr/local/etc/squid/squid.conf'.
Program terminated with signal SIGABRT, Aborted.
Sent by thr_kill() from pid 88291 and user 100.
#0  thr_kill () at thr_kill.S:3
3       RSYSCALL(thr_kill)
(gdb) bt
#0  thr_kill () at thr_kill.S:3
#1  0x000000080112fd44 in __raise (s=s at entry=6) at /usr/src/lib/libc/gen/raise.c:52
#2  0x00000008010a8409 in abort () at /usr/src/lib/libc/stdlib/abort.c:67
#3  0x000000080111fcb1 in __assert (func=<optimized out>, file=<optimized out>, line=<optimized out>, failedexpr=<optimized out>) at /usr/src/lib/libc/gen/assert.c:51
#4  0x0000000000698fcd in Ip::Address::getAddrInfo (this=0x861c04588, dst=<optimized out>, force=0) at Address.cc:663
#5  0x000000000068b732 in comm_openex (sock_type=sock_type at entry=1, proto=proto at entry=6, addr=..., flags=1, note=0x85ce42dc0 "[fe80::21f:29ff:fe28:7017]") at comm.cc:347
#6  0x00000000006dcdb9 in Comm::ConnOpener::createFd (this=this at entry=0x85e66b8b8) at ConnOpener.cc:288
#7  0x00000000006dcb72 in Comm::ConnOpener::start (this=0x85e66b8b8) at ConnOpener.cc:261
#8  0x0000000000682294 in JobDialer<AsyncJob>::dial (this=0x85390c798, call=...) at ../../src/base/AsyncJobCalls.h:175
#9  0x000000000067e9bb in AsyncCall::make (this=0x85390c760) at AsyncCall.cc:44
#10 0x000000000067fa91 in AsyncCallQueue::fireNext (this=<optimized out>, this at entry=0x801c00740) at AsyncCallQueue.cc:60
#11 0x000000000067f6e8 in AsyncCallQueue::fire (this=0x801c00740) at AsyncCallQueue.cc:43
#12 0x00000000004914f2 in EventLoop::dispatchCalls (this=<optimized out>) at EventLoop.cc:144
#13 EventLoop::runOnce (this=this at entry=0x7fffffffe9d0) at EventLoop.cc:121
#14 0x0000000000491418 in EventLoop::run (this=0x7fffffffe9d0) at EventLoop.cc:83
#15 0x00000000005792a8 in SquidMain (argc=<optimized out>, argc at entry=5, argv=<optimized out>, argv at entry=0x7fffffffeab8) at main.cc:1719
#16 0x00000000005786a0 in SquidMainSafe (argc=102541, argv=0x6) at main.cc:1406
#17 main (argc=102541, argv=0x6) at main.cc:1394
(gdb) 


The squid is compiled without IPv6 option, so I do not understand why it
tries to reach IPv6 address.

Please, can anybody help, why I am getting signal 6 and core dump?

Thank you very much.

Regards,

lk


More information about the squid-users mailing list