Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.3.2
-
None
-
None
-
Ubuntu 12.04 LTS 64bits
Description
When i start TS ( master version 3.3.2-dev ) from git.
It crashes with message below.
Thanks for your help.
/usr/local/cache_novo/bin/traffic_server - STACK TRACE:
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x2aca913d8cb0]
/usr/local/cache_novo/lib/libtsutil.so.3(ink_atomiclist_push+0x36)[0x2aca911a24c6]
/usr/local/cache_novo/bin/traffic_server(_ZN18UnixNetVConnection8reenableEP3VIO+0x450)[0x67d590]
/usr/local/cache_novo/bin/traffic_server(_ZN18UnixNetVConnection11do_io_writeEP12ContinuationlP14IOBufferReaderb+0xc1)[0x67b691]
/usr/local/cache_novo/bin/traffic_server(_ZN10HttpTunnel12producer_runEP18HttpTunnelProducer+0x6e0)[0x566cd0]
/usr/local/cache_novo/bin/traffic_server(_ZN10HttpTunnel10tunnel_runEP18HttpTunnelProducer+0xb9)[0x567879]
/usr/local/cache_novo/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x484)[0x533364]
/usr/local/cache_novo/bin/traffic_server(_ZN6HttpSM33state_read_server_response_headerEiPv+0x33a)[0x52e95a]
/usr/local/cache_novo/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xd8)[0x52df58]
/usr/local/cache_novo/bin/traffic_server[0x6801d0]
/usr/local/cache_novo/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x1ed)[0x676b5d]
/usr/local/cache_novo/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x86)[0x6a5f26]
/usr/local/cache_novo/bin/traffic_server(_ZN7EThread7executeEv+0x524)
[0x6a6a24]
GDB - DEBUG ----------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff0b4c700 (LWP 29022)]
0x00007ffff7bb1d50 in ink_atomic_cas<__int128> (mem=0x7ffff3f842a8, prev=0x00000000000000000000000000000001, next=0x000000000000000000007fff5800fac1) at ink_atomic.h:153
153 return __sync_bool_compare_and_swap(mem, prev, next);
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) bt
#0 0x00007ffff7bb1d50 in ink_atomic_cas<__int128> (mem=0x7ffff3f842a8, prev=0x00000000000000000000000000000001, next=0x000000000000000000007fff5800fac1) at ink_atomic.h:153
#1 0x00007ffff7bb1af9 in ink_atomiclist_push (l=0x7ffff3f842a8, item=0x7fff5800fac0) at ink_queue.cc:481
#2 0x00000000006cad3f in AtomicSLL<UnixNetVConnection, UnixNetVConnection::Link_write_enable_link>::push (this=0x7ffff3f842a8, c=0x7fff5800fac0) at ../../lib/ts/List.h:477
#3 0x00000000006c8af2 in UnixNetVConnection::reenable (this=0x7fff5800fac0, vio=0x7fff5800fc40) at UnixNetVConnection.cc:726
#4 0x00000000005067fb in VIO::reenable (this=0x7fff5800fc40) at ../iocore/eventsystem/P_VIO.h:124
#5 0x00000000006c8089 in UnixNetVConnection::do_io_write (this=0x7fff5800fac0, c=0x7ffed7a147d8, nbytes=4880, reader=0x7fff9001b360, owner=false) at UnixNetVConnection.cc:558
#6 0x00000000005591ae in HttpClientSession::do_io_write (this=0x7fff4c0139b0, c=0x7ffed7a147d8, nbytes=4880, buf=0x7fff9001b360, owner=false) at HttpClientSession.cc:268
#7 0x00000000005b59d4 in HttpTunnel::producer_run (this=0x7ffed7a147d8, p=0x7ffed7a149d8) at HttpTunnel.cc:870
#8 0x00000000005b5316 in HttpTunnel::tunnel_run (this=0x7ffed7a147d8, p_arg=0x0) at HttpTunnel.cc:707
#9 0x000000000056c0f1 in HttpSM::handle_api_return (this=0x7ffed7a12c40) at HttpSM.cc:1575
#10 0x000000000057f250 in HttpSM::set_next_state (this=0x7ffed7a12c40) at HttpSM.cc:6845
#11 0x000000000057e39e in HttpSM::call_transact_and_set_next_state (this=0x7ffed7a12c40, f=0) at HttpSM.cc:6628
#12 0x000000000056bfe0 in HttpSM::handle_api_return (this=0x7ffed7a12c40) at HttpSM.cc:1542
#13 0x0000000000583fe5 in HttpSM::do_api_callout (this=0x7ffed7a12c40) at HttpSM.cc:503
#14 0x000000000056cea1 in HttpSM::state_read_server_response_header (this=0x7ffed7a12c40, event=100, data=0x17c0ca0) at HttpSM.cc:1856
#15 0x000000000056f55e in HttpSM::main_handler (this=0x7ffed7a12c40, event=100, data=0x17c0ca0) at HttpSM.cc:2459
#16 0x00000000004e5c36 in Continuation::handleEvent (this=0x7ffed7a12c40, event=100, data=0x17c0ca0) at ../iocore/eventsystem/I_Continuation.h:146
#17 0x00000000006c6bbf in read_signal_and_update (event=100, vc=0x17c0b90) at UnixNetVConnection.cc:138
#18 0x00000000006c7501 in read_from_net (nh=0x7ffff2d72208, vc=0x17c0b90, thread=0x7ffff2d6f010) at UnixNetVConnection.cc:320
#19 0x00000000006c91a5 in UnixNetVConnection::net_read_io (this=0x17c0b90, nh=0x7ffff2d72208, lthread=0x7ffff2d6f010) at UnixNetVConnection.cc:820
#20 0x00000000006c39af in NetHandler::mainNetEvent (this=0x7ffff2d72208, event=5, e=0x11b0e80) at UnixNet.cc:378
#21 0x00000000004e5c36 in Continuation::handleEvent (this=0x7ffff2d72208, event=5, data=0x11b0e80) at ../iocore/eventsystem/I_Continuation.h:146
#22 0x00000000006eac78 in EThread::process_event (this=0x7ffff2d6f010, e=0x11b0e80, calling_code=5) at UnixEThread.cc:142
#23 0x00000000006eb24f in EThread::execute (this=0x7ffff2d6f010) at UnixEThread.cc:266
#24 0x00000000006e9e98 in spawn_thread_internal (a=0x107f0a0) at Thread.cc:88
#25 0x00007ffff797ae9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#26 0x00007ffff5abd4bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x0000000000000000 in ?? ()
Attachments
Issue Links
- duplicates
-
TS-1746 Crash report: UnixNetVConnection::reenable > ink_atomiclist_push > ink_atomic_cas
- Closed