You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/08/22 19:18:21 UTC
[jira] [Updated] (TS-4544) Plugin can create cores with
TSHttpSMCallback in stack
[ https://issues.apache.org/jira/browse/TS-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan M. Carroll updated TS-4544:
--------------------------------
Fix Version/s: (was: 7.0.0)
7.1.0
> Plugin can create cores with TSHttpSMCallback in stack
> ------------------------------------------------------
>
> Key: TS-4544
> URL: https://issues.apache.org/jira/browse/TS-4544
> Project: Traffic Server
> Issue Type: Bug
> Components: Core, Plugins
> Reporter: Susan Hinrichs
> Assignee: Alan M. Carroll
> Labels: 7
> Fix For: 7.1.0
>
>
> With a new plugin, we started seeing cores like the following. The TSHttpSMCallback is being called on a deleted HttpSM. Looking at the code, there is no logic to cancel the Callback when the state machine goes down.
> {code}
> (gdb) bt
> #0 0x0000003bf5832625 in raise () from /lib64/libc.so.6
> #1 0x0000003bf5833d8d in abort () from /lib64/libc.so.6
> #2 0x00002b832a17765d in ink_die_die_die () at ink_error.cc:43
> #3 0x00002b832a177714 in ink_fatal_va(const char *, typedef __va_list_tag __va_list_tag *) (
> fmt=0x2b832a188328 "%s:%d: failed assert `%s`", ap=0x2b8343b88a90) at ink_error.cc:65
> #4 0x00002b832a1777d9 in ink_fatal (message_format=0x2b832a188328 "%s:%d: failed assert `%s`")
> at ink_error.cc:73
> #5 0x00002b832a174ee6 in _ink_assert (expression=0x7db71e "magic == HTTP_SM_MAGIC_ALIVE",
> file=0x7db114 "HttpSM.cc", line=1385) at ink_assert.cc:37
> #6 0x00000000005ee921 in HttpSM::state_api_callback (this=0x2b870ac2fb90, event=60001, data=0x0)
> at HttpSM.cc:1385
> #7 0x00000000005408dd in TSHttpSMCallback::event_handler (this=0x2b8380065ab0) at InkAPI.cc:5618
> #8 0x0000000000515330 in Continuation::handleEvent (this=0x2b8380065ab0, event=1, data=0x2b8598013180)
> at ../iocore/eventsystem/I_Continuation.h:150
> #9 0x00000000007a587e in EThread::process_event (this=0x2b83377ca010, e=0x2b8598013180, calling_code=1)
> at UnixEThread.cc:145
> #10 0x00000000007a5c1d in EThread::execute_regular (this=0x2b83377ca010) at UnixEThread.cc:212
> #11 0x00000000007a5ff4 in EThread::execute (this=0x2b83377ca010) at UnixEThread.cc:304
> #12 0x00000000007a4bad in spawn_thread_internal (a=0x2a99f80) at Thread.cc:85
> #13 0x00002b832a3d3aa1 in start_thread () from /lib64/libpthread.so.0
> #14 0x0000003bf58e893d in clone () from /lib64/libc.so.6
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)