root @ cthulhu /var/core # gdb /usr/local/squid/sbin/squid core.squid.37265
GNU gdb (GDB) 7.7
Copyright (C) 2014 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 "i386-pc-solaris2.10".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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/squid/sbin/squid...(no debugging symbols found)...done.
[New LWP 1]
warning: Could not load shared library symbols for /usr/local/lib/ecap_clamav_adapter.so.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `(squid-1) -Y'.
Program terminated with signal SIGABRT, Aborted.
#0 0xfffffd7ffeb235da in _lwp_kill () from /lib/64/libc.so.1
(gdb) bt
#0 0xfffffd7ffeb235da in _lwp_kill () from /lib/64/libc.so.1
#1 0xfffffd7ffeb1bed3 in thr_kill () from /lib/64/libc.so.1
#2 0xfffffd7ffeac81a9 in raise () from /lib/64/libc.so.1
#3 0xfffffd7ffeaa6ba0 in abort () from /lib/64/libc.so.1
#4 0x000000000059e52f in xassert ()
#5 0x0000000000624b94 in icpConnectionShutdown() ()
#6 0x0000000000624c00 in icpClosePorts() ()
#7 0x00000000006a538c in death(int) ()
#8 0xfffffd7ffeb1ddd6 in __sighndlr () from /lib/64/libc.so.1
#9 0xfffffd7ffeb126a2 in call_user_handler () from /lib/64/libc.so.1
#10 0xfffffd7ffeb128ce in sigacthandler () from /lib/64/libc.so.1
#11 0xffffffffffffffff in ?? ()
#12 0x000000000000000b in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb)
I've patched it, but it cannot help.
The same error.
Squid dies with this:
root @ cthulhu /var/core # gdb /usr/local/ squid/sbin/ squid core.squid.37265 gnu.org/ licenses/ gpl.html> solaris2. 10". www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. squid/sbin/ squid.. .(no debugging symbols found)...done.
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "i386-pc-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/
[New LWP 1]
warning: Could not load shared library symbols for /usr/local/ lib/ecap_ clamav_ adapter. so. utdown( ) ()
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `(squid-1) -Y'.
Program terminated with signal SIGABRT, Aborted.
#0 0xfffffd7ffeb235da in _lwp_kill () from /lib/64/libc.so.1
(gdb) bt
#0 0xfffffd7ffeb235da in _lwp_kill () from /lib/64/libc.so.1
#1 0xfffffd7ffeb1bed3 in thr_kill () from /lib/64/libc.so.1
#2 0xfffffd7ffeac81a9 in raise () from /lib/64/libc.so.1
#3 0xfffffd7ffeaa6ba0 in abort () from /lib/64/libc.so.1
#4 0x000000000059e52f in xassert ()
#5 0x0000000000624b94 in icpConnectionSh
#6 0x0000000000624c00 in icpClosePorts() ()
#7 0x00000000006a538c in death(int) ()
#8 0xfffffd7ffeb1ddd6 in __sighndlr () from /lib/64/libc.so.1
#9 0xfffffd7ffeb126a2 in call_user_handler () from /lib/64/libc.so.1
#10 0xfffffd7ffeb128ce in sigacthandler () from /lib/64/libc.so.1
#11 0xffffffffffffffff in ?? ()
#12 0x000000000000000b in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb)
I know, this built stripped - this is production.