You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(gdb) bt
#0 0x00007fe90c4e61d9 in waitpid () from /lib64/libpthread.so.0
#1 0x000055c6a88f8024 in crash_logger_invoke(int, siginfo_t*, void*) (signo=11, info=0x7fe8ff5090b0,
ctx=0x7fe8ff508f80) at traffic_server/Crash.cc:165
#2 <signal handler called>
#3 ink_atomiclist_push (l=0x100b10, item=0x7fe90a9e4d80) at ink_queue.cc:533
#4 0x000055c6a8b03f83 in ProtectedQueue::enqueue(Event*, bool) (this=0x100b10, e=0x7fe90a9e4d80,
fast_signal=false) at ProtectedQueue.cc:52
#5 0x000055c6a8a46224 in write_dns_event (h=0x7fe90674ec00, e=0x7fe8ff302b00, over_tcp=<optimized out>)
at P_UnixEvent.h:30
#6 write_dns(DNSHandler*, bool) (h=0x7fe90674ec00, tcp_retry=<optimized out>) at DNS.cc:1038
#7 0x000055c6a8a42717 in DNSHandler::mainEvent(int, Event*) (this=0x7fe90674ec00,
event=<optimized out>, e=<optimized out>) at DNS.cc:956
#8 0x000055c6a8ad86fe in NetHandler::waitForActivity(long) (this=<optimized out>,
timeout=<optimized out>) at UnixNet.cc:519
#9 0x000055c6a8ad8bfd in non-virtual thunk to NetHandler::waitForActivity(long) ()
#10 0x000055c6a8b05d81 in EThread::execute_regular() (this=0x7fe8ff60dc40) at UnixEThread.cc:278
#11 0x000055c6a8b04b0c in spawn_thread_internal(void*) (a=0x7fe90a995320) at Thread.cc:85
#12 0x00007fe90c4deea5 in start_thread () from /lib64/libpthread.so.0
#13 0x00007fe90b8fc8dd in clone () from /lib64/libc.so.6
It looks like ProtectedQueue on frame 4 is pointing to an invalid address.
(gdb) frame 4
#4 0x000055c6a8b03f83 in ProtectedQueue::enqueue(Event*, bool) (this=0x100b10, e=0x7fe90a9e4d80,
fast_signal=false) at ProtectedQueue.cc:52
52 bool was_empty = (ink_atomiclist_push(&al, e) == nullptr);
(gdb) p this
$12 = (struct ProtectedQueue *) 0x100b10
This might be made by referring thread_holding of unlocked mutex on write_dns_event.
Activity
masaori335 commentedon Nov 11, 2020
It looks like
ProtectedQueueon frame 4 is pointing to an invalid address.This might be made by referring
thread_holdingof unlocked mutex onwrite_dns_event.trafficserver/iocore/dns/DNS.cc
Line 1144 in c080cc1
masaori335 commentedon Nov 13, 2020
I'm pretty sure this happens with SplitDNS. The
DNSHandlermutex ofSplitDNSis not locked.