kuotai created TS-1520:
--------------------------
Summary: CacheContinuation->timeout->m_ptr is null, then core
Key: TS-1520
URL: https://issues.apache.org/jira/browse/TS-1520
Project: Traffic Server
Issue Type: Bug
Components: Clustering, Core
Affects Versions: 3.2.0
Environment: LOCAL proxy.local.cluster.type INT 1
Reporter: kuotai
Assignee: kuotai
{code}
Core was generated by `/usr/bin/traffic_server -M --httpport
8080:fd=12,80:fd=15'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002b58f03cc080 in ?? ()
Missing separate debuginfos, use: debuginfo-install expat-2.0.1-9.1.el6.x86_64
glibc-2.12-1.47.el6.x86_64 keyutils-libs-1.4-3.el6.x86_64
krb5-libs-1.9-22.el6.x86_64 libcom_err-1.41.12-11.el6.x86_64
libgcc-4.4.6-3.el6.x86_64 libselinux-2.0.94-5.2.el6.x86_64
libstdc++-4.4.6-3.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
openssl-1.0.0-20.el6.x86_64 pcre-7.8-3.1.el6.x86_64 readline-6.0-3.el6.x86_64
tcl-8.5.7-6.el6.x86_64 xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
zlib-1.2.3-27.el6.x86_64
#0 0x00002b58f03cc080 in ?? ()
#1 0x0000000000647db6 in CacheContinuation::remoteOpEvent
(this=0x2b58d9803000, event_code=1151, e=0x2b58f0323380)
at ClusterCache.cc:2289
#2 0x00000000004e6e02 in Continuation::handleEvent (this=0x2b58d9803000,
event=1151, data=0x2b58f0323380)
at ../iocore/eventsystem/I_Continuation.h:146
#3 0x0000000000647280 in cache_op_result_ClusterFunction (ch=0x2b58d922fbd0,
d=0x2b58f0323318, l=28) at ClusterCache.cc:2088
#4 0x00000000006513a0 in ClusterHandler::process_incoming_callouts
(this=0x2b58d922fbd0, m=0x2b59d801b4a0)
at ClusterHandler.cc:1215
#5 0x000000000065963f in ClusterCalloutContinuation::CalloutHandler
(this=0x2b59d001bf60, event=2, e=0x2b58f00031e0)
at ClusterHandlerBase.cc:62
#6 0x00000000004e6e02 in Continuation::handleEvent (this=0x2b59d001bf60,
event=2, data=0x2b58f00031e0)
at ../iocore/eventsystem/I_Continuation.h:146
#7 0x00000000006d95be in EThread::process_event (this=0x2b58b99c6010,
e=0x2b58f00031e0, calling_code=2)
at UnixEThread.cc:142
#8 0x00000000006d98d9 in EThread::execute (this=0x2b58b99c6010) at
UnixEThread.cc:221
#9 0x00000000006d8887 in spawn_thread_internal (a=0x22a6970) at Thread.cc:88
#10 0x00000030308077f1 in start_thread () from /lib64/libpthread.so.0
#11 0x00000030304e570d in clone () from /lib64/libc.so.6
(gdb) f 1
#1 0x0000000000647db6 in CacheContinuation::remoteOpEvent
(this=0x2b58d9803000, event_code=1151, e=0x2b58f0323380)
at ClusterCache.cc:2289
/usr/src/debug/trafficserver-3.2.0/iocore/cluster/ClusterCache.cc:2289:77022:beg:0x647db6
(gdb) l
2284 case CACHE_EVENT_RESPONSE_MSG:{
2285
2286 // the response has arrived, cancel timeout
2287
2288 if (timeout) {
2289 timeout->cancel();
2290 timeout = 0;
2291 }
2292 // remove from the pending queue
2293 unsigned int hash = FOLDHASH(target_ip, seq_number);
(gdb) p timeout
$1 = (Event *) 0x2b58e8008c70
(gdb) p *timeout
$2 = {<Action> = {_vptr.Action = 0x2b5a0c0022a0, continuation = 0x2b58d97fd600,
mutex = {m_ptr = 0x0}, cancelled = 0},
ethread = 0x2b58b94c1010, in_the_prot_queue = 0, in_the_priority_queue = 0,
immediate = 0, globally_allocated = 1,
in_heap = 9, callback_event = 2, timeout_at = 1349964312579683000, period =
0, cookie = 0x0, link = {<SLink<Event>> = {
next = 0x0}, prev = 0x0}}
{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