You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/09/28 21:23:21 UTC

[jira] [Commented] (TS-4905) Crash when slow logging is enabled.

    [ https://issues.apache.org/jira/browse/TS-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15530915#comment-15530915 ] 

James Peach commented on TS-4905:
---------------------------------

This looks to me like {{ua_session->get_netvc()}} should just be returning {{NULL}}:

{noformat}
(gdb) where
#0  0x00000000004f166c in ProxyClientTransaction::get_netvc (this=<optimized out>) at http/../ProxyClientTransaction.h:43
#1  0x00000000005a1712 in HttpSM::update_stats (this=this@entry=0x7fffef2fbc20) at HttpSM.cc:6972
#2  0x00000000005b4350 in HttpSM::kill_this (this=this@entry=0x7fffef2fbc20) at HttpSM.cc:6838
#3  0x00000000005b4ee8 in HttpSM::main_handler (this=0x7fffef2fbc20, event=2301, data=0x7fffef2fcf38) at HttpSM.cc:2674
#4  0x00000000005f174d in handleEvent (data=0x7fffef2fcf38, event=2301, this=<optimized out>) at ../../iocore/eventsystem/I_Continuation.h:153
#5  HttpTunnel::main_handler (this=0x7fffef2fcf38, event=<optimized out>, data=<optimized out>) at HttpTunnel.cc:1662
#6  0x00000000004ea7e2 in handleEvent (data=0x7fffef5cc478, event=103, this=<optimized out>) at ../iocore/eventsystem/I_Continuation.h:153
#7  PluginVC::process_write_side (this=this@entry=0x7fffef5cc328, other_side_call=other_side_call@entry=false) at PluginVC.cc:549
#8  0x00000000004ed1b9 in PluginVC::main_handler (this=0x7fffef5cc328, event=<optimized out>, data=0x7fffef5a4860) at PluginVC.cc:229
#9  0x000000000076ced0 in handleEvent (data=0x7fffef5a4860, event=1, this=<optimized out>) at I_Continuation.h:153
#10 EThread::process_event (this=0x7ffff3a08000, e=0x7fffef5a4860, calling_code=1) at UnixEThread.cc:146
#11 0x000000000076db8b in EThread::execute (this=0x7ffff3a08000) at UnixEThread.cc:200
#12 0x000000000076c95a in spawn_thread_internal (a=0x7ffff4cb4e80) at Thread.cc:84
#13 0x00007ffff6922184 in start_thread (arg=0x7ffff3dcd700) at pthread_create.c:312
#14 0x00007ffff5c2b37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) p this->ua_session
$20 = (ProxyClientTransaction *) 0x7fffef20fad8
(gdb) p this->ua_session->parent
$21 = (ProxyClientSession *) 0x7fffef20f800
(gdb) p ((Http1ClientSession *)$21)->client_vc
$22 = (NetVConnection *) 0x0
{noformat}

> Crash when slow logging is enabled.
> -----------------------------------
>
>                 Key: TS-4905
>                 URL: https://issues.apache.org/jira/browse/TS-4905
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: James Peach
>             Fix For: 7.1.0
>
>
> {noformat}
> Thread 14158, [ET_NET 5]:
> 0    0x00000000004ad342 crash_logger_invoke(int, siginfo_t*, void*) + 0x72
> 1    0x00002abccff59330 __restore_rt + (nil)
> 2    0x00000000004f166c ProxyClientTransaction::get_netvc() const + 0xc
> 3    0x00000000005a1712 HttpSM::update_stats() + 0x322
> 4    0x00000000005b4350 HttpSM::kill_this() + 0x380
> 5    0x00000000005b4ee8 HttpSM::main_handler(int, void*) + 0x108
> 6    0x00000000005f174d HttpTunnel::main_handler(int, void*) + 0x19d
> 7    0x00000000004ea7e2 PluginVC::process_write_side(bool) + 0x572
> 8    0x00000000004ed1b9 PluginVC::main_handler(int, void*) + 0x3a9
> 9    0x000000000076ced0 EThread::process_event(Event*, int) + 0x120
> 10   0x000000000076db8b EThread::execute() + 0x7fb
> 11   0x000000000076c95a spawn_thread_internal(void*) + 0x4a
> 12   0x00002abccff51184 start_thread + 0xc4
> 13   0x00002abcd0c8537d clone + 0x6d
> 14   0x0000000000000000 0x0 + 0x6d
> {noformat}
> In my build (close to master), this happens every time I enable slow logging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)