You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/06/15 18:43:09 UTC

[jira] [Commented] (TS-4547) NULL handler being scheduled

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

Bryan Call commented on TS-4547:
--------------------------------

More details:
{code}
(gdb) frame 8
#8  ProxyClientTransaction::adjust_thread (this=0x2b31e800dd48, event=1108, data=0x2b31e80a70b0) at ../../trafficserver/proxy/ProxyClientTransaction.cc:95
95          return vc->thread->schedule_imm(this, event, data);
(gdb) p this
$1 = (ProxyClientTransaction * const) 0x2b31e800dd48
(gdb) p this->handler
$2 = NULL
{code}

> NULL handler being scheduled
> ----------------------------
>
>                 Key: TS-4547
>                 URL: https://issues.apache.org/jira/browse/TS-4547
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Bryan Call
>             Fix For: 7.0.0
>
>
> There is a continuation that is being scheduled with a NULL handler.  I added an assert to Event::init() to catch the code trying to do it:
> backtrace of the assert:
> {code}
> (gdb) bt
> #0  0x0000003818032625 in raise () from /lib64/libc.so.6
> #1  0x0000003818033d8d in abort () from /lib64/libc.so.6
> #2  0x00002b3186ed60c8 in ink_die_die_die (fmt=0x2b3186ee262f "%s:%d: failed assert `%s`", ap=0x2b318b536718) at ../../../trafficserver/lib/ts/ink_error.cc:43
> #3  ink_fatal_va(const char *, typedef __va_list_tag __va_list_tag *) (fmt=0x2b3186ee262f "%s:%d: failed assert `%s`", ap=0x2b318b536718) at ../../../trafficserver/lib/ts/ink_error.cc:65
> #4  0x00002b3186ed615c in ink_fatal (message_format=Unhandled dwarf expression opcode 0xf3
> ) at ../../../trafficserver/lib/ts/ink_error.cc:73
> #5  0x00002b3186ed4445 in _ink_assert (expression=Unhandled dwarf expression opcode 0xf3
> ) at ../../../trafficserver/lib/ts/ink_assert.cc:37
> #6  0x00000000004fcd4c in init (this=0x2b31e800dd48, event=1108, data=0x2b31e80a70b0) at ../../trafficserver/iocore/eventsystem/P_UnixEvent.h:30
> #7  schedule_imm (this=0x2b31e800dd48, event=1108, data=0x2b31e80a70b0) at ../../trafficserver/iocore/eventsystem/P_UnixEThread.h:52
> #8  ProxyClientTransaction::adjust_thread (this=0x2b31e800dd48, event=1108, data=0x2b31e80a70b0) at ../../trafficserver/proxy/ProxyClientTransaction.cc:95
> #9  0x0000000000540af3 in HttpSM::state_cache_open_write (this=0x2b3241116800, event=1108, data=0x2b31e80a70b0) at ../../../trafficserver/proxy/http/HttpSM.cc:2459
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)