[ https://issues.apache.org/jira/browse/TS-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935541#comment-14935541 ]
Leif Hedstrom commented on TS-3841: ----------------------------------- Ping ? > LogAccess.cc assert failed when enabling custom log and stats_over_http plugin > ------------------------------------------------------------------------------ > > Key: TS-3841 > URL: https://issues.apache.org/jira/browse/TS-3841 > Project: Traffic Server > Issue Type: Bug > Components: Logging > Reporter: taoyunxing > Assignee: Leif Hedstrom > Fix For: 6.1.0 > > > when I enable both the custom log and stats_over_http plugin, I encounter the > following problem: > {code} > FATAL: LogAccess.cc:816: failed assert `actual_len < padded_len` > Program received signal SIGABRT, Aborted. > (gdb) bt > #0 0x0000003d150328a5 in raise () from /lib64/libc.so.6 > #1 0x0000003d15034085 in abort () from /lib64/libc.so.6 > #2 0x00007ffff7dd8751 in ink_die_die_die () at ink_error.cc:43 > #3 0x00007ffff7dd8808 in ink_fatal_va(const char *, typedef __va_list_tag > __va_list_tag *) (fmt=0x7ffff7dea738 "%s:%d: failed assert `%s`", > ap=0x7ffff5e1f430) at ink_error.cc:65 > #4 0x00007ffff7dd88cd in ink_fatal (message_format=0x7ffff7dea738 "%s:%d: > failed assert `%s`") at ink_error.cc:73 > #5 0x00007ffff7dd6272 in _ink_assert (expression=0x7e653b "actual_len < > padded_len", file=0x7e64c7 "LogAccess.cc", line=816) at ink_assert.cc:37 > #6 0x000000000066a2e2 in LogAccess::marshal_mem (dest=0x7fffec004358 "", > source=0x7e6539 "-", actual_len=1, padded_len=0) at LogAccess.cc:816 > #7 0x000000000066d455 in LogAccessHttp::marshal_client_req_unmapped_url_host > (this=0x7ffff5e1f7d0, buf=0x7fffec004358 "") at LogAccessHttp.cc:472 > #8 0x000000000067b441 in LogField::marshal (this=0x1110e80, > lad=0x7ffff5e1f7d0, buf=0x7fffec004358 "") at LogField.cc:276 > #9 0x000000000067bf5b in LogFieldList::marshal (this=0x110d5b0, > lad=0x7ffff5e1f7d0, buf=0x7fffec004318 "") at LogField.cc:574 > #10 0x000000000068b408 in LogObject::log (this=0x110d4e0, lad=0x7ffff5e1f7d0, > text_entry=0x0) at LogObject.cc:623 > #11 0x000000000068da22 in LogObjectManager::log (this=0x1116da8, > lad=0x7ffff5e1f7d0) at LogObject.cc:1331 > #12 0x0000000000666d0e in Log::access (lad=0x7ffff5e1f7d0) at Log.cc:927 > #13 0x00000000005f630d in HttpSM::kill_this (this=0x7ffff0ef1aa0) at > HttpSM.cc:6571 > #14 0x00000000005e7184 in HttpSM::main_handler (this=0x7ffff0ef1aa0, > event=2301, data=0x7ffff0ef2ef8) at HttpSM.cc:2567 > #15 0x0000000000506166 in Continuation::handleEvent (this=0x7ffff0ef1aa0, > event=2301, data=0x7ffff0ef2ef8) at ../iocore/eventsystem/I_Continuation.h:145 > #16 0x0000000000635ad9 in HttpTunnel::main_handler (this=0x7ffff0ef2ef8, > event=103, data=0x7ffff18b2110) at HttpTunnel.cc:1585 > #17 0x0000000000506166 in Continuation::handleEvent (this=0x7ffff0ef2ef8, > event=103, data=0x7ffff18b2110) at ../iocore/eventsystem/I_Continuation.h:145 > #18 0x0000000000778bdb in write_signal_and_update (event=103, > vc=0x7ffff18b1f80) at UnixNetVConnection.cc:170 > #19 0x0000000000778df3 in write_signal_done (event=103, nh=0x7ffff622a780, > vc=0x7ffff18b1f80) at UnixNetVConnection.cc:212 > #20 0x0000000000779f92 in write_to_net_io (nh=0x7ffff622a780, > vc=0x7ffff18b1f80, thread=0x7ffff6227010) at UnixNetVConnection.cc:530 > #21 0x00000000007796e9 in write_to_net (nh=0x7ffff622a780, vc=0x7ffff18b1f80, > thread=0x7ffff6227010) at UnixNetVConnection.cc:384 > #22 0x000000000077245a in NetHandler::mainNetEvent (this=0x7ffff622a780, > event=5, e=0x7ffff5a1eb40) at UnixNet.cc:562 > #23 0x0000000000506166 in Continuation::handleEvent (this=0x7ffff622a780, > event=5, data=0x7ffff5a1eb40) at ../iocore/eventsystem/I_Continuation.h:145 > #24 0x000000000079aa26 in EThread::process_event (this=0x7ffff6227010, > e=0x7ffff5a1eb40, calling_code=5) at UnixEThread.cc:128 > #25 0x000000000079b047 in EThread::execute (this=0x7ffff6227010) at > UnixEThread.cc:252 > #26 0x0000000000799f2c in spawn_thread_internal (a=0x1106a40) at Thread.cc:85 > #27 0x0000003d15407851 in start_thread () from /lib64/libpthread.so.0 > #28 0x0000003d150e767d in clone () from /lib64/libc.so.6 > (gdb) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)