bneradt opened a new issue, #10670: URL: https://github.com/apache/trafficserver/issues/10670
We were running ATS 10 on docs and noticed the following assertion being tripped through metrics: ```sh cd /var/crash/65534.core sudo gdb /opt/ats_10/bin/traffic_server CoreDump ... ``` ```gdb (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f450347d859 in __GI_abort () at abort.c:79 #2 0x000055a230c94b85 in ink_abort (message_format=0x55a230e00484 "%s:%d: failed assertion `%s`") at ink_error.cc:99 #3 0x000055a230c90bd3 in _ink_assert (expression=0x55a230d35cc3 "metric", file=0x55a230d35ca7 "../../include/api/Metrics.h", line=158) at ink_assert.cc:37 #4 0x000055a23085a7d3 in ts::Metrics::increment (metric=0x0, val=1) at ../../include/api/Metrics.h:158 #5 0x000055a230ad8356 in CacheVC::openWriteCloseDir (this=0x7f44e402f2f0) at CacheWrite.cc:1208 #6 0x000055a230ad89b5 in CacheVC::openWriteCloseHeadDone (this=0x7f44e402f2f0, event=3900, e=0x0) at CacheWrite.cc:1265 #7 0x000055a2308354ef in Continuation::handleEvent (this=0x7f44e402f2f0, event=3900, data=0x0) at /home/maskit/trafficserver/iocore/eventsystem/I_Continuation.h:228 #8 0x000055a230ad2749 in CacheVC::updateVector (this=0x7f44e402f2f0) at CacheWrite.cc:200 #9 0x000055a230ad8b79 in CacheVC::openWriteCloseHead (this=0x7f44e402f2f0, event=3900, e=0x0) at CacheWrite.cc:1285 #10 0x000055a230ad8f75 in CacheVC::openWriteCloseDataDone (this=0x7f44e402f2f0, event=3900, e=0x0) at CacheWrite.cc:1338 #11 0x000055a2308354ef in Continuation::handleEvent (this=0x7f44e402f2f0, event=3900, data=0x0) at /home/maskit/trafficserver/iocore/eventsystem/I_Continuation.h:228 #12 0x000055a230adc46f in CacheVC::handleWriteLock (this=0x7f44e402f2f0, e=0x0) at P_CacheInternal.h:617 #13 0x000055a230adc67b in CacheVC::do_write_lock_call (this=0x7f44e402f2f0) at P_CacheInternal.h:633 #14 0x000055a230ad91d5 in CacheVC::openWriteClose (this=0x7f44e402f2f0, event=0, e=0x0) at CacheWrite.cc:1374 #15 0x000055a230aaa33e in CacheVC::die (this=0x7f44e402f2f0) at P_CacheInternal.h:585 #16 0x000055a230ace185 in CacheVC::calluser (this=0x7f44e402f2f0, event=103) at P_CacheInternal.h:528 #17 0x000055a230ad9826 in CacheVC::openWriteMain (this=0x7f44e402f2f0) at CacheWrite.cc:1457 #18 0x000055a2308354ef in Continuation::handleEvent (this=0x7f44e402f2f0, event=1, data=0x7f44b0000e20) at /home/maskit/trafficserver/iocore/eventsystem/I_Continuation.h:228 #19 0x000055a230d25677 in EThread::process_event (this=0x7f45001b4010, e=0x7f44b0000e20, calling_code=1) at UnixEThread.cc:150 #20 0x000055a230d258c7 in EThread::process_queue (this=0x7f45001b4010, NegativeQueue=0x7f44fb9d4170, ev_count=0x7f44fb9d4124, nq_count=0x7f44fb9d4120) at UnixEThread.cc:185 #21 0x000055a230d25bd6 in EThread::execute_regular (this=0x7f45001b4010) at UnixEThread.cc:241 #22 0x000055a230d25ff2 in EThread::execute (this=0x7f45001b4010) at UnixEThread.cc:334 #23 0x000055a230d248d6 in spawn_thread_internal (a=0x55a2331ec460) at Thread.cc:78 #24 0x00007f4503ad9609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #25 0x00007f450357a133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (gdb) f 4 #4 0x000055a23085a7d3 in ts::Metrics::increment (metric=0x0, val=1) at ../../include/api/Metrics.h:158 158 ink_assert(metric); (gdb) l 153 154 // Static methods to encapsulate access to the atomic's 155 static void 156 increment(IntType *metric, uint64_t val = 1) 157 { 158 ink_assert(metric); 159 metric->fetch_add(val, MEMORY_ORDER); 160 } 161 162 static void (gdb) p metric $1 = (ts::Metrics::IntType *) 0x0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org