Squid is died from unhandled exception:c

Solution In Progress - Updated -

Environment

  • Red Hat Enterprsie Linux 7
  • squid

Issue

  • Squid is died from unhandled exception:c

Resolution

Diagnostic Steps

  • Check coredump of squid
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `(squid-12) -f /etc/squid/squid.conf'.
Program terminated with signal 6, Aborted.
#0  0x00007f30bbfb05c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x00007f30bbfb05c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f30bbfb1cd8 in __GI_abort () at abort.c:90
#2  0x00007f30bc8b49d5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007f30bc8b2946 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#4  0x00007f30bc8b2973 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#5  0x00007f30bc8b2be9 in __cxxabiv1::__cxa_rethrow () at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:122
#6  0x00007f30bf690c0f in SquidMainSafe (argv=<optimized out>, argc=<optimized out>) at main.cc:1246
#7  main (argc=<optimized out>, argv=<optimized out>) at main.cc:1234
(gdb) f 6
#6  0x00007f30bf690c0f in SquidMainSafe (argv=<optimized out>, argc=<optimized out>) at main.cc:1246
1246            throw;
(gdb) p e
$1 = (const std::exception &) @0x7f30c4c24480: {_vptr.exception = 0x7f30bfc400b0 <vtable for TextException+16>}
(gdb) p (TextException&)e
$2 = (TextException &) @0x7f30c4c24480: {<std::exception> = {_vptr.exception = 0x7f30bfc400b0 <vtable for TextException+16>}, message = 0x7f30c549e710 "c", 
  theFileName = 0x7f30bf994830 "base/CbcPointer.h", theLineNo = 147, theId = 307970195}

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments