[
https://issues.apache.org/jira/browse/TS-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277541#comment-13277541
]
Bryan Call commented on TS-1240:
--------------------------------
We are currently seeing asserts in production on 3.1.3 (before Leif's change)
in production when the disks are busy:
(gdb) bt
#0 0x00000036c5832885 in raise () from /lib64/libc.so.6
#1 0x00000036c5834065 in abort () from /lib64/libc.so.6
#2 0x00002afdc6060e89 in ink_die_die_die (retval=3867) at ink_error.cc:43
#3 0x00002afdc60610c5 in ink_fatal_va(int, const char *, typedef __va_list_tag
__va_list_tag *) (return_code=1, message_format=<value optimized out>,
ap=0x2afdc7e71710) at ink_error.cc:65
#4 0x00002afdc6061218 in ink_fatal (return_code=<value optimized out>,
message_format=<value optimized out>) at ink_error.cc:73
#5 0x00002afdc605fa7f in _ink_assert (expression=<value optimized out>,
file=<value optimized out>, line=<value optimized out>) at ink_assert.cc:38
#6 0x00000000005a4fec in add_to_flush_queue (this=0x2bcab50,
write_offset=0x2afdc7e71898, bytes_needed=336) at LogObject.h:97
#7 LogObject::_checkout_write (this=0x2bcab50, write_offset=0x2afdc7e71898,
bytes_needed=336) at LogObject.cc:455
#8 0x00000000005a55b0 in LogObject::log (this=0x2bcab50, lad=0x2afdc7e71a80,
text_entry=0x0) at LogObject.cc:580
#9 0x000000000058c7d6 in log (lad=0x2afdc7e71a80) at LogObject.h:476
#10 Log::access (lad=0x2afdc7e71a80) at Log.cc:1093
#11 0x0000000000534f8b in HttpSM::update_stats (this=0x2afe433db980) at
HttpSM.cc:6051
#12 0x0000000000535c98 in HttpSM::kill_this (this=0x2afe433db980) at
HttpSM.cc:6012
#13 0x0000000000535f68 in HttpSM::main_handler (this=0x2afe433db980,
event=2301, data=0x2afe433dd4c8) at HttpSM.cc:2453
#14 0x0000000000567d2e in handleEvent (this=0x2afe433dd4c8, event=<value
optimized out>, data=<value optimized out>) at
../../iocore/eventsystem/I_Continuation.h:146
#15 HttpTunnel::main_handler (this=0x2afe433dd4c8, event=<value optimized out>,
data=<value optimized out>) at HttpTunnel.cc:1468
#16 0x0000000000678ba1 in handleEvent (event=<value optimized out>,
nh=0x2afdc726a1c8, vc=0x2afdfc8db830) at
../../iocore/eventsystem/I_Continuation.h:146
#17 write_signal_and_update (event=<value optimized out>, nh=0x2afdc726a1c8,
vc=0x2afdfc8db830) at UnixNetVConnection.cc:153
#18 write_signal_done (event=<value optimized out>, nh=0x2afdc726a1c8,
vc=0x2afdfc8db830) at UnixNetVConnection.cc:180
#19 0x000000000067a9e7 in write_to_net_io (nh=0x2afdc726a1c8,
vc=0x2afdfc8db830, thread=<value optimized out>) at UnixNetVConnection.cc:479
#20 0x000000000067339e in NetHandler::mainNetEvent (this=0x2afdc726a1c8,
event=<value optimized out>, e=<value optimized out>) at UnixNet.cc:407
#21 0x000000000069c7c4 in handleEvent (this=0x2afdc7267010, e=0x28b1f40,
calling_code=5) at I_Continuation.h:146
#22 EThread::process_event (this=0x2afdc7267010, e=0x28b1f40, calling_code=5)
at UnixEThread.cc:142
#23 0x000000000069d153 in EThread::execute (this=0x2afdc7267010) at
UnixEThread.cc:264
#24 0x000000000069b702 in spawn_thread_internal (a=0x28abc60) at Thread.cc:88
#25 0x00000036c5c077f1 in start_thread () from /lib64/libpthread.so.0
#26 0x00000036c58e592d in clone () from /lib64/libc.so.6
> Debug assert triggered in LogBuffer.cc:209
> ------------------------------------------
>
> Key: TS-1240
> URL: https://issues.apache.org/jira/browse/TS-1240
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Affects Versions: 3.1.4
> Reporter: Leif Hedstrom
> Fix For: 3.1.5
>
>
> From John:
> {code}
> [May 1 09:08:44.746] Server {0x7ffff7fce800} NOTE: traffic server running
> FATAL: LogBuffer.cc:209: failed assert `m_unaligned_buffer`
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server - STACK
> TRACE:
> /home/jplevyak/projects/ts/ts-2/lib/ts/.libs/libtsutil.so.3(ink_fatal+0xa3)[0x7ffff7bae4a5]
> /home/jplevyak/projects/ts/ts-2/lib/ts/.libs/libtsutil.so.3(_ink_assert+0x3c)[0x7ffff7bad47c]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN9LogBuffer14checkout_writeEPmm+0x35)[0x5d3a53]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN9LogObject15_checkout_writeEPmm+0x41)[0x5eef75]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN9LogObject3logEP9LogAccessPc+0x4cb)[0x5ef5b9]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN16LogObjectManager3logEP9LogAccess+0x4a)[0x5daab4]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN3Log6accessEP9LogAccess+0x235)[0x5d97f9]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN6HttpSM12update_statsEv+0x204)[0x579872]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN6HttpSM9kill_thisEv+0x31d)[0x579525]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN6HttpSM12main_handlerEiPv+0x337)[0x56cec1]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN12Continuation11handleEventEiPv+0x72)[0x4e2450]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0x14c)[0x5b24aa]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN12Continuation11handleEventEiPv+0x72)[0x4e2450]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server[0x6bb9d1]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server[0x6bbafa]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x6fa)[0x6bcaaf]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_Z12write_to_netP10NetHandlerP18UnixNetVConnectionP14PollDescriptorP7EThread+0x7d)[0x6bc3b3]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x6e6)[0x6b8828]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN12Continuation11handleEventEiPv+0x72)[0x4e2450]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN7EThread13process_eventEP5Eventi+0x111)[0x6dde7f]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server(_ZN7EThread7executeEv+0x431)[0x6de42b]
> /a/home/jplevyak/projects/ts/ts-2/proxy/.libs/lt-traffic_server[0x6dd0bc]
> /lib64/libpthread.so.0(+0x7d90)[0x7ffff7676d90]
> /lib64/libc.so.6(clone+0x6d)[0x7ffff54f9f5d]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira