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

weijin commented on TS-3655:
----------------------------

{code}
(gdb) bt
#0  0x00007ffff55415d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff5542cc8 in abort () from /lib64/libc.so.6
#2  0x00007ffff7bc32a8 in ink_die_die_die () at ink_error.cc:43
#3  ink_fatal_va (fmt=0x7ffff7bcee67 "%s:%d: failed assert `%s`", 
ap=ap@entry=0x7ffff3160b38) at ink_error.cc:65
#4  0x00007ffff7bc333c in ink_fatal 
(message_format=message_format@entry=0x7ffff7bcee67 "%s:%d: failed assert 
`%s`") at ink_error.cc:73
#5  0x00007ffff7bc1805 in _ink_assert (expression=<optimized out>, 
file=<optimized out>, line=<optimized out>) at ink_assert.cc:37
#6  0x00000000004bf1d3 in INKContInternal::handle_event (this=0x7fffd01c2860, 
event=<optimized out>, edata=<optimized out>) at InkAPI.cc:994
#7  0x00000000006c1368 in handleEvent (data=0x7fffd02056e8, event=105, 
this=0x7fffd01c2860) at ../../iocore/eventsystem/I_Continuation.h:145
#8  read_signal_and_update (vc=0x7fffd02055d0, event=105) at 
UnixNetVConnection.cc:139
#9  UnixNetVConnection::mainEvent (this=0x7fffd02055d0, event=<optimized out>, 
e=<optimized out>) at UnixNetVConnection.cc:1110
#10 0x00000000006b8e52 in handleEvent (data=0x1037b70, event=1, 
this=0x7fffd02055d0) at ../../iocore/eventsystem/I_Continuation.h:145
#11 InactivityCop::check_inactivity (this=0xff7920, event=<optimized out>, 
e=0x1037b70) at UnixNet.cc:109
#12 0x00000000006e4de0 in handleEvent (data=0x1037b70, event=2, this=<optimized 
out>) at I_Continuation.h:145
#13 EThread::process_event (this=0x7ffff3566010, e=0x1037b70, calling_code=2) 
at UnixEThread.cc:128
#14 0x00000000006e5a01 in EThread::execute (this=0x7ffff3566010) at 
UnixEThread.cc:207
#15 0x00000000006e48ba in spawn_thread_internal (a=0xff4320) at Thread.cc:85
#16 0x00007ffff62f7df5 in start_thread () from /lib64/libpthread.so.0
#17 0x00007ffff56021ad in clone () from /lib64/libc.so.6
(gdb) f 6
#6  0x00000000004bf1d3 in INKContInternal::handle_event (this=0x7fffd01c2860, 
event=<optimized out>, edata=<optimized out>) at InkAPI.cc:994
994         ink_release_assert(!"Plugin tries to use a continuation which is 
deleted");
(gdb) p *this
$1 = {<DummyVConnection> = {<VConnection> = {<Continuation> = 
{<force_VFPT_to_top> = {_vptr.force_VFPT_to_top = 0x7fffd01c28c0},
        handler = (int (Continuation::*)(Continuation * const, int, void *)) 
0x4bf110 <INKContInternal::handle_event(int, void*)>, mutex = {m_ptr = 0x0},
        link = {<SLink<Continuation>> = {next = 0x0}, prev = 0x0}}, lerrno = 
0}, <No data fields>}, mdata = 0x7fffd01a3740, m_event_func = 0x5081d0
     <server_handler(tsapi_cont*, TSEvent, void*)>, m_event_count = 0, m_closed 
= 1, m_deletable = 1, m_deleted = 1,
  m_free_magic = INKCONT_INTERN_MAGIC_DEAD}
(gdb) la src
(gdb)
{code}

> regression test segfault
> ------------------------
>
>                 Key: TS-3655
>                 URL: https://issues.apache.org/jira/browse/TS-3655
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: weijin
>
> the regression test SDK_API_TSPortDescriptor forget to close the net_vc of 
> server side when free the caller.



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

Reply via email to