[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259090#comment-15259090 ] ASF GitHub Bot commented on TS-4055: Github user asfgit closed the pull request at: https://github.com/apache/trafficserver/pull/585 > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259089#comment-15259089 ] ASF subversion and git services commented on TS-4055: - Commit f1800a5e902288b2a616487d25a3d33b99fc6ba5 in trafficserver's branch refs/heads/master from shinrich [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=f1800a5 ] TS-4055: another clean up fix to eliminate the crash case. This closes #585. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259067#comment-15259067 ] ASF GitHub Bot commented on TS-4055: Github user shinrich commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-214905902 It looks like @bcall merged it up as part of f17e7c6ddf8d771b3dc21b59360e982c55423c46 but mislabeled it for TS-4056. So it is definitely in there. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251561#comment-15251561 ] ASF GitHub Bot commented on TS-4055: Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-212809087 @shinrich I'm closed the PR, but github show me "but the oknet:patch-1 branch has unmerged commits". > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251560#comment-15251560 ] ASF GitHub Bot commented on TS-4055: Github user oknet closed the pull request at: https://github.com/apache/trafficserver/pull/373 > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248546#comment-15248546 ] ASF GitHub Bot commented on TS-4055: GitHub user shinrich opened a pull request: https://github.com/apache/trafficserver/pull/585 TS-4055: another clean up fix to eliminate the crash case. Another fix for TS-4055 to eliminate NULL server_entry->write_vio's. See discussion on PR #373 You can merge this pull request into a Git repository by running: $ git pull https://github.com/shinrich/trafficserver ts-4055 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/585.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #585 commit ebb0725d6df513b320b2987a3cd5bd9e80b3f048 Author: shinrich Date: 2016-04-19T20:12:39Z TS-4055: another clean up fix to eliminate the crash case. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248535#comment-15248535 ] ASF GitHub Bot commented on TS-4055: Github user shinrich commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-212108558 Ok, I see, @bcall commited this change on 12/14/15, but was off by one in the bug number, So all the commits didn't necessarily line up nicely. The commit # was f17e7c6ddf8d771b3dc21b59360e982c55423c46 > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248527#comment-15248527 ] ASF GitHub Bot commented on TS-4055: Github user shinrich commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-212107082 Sorry for the long delay. It looks like the original code change in this PR got committed to master through one path or another. @oknet you can go ahead and close this PR. I'll make another PR to change the assignment to write_vio that I suggested. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159313#comment-15159313 ] ASF GitHub Bot commented on TS-4055: Github user bryancall commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-187818356 @shinrich is going to shepard this. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092275#comment-15092275 ] Luca Bruno commented on TS-4055: I'm getting a similar crash with ats 6.0.0, but the stack trace is different. Note that I'm not using traffic_cop, but directly traffic_manager: traffic_server: Segmentation fault (Address not mapped to object [0x8]) traffic_server - STACK TRACE: /usr/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0xa7)[0x2b1869771db7] /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x2b186c0538d0] /usr/bin/traffic_server(_ZN10NetHandler9_close_vcEP18UnixNetVConnectionlRiS2_S2_S2_+0x2a8)[0x2b18699b8e58] /usr/bin/traffic_server(_ZN10NetHandler19manage_active_queueEv+0xd3)[0x2b18699b9143] /usr/bin/traffic_server(_ZN10NetHandler19add_to_active_queueEP18UnixNetVConnection+0x2a)[0x2b18699b91fa] /usr/bin/traffic_server(_ZN17HttpClientSession15new_transactionEv+0x125)[0x2b1869820795] /usr/bin/traffic_server(_ZN18ProxyClientSession17state_api_calloutEiPv+0x33)[0x2b18697ac1b3] /usr/bin/traffic_server(_ZN17HttpClientSession14new_connectionEP14NetVConnectionP9MIOBufferP14IOBufferReaderb+0x234)[0x2b186981fd04] /usr/bin/traffic_server(_ZN17HttpSessionAccept6acceptEP14NetVConnectionP9MIOBufferP14IOBufferReader+0x23d)[0x2b186981b3bd] /usr/bin/traffic_server(_ZN23ProtocolProbeTrampoline17ioCompletionEventEiPv+0x2da)[0x2b18697abeaa] /usr/bin/traffic_server(+0x3235d8)[0x2b18699c45d8] /usr/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x29a)[0x2b18699b7a7a] /usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x150)[0x2b18699e7550] /usr/bin/traffic_server(_ZN7EThread7executeEv+0x67e)[0x2b18699e80ee] /usr/bin/traffic_server(+0x345ff6)[0x2b18699e6ff6] /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x2b186c04c0a4] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x2b186d0d404d] Is it the same or should I file a bug? If it's the same issue, which commits should I apply on top of 6.0.0 to test? Or which commit should I try? > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070572#comment-15070572 ] ASF GitHub Bot commented on TS-4055: Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-167039829 Thanks! you are right. I got a core file that show me the write_vio is NULL in gdb. Can you revert this pull request then create a new patch to set write_vio in HttpSM::attach_server_session to get a perfectly result? > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069787#comment-15069787 ] ASF GitHub Bot commented on TS-4055: Github user shinrich commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-166932419 The change is small enough to be reasonable defensive code. And it if got rid of your crash, that is great. However, a better solution may be to assign the server_entry->write_vio in HttpSM::attach_server_session around line 5692 {code} // Transfer control of the write side as well server_session->do_io_write(this, 0, NULL); {code} The call to do_io_read above assigned the results to server_entry->read_vio. We should do the same thing for the server_entry->write_vio. Since the server_entry is set in this function, if we set server_entry->write_vio here too, there would be no path with an unset write_vio. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063432#comment-15063432 ] Oknet Xu commented on TS-4055: -- this issue is TS-4055, not TS-4056. > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060455#comment-15060455 ] Bryan Call commented on TS-4055: The fix for this has an incorrect commit comment: {code} commit f17e7c6ddf8d771b3dc21b59360e982c55423c46 Author: Oknet Xu Date: Mon Dec 14 19:17:16 2015 -0800 TS-4056: remove alloc_cache from NetAccept This closes #366 {code} > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-4055) Coredump when closing a transaction with a stalled connection to the origin
[ https://issues.apache.org/jira/browse/TS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057438#comment-15057438 ] bettydramit commented on TS-4055: - It works with https://github.com/apache/trafficserver/pull/373.patch(running over 48 Hours) > Coredump when closing a transaction with a stalled connection to the origin > - > > Key: TS-4055 > URL: https://issues.apache.org/jira/browse/TS-4055 > Project: Traffic Server > Issue Type: Bug >Affects Versions: 6.0.1 >Reporter: bettydramit >Assignee: Bryan Call > Labels: crash > Fix For: 6.0.1, 6.1.0 > > > {code} > c++filt traffic_server: Segmentation fault (Address not mapped to object [0x8]) > traffic_server - STACK TRACE: > /usr/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, > void*)+0x8e)[0x4abf4e] > /lib64/libpthread.so.0(+0x10430)[0x2abaac562430] > /usr/bin/traffic_server(HttpSM::handle_server_setup_error(int, > void*)+0x25b)[0x5b5d0b] > /usr/bin/traffic_server(HttpSM::state_send_server_request_header(int, > void*)+0x142)[0x5c0dd2] > /usr/bin/traffic_server(HttpSM::main_handler(int, void*)+0xc8)[0x5c5e38] > /usr/bin/traffic_server(UnixNetVConnection::mainEvent(int, > Event*)+0x4ff)[0x78651f] > /usr/bin/traffic_server(InactivityCop::check_inactivity(int, > Event*)+0x28d)[0x7789ad] > /usr/bin/traffic_server(EThread::process_event(Event*, int)+0x8a)[0x7bdf5a] > /usr/bin/traffic_server(EThread::execute()+0xaa5)[0x7bf045] > /usr/bin/traffic_server[0x7bda25] > /lib64/libpthread.so.0(+0x7555)[0x2abaac559555] > /lib64/libc.so.6(clone+0x6d)[0x2abaad67bb9d] > Dec 05 21:00:12 localhost sendEmail[23289]: Email was sent successfully! > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)