You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/07/22 22:20:48 UTC

[jira] [Updated] (TS-2004) Crash report: DLL::insert

     [ https://issues.apache.org/jira/browse/TS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach updated TS-2004:
----------------------------

    Fix Version/s: 3.5.0
         Assignee: Zhao Yongming
           Labels: crash  (was: )

Pushing out to 3.5

[~zym] please bring this back if you think this is critical for the 3.4 release.
                
> Crash report: DLL<RamCacheLRUEntry, RamCacheLRUEntry::Link_size_link>::insert
> -----------------------------------------------------------------------------
>
>                 Key: TS-2004
>                 URL: https://issues.apache.org/jira/browse/TS-2004
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>              Labels: crash
>             Fix For: 3.5.0
>
>
> got an Ram cache LRU crash, log here for later follow up.
> {code}
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000006d57e4 in DLL<RamCacheLRUEntry, RamCacheLRUEntry::Link_size_link>::insert (this=0x2b37299087c8,
>     e=0x2b3714203e20, after=0x2b37299087e0) at ../../lib/ts/List.h:202
> 202       if (next(e)) prev(next(e)) = e;
> Missing separate debuginfos, use: debuginfo-install expat-2.0.1-9.1.el6.x86_64 glibc-2.12-1.47.el6.x86_64 keyutils-lib4
> (gdb) bt
> #0  0x00000000006d57e4 in DLL<RamCacheLRUEntry, RamCacheLRUEntry::Link_size_link>::insert (this=0x2b37299087c8,
>     e=0x2b3714203e20, after=0x2b37299087e0) at ../../lib/ts/List.h:202
> #1  0x00000000006d5443 in Queue<RamCacheLRUEntry, RamCacheLRUEntry::Link_size_link>::insert (this=0x2b37299087c8,
>     e=0x2b3714203e20, after=0x2b37299087e0) at ../../lib/ts/List.h:244
> #2  0x00000000006d4d98 in Queue<RamCacheLRUEntry, RamCacheLRUEntry::Link_size_link>::enqueue (this=0x2b37299087c8,
>     e=0x2b3714203e20) at ../../lib/ts/List.h:293
> #3  0x00000000006d4472 in RamCacheLRU::put (this=0x2b372c108780, key=0x26b7500, data=0x2b38f8043370, len=2486330,
>     auxkey1=0, auxkey2=253484941) at RamCacheLRU.cc:198
> #4  0x000000000069ec2b in CacheVC::handleReadDone (this=0x26b74c0, event=3900, e=0x26b7648) at Cache.cc:2336
> #5  0x00000000004ed4a8 in Continuation::handleEvent (this=0x26b74c0, event=3900, data=0x26b7648)
>     at ../iocore/eventsystem/I_Continuation.h:146
> #6  0x00000000006a479f in AIOCallbackInternal::io_complete (this=0x26b7648, event=1, data=0x2b378001c720)
>     at ../../iocore/aio/P_AIO.h:80
> #7  0x00000000004ed4a8 in Continuation::handleEvent (this=0x26b7648, event=1, data=0x2b378001c720)
>     at ../iocore/eventsystem/I_Continuation.h:146
> #8  0x0000000000713a4c in EThread::process_event (this=0x2b36e58f4010, e=0x2b378001c720, calling_code=1)
>     at UnixEThread.cc:142
> #9  0x0000000000713c87 in EThread::execute (this=0x2b36e58f4010) at UnixEThread.cc:193
> #10 0x0000000000712bfa in spawn_thread_internal (a=0x1cb2da0) at Thread.cc:88
> #11 0x0000003d4b4077f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x0000003d4b0e570d in clone () from /lib64/libc.so.6
> (gdb) l
> 197     DLL<C,L>::insert(C *e, C *after) {
> 198       if (!after) { push(e); return; }
> 199       prev(e) = after;
> 200       next(e) = next(after);
> 201       next(after) = e;
> 202       if (next(e)) prev(next(e)) = e;
> 203     }
> 204
> 205     //
> 206     //      List descriptor for queue of objects of type C.
> (gdb) p e
> $1 = (RamCacheLRUEntry *) 0x2b3714203e20
> (gdb) p *e
> $2 = {key = {b = {2838449180001489673, 9234852465778727784}}, auxkey1 = 0, auxkey2 = 253484941,
>   lru_link = {<SLink<RamCacheLRUEntry>> = {next = 0x0}, prev = 0x2b375c28c510},
>   hash_link = {<SLink<RamCacheLRUEntry>> = {next = 0x0}, prev = 0x0}, size_link = {<SLink<RamCacheLRUEntry>> = {
>       next = 0xabcd1234}, prev = 0x2b37299087e0}, data = {m_ptr = 0x2b38f8043370}}
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira