On Sun, May 17 2015, Gerald Turner wrote:
> Unfortunately my attempts to get a core dump have been futile ...

I finally got a backtrace of pinger with gdb:

#0  0x00007fcad0a30107 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fcad0a314e8 in __GI_abort () at abort.c:89
#2  0x00007fcad0a6e204 in __libc_message (do_abort=do_abort@entry=1, 
fmt=fmt@entry=0x7fcad0b60fe0 "*** Error in `%s': %s: 0x%s ***\n") at 
../sysdeps/posix/libc_fatal.c:175
#3  0x00007fcad0a739de in malloc_printerr (action=1, str=0x7fcad0b5d064 
"corrupted double-linked list", ptr=<optimized out>) at malloc.c:4996
#4  0x00007fcad0a73c9c in malloc_consolidate (av=av@entry=0x7fcad0d9e620 
<main_arena>) at malloc.c:4165
#5  0x00007fcad0a74691 in _int_free (av=0x7fcad0d9e620 <main_arena>, 
p=<optimized out>, have_lock=0) at malloc.c:4057
#6  0x00007fcad1356604 in std::basic_ostringstream<char, 
std::char_traits<char>, std::allocator<char> >::~basic_ostringstream() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fcad244df17 in Debug::finishDebug () at ../../src/debug.cc:762
#8  0x00007fcad244abfc in IcmpPinger::Recv (this=<optimized out>) at 
IcmpPinger.cc:222
#9  0x00007fcad24498b3 in main (argc=<optimized out>, argv=<optimized out>) at 
pinger.cc:223

That's 'delete CurrentDebug' in the debug.cc:

  void
  Debug::finishDebug()
  {
      assert(TheDepth >= 0);
      assert(CurrentDebug);
      if (TheDepth > 1) {
          *CurrentDebug << "}-" << TheDepth << std::endl;
      } else {
          assert(TheDepth == 1);
          _db_print("%s\n", CurrentDebug->str().c_str());
          delete CurrentDebug;
          CurrentDebug = NULL;
      }
      --TheDepth;
  }

Which was reported in bug #728144 wherein Amos Jeffries says the bug had
been forwarded to http://bugs.squid-cache.org/show_bug.cgi?id=2656,
however that upstream bug is from 2009 dealing with "Pre-Init TZ env"
which I've confrimed is already patched in squid3 3.4.8-6.

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D

Attachment: signature.asc
Description: PGP signature

Reply via email to