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/03/19 19:49:15 UTC

[jira] [Commented] (TS-1646) TS crashed when compile with --enable-debug option

    [ https://issues.apache.org/jira/browse/TS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606660#comment-13606660 ] 

James Peach commented on TS-1646:
---------------------------------

This sounds like a serious bug or a mis-placed assertion. Yunkai, what do you think?
                
> TS crashed when compile with --enable-debug option
> --------------------------------------------------
>
>                 Key: TS-1646
>                 URL: https://issues.apache.org/jira/browse/TS-1646
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Yunkai Zhang
>              Labels: crash
>             Fix For: 3.3.2
>
>
> TS crashed when compile with --enable-debug option, This bug is easy to reproduce by jtest tool.
> {code}
> # traffic_server
> Layout configuration
>           --prefix = '/root/ats' 
>      --exec_prefix = '/root/ats' 
>           --bindir = '/root/ats/bin'
>          --sbindir = '/root/ats/bin'
>       --sysconfdir = '/root/ats/etc/trafficserver'
>          --datadir = '/root/ats/share/trafficserver'
>       --includedir = '/root/ats/include'
>           --libdir = '/root/ats/lib'
>       --libexecdir = '/root/ats/libexec/trafficserver'
>    --localstatedir = '/root/ats/var'
>       --runtimedir = '/root/ats/var/trafficserver'
>           --logdir = '/root/ats/var/log/trafficserver'
>           --mandir = '/root/ats/man'
>          --infodir = '/root/ats/info'
>         --cachedir = '/root/ats/var/trafficserver'
> [TrafficServer] using root directory '/root/ats'
> FATAL: HdrHeap.cc:846: failed assert `!"HdrHeap::unmarshal bad magic"`
> FATAL: HdrHeap.cc:846: failed assert `!"HdrHeap::unmarshal bad magic"`
> traffic_servertraffic_server - STACK TRACE:
>  - STACK TRACE:
> /root/ats/lib/libtsutil.so.3(ink_fatal_die+0x0)[0x7f7a2704f5e3]
> /root/ats/lib/libtsutil.so.3(ink_fatal_die+0x0)[0x7f7a2704f5e3]
> /root/ats/lib/libtsutil.so.3(_Z12ink_get_randv+0x0)[0x7f7a2704e4b8]
> /root/ats/lib/libtsutil.so.3(_Z12ink_get_randv+0x0)[0x7f7a2704e4b8]
> traffic_server(_ZN7HdrHeap9unmarshalEiiPP14HdrHeapObjImplP11RefCountObj+0x3f)[0x5febed]
> traffic_server(_ZN7HdrHeap9unmarshalEiiPP14HdrHeapObjImplP11RefCountObj+0x3f)[0x5febed]
> traffic_server(_ZN8HTTPInfo9unmarshalEPciP11RefCountObj+0x26e)[0x6064e2]
> FATAL: HdrHeap.cc:846: failed assert `!"HdrHeap::unmarshal bad magic"`
> traffic_server - STACK TRACE:
> traffic_server(_ZN8HTTPInfo9unmarshalEPciP11RefCountObj+0x26e)[0x6064e2]
> traffic_server[0x672baf]
> /root/ats/lib/libtsutil.so.3(ink_fatal_die+0x0)[0x7f7a2704f5e3]
> traffic_server[0x672baf]
> traffic_server(_ZN7CacheVC14handleReadDoneEiP5Event+0x799)[0x673381]
> /root/ats/lib/libtsutil.so.3(_Z12ink_get_randv+0x0)[0x7f7a2704e4b8]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e1b8a]
> traffic_server(_ZN7CacheVC14handleReadDoneEiP5Event+0x799)[0x673381]
> traffic_server(_ZN7HdrHeap9unmarshalEiiPP14HdrHeapObjImplP11RefCountObj+0x3f)[0x5febed]
> traffic_server(_ZN19AIOCallbackInternal11io_completeEiPv+0x3f)[0x67874d]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e1b8a]
> FATAL: HdrHeap.cc:846: failed assert `!"HdrHeap::unmarshal bad magic"`
> traffic_server - STACK TRACE:
> traffic_server(_ZN8HTTPInfo9unmarshalEPciP11RefCountObj+0x26e)[0x6064e2]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e1b8a]
> traffic_server(_ZN19AIOCallbackInternal11io_completeEiPv+0x3f)[0x67874d]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e1b8a]
> traffic_server[0x672baf]
> traffic_server(_ZN7EThread13process_eventEP5Eventi+0x120)[0x6e3768]
> /root/ats/lib/libtsutil.so.3(ink_fatal_die+0x0)[0x7f7a2704f5e3]
> traffic_server(_ZN7EThread7executeEv+0xca)[0x6e39b8]
> traffic_server(_ZN7CacheVC14handleReadDoneEiP5Event+0x799)[0x673381]
> traffic_server(_ZN7EThread13process_eventEP5Eventi+0x120)[0x6e3768]
> traffic_server(_ZN7EThread7executeEv+0xca)[0x6e39b8]
> traffic_server[0x6e2974]
> traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4e1b8a]
> traffic_server(_ZN19AIOCallbackInternal11io_completeEiPv+0x3f)[0x67874d]
> traffic_server[0x6e2974]
> /lib64/libpthread.so.0[0x3bcac077f1]
> /lib64/libc.so.6(clone+0x6d)[0x3bca8e570d]
> Aborted
> {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