[squid-users] squid-3.1.16: squid -k shutdown causes crash

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Tue, 18 Oct 2011 15:22:49 +0200

squid-3.1.16:
squid -k shutdown causes a crash, below is the result of:

set print pretty
backtrace full
quit

in gdb.

            p_ = 0x8171160
          }
        }
#2 0x081a3abc in DeferredReadManager::flushReads (this=0x2d6d2f34) at comm.cc:2648
        aRead = {
          theReader = 0x1warning: (Internal error: pc 0x1 in read in psymtab, but not in symtab.)

,
          theContext = 0x0,
          theRead = {
            fd = 405033456,
            buf = 0x816cb20 "S\203\354\030\213D$ \213\030\205\333t!\211\034$\350\332\025\376\377\200=\020%6\b",
            len = -1210707229,
            callback = {
              p_ = 0xb7e6b400
            }
          },
          cancelled = false,
          closer = {
            p_ = 0x8171160
          }
        }
        reads = {
          head = 0x25a2f628
        }
#3 0x081a3b92 in DeferredReadManager::~DeferredReadManager (this=0x2d6d2f34, __in_chrg=<optimized out>) at comm.cc:2564
No locals.
#4 0x0814fd90 in MemObject::~MemObject (this=0x2d6d2eb0, __in_chrg=<optimized out>) at MemObject.cc:95
No locals.
#5 0x08170b80 in StoreEntry::destroyMemObject (this=0x1135f4b0) at store.cc:376
        __FUNCTION__ = "destroyMemObject"
        mem = 0x2d6d2eb0
#6 0x081711a1 in destroyStoreEntry (data=0x1135f4b4) at store.cc:389
        __FUNCTION__ = "destroyStoreEntry"
        e = <optimized out>
#7 0x0821ca2b in hashFreeItems (hid=0x85ae2c0, free_func=0x8171160 <destroyStoreEntry(void*)>) at hash.c:308
        l = <optimized out>
        list = 0xb7056008
        i = 1523505
        j = <optimized out>
#8 0x081769be in StoreHashIndex::~StoreHashIndex (this=0x83c7dc8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at store_dir.cc:723
No locals.
#9 0x08176cf0 in StoreHashIndex::~StoreHashIndex (this=0x83c7dc8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at store_dir.cc:727
No locals.
#10 0x081772c4 in dereference (newP=0x0, this=0x83c7db4) at ../include/RefCount.h:102
        tempP_ = <optimized out>
#11 ~RefCount (this=0x83c7db4, __in_chrg=<optimized out>) at ../include/RefCount.h:54
No locals.
#12 StoreController::~StoreController (this=0x83c7db0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at store_dir.cc:77
No locals.
#13 0x08177320 in StoreController::~StoreController (this=0x83c7db0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at store_dir.cc:78
No locals.
#14 0xb7d24981 in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#15 0xb7d24a0d in exit () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#16 0x0814ae2f in SquidShutdown () at main.cc:1849
No locals.
#17 SquidMain (argc=2, argv=0xbffffe14) at main.cc:1424
        signalEngine = {
          <AsyncEngine> = {
            _vptr.AsyncEngine = 0x8247838
          },
          members of SignalEngine:
          loop = @0xbffffcfc
        }
        store_engine = {
          <AsyncEngine> = {
            _vptr.AsyncEngine = 0x8247850
          }, <No data fields>}
        comm_engine = {
          <AsyncEngine> = {
            _vptr.AsyncEngine = 0x82a9658
          }, <No data fields>}
        mainLoop = {
          errcount = 0,
          last_loop = true,
          engines = {
            capacity = 16,
            count = 4,
            items = 0x8613830
          },
          timeService = 0xbffffd30,
          primaryEngine = 0xbffffd2c,
          loop_delay = 0,
          error = false,
          runOnceResult = false
        }
        time_engine = {
          _vptr.TimeEngine = 0x824d3e0
        }
#18 0x0814b98d in SquidMainSafe (argv=0xbffffe14, argc=2) at main.cc:1176
No locals.
#19 main (argc=2, argv=0xbffffe14) at main.cc:1168
No locals.
A debugging session is active.

        Inferior 1 [process 1333] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@charite.de | http://www.charite.de
	    
Received on Tue Oct 18 2011 - 13:23:01 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 18 2011 - 12:00:04 MDT