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

Yunkai Zhang commented on TS-1646:
----------------------------------

I have tested on master branch by using jtest tool, it seems not happen again. 
                
> 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

Reply via email to