[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444698#comment-17444698 ] ASF subversion and git services commented on DISPATCH-2286: --- Commit 6734891419fcafdbc87d40eca269d07821c1b813 in qpid-dispatch's branch refs/heads/1.18.x from Ken Giusti [ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=6734891 ] DISPATCH-2286: reset the raw conn context when handling disconnect This prevents further raw connection events from arriving after the disconnect has be handled. This closes #1438 (cherry picked from commit fe0a9da79f6d42054b2ec240c1231f9128775ff4) > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444700#comment-17444700 ] ASF GitHub Bot commented on DISPATCH-2286: -- kgiusti merged pull request #1440: URL: https://github.com/apache/qpid-dispatch/pull/1440 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444575#comment-17444575 ] ASF subversion and git services commented on DISPATCH-2286: --- Commit fe0a9da79f6d42054b2ec240c1231f9128775ff4 in qpid-dispatch's branch refs/heads/main from Ken Giusti [ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=fe0a9da ] DISPATCH-2286: reset the raw conn context when handling disconnect This prevents further raw connection events from arriving after the disconnect has be handled. This closes #1438 > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444576#comment-17444576 ] ASF GitHub Bot commented on DISPATCH-2286: -- asfgit closed pull request #1438: URL: https://github.com/apache/qpid-dispatch/pull/1438 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444115#comment-17444115 ] Gordon Sim commented on DISPATCH-2286: -- Out of curiousity is that a regression in proton? > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (DISPATCH-2286) Segfault while running iperf3 tests due to null raw connection pointer
[ https://issues.apache.org/jira/browse/DISPATCH-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444110#comment-17444110 ] ASF GitHub Bot commented on DISPATCH-2286: -- kgiusti opened a new pull request #1438: URL: https://github.com/apache/qpid-dispatch/pull/1438 There's a bug in proton raw connection events where PN_RAW_CONNECTION_WAKE events can arrive *after* the PN_RAW_CONNECTION_DISCONNECTED event. Clearing this context value ensures these extra events are ignored. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Segfault while running iperf3 tests due to null raw connection pointer > -- > > Key: DISPATCH-2286 > URL: https://issues.apache.org/jira/browse/DISPATCH-2286 > Project: Qpid Dispatch > Issue Type: Bug > Components: Protocol Adaptors >Affects Versions: 1.18.0 >Reporter: Ken Giusti >Assignee: Ken Giusti >Priority: Critical > Attachments: qdrouterd-A.conf, qdrouterd-B.conf > > > AddressSanitizer:DEADLYSIGNAL > > = > > ==10828==ERROR: AddressSanitizer: SEGV on unknown address 0x0426 (pc > 0x7f2949176c40 bp 0x7fff76eaff00 sp 0x7fff76eafe38 T0) > ==10828==The signal is caused by a READ memory access. > > ==10828==Hint: address points to the zero page. > > #0 0x7f2949176c40 in pn_raw_connection_take_read_buffers > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 > > #1 0x49d7b9 in handle_incoming_raw_read > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:254 > > #2 0x49eceb in handle_incoming > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:308 > > #3 0x4a884f in handle_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/adaptors/tcp_adaptor.c:872 > > #4 0x6e4de2 in handle_event_with_context > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:814 > > #5 0x6e4e23 in do_handle_raw_connection_event > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:820 > > #6 0x6e91a7 in handle > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1101 > > #7 0x6e945a in thread_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1133 > > #8 0x6f0934 in qd_server_run > /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1527 > > #9 0x42d6a8 in main_process > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 > > #10 0x42f528 in main > /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 > > #11 0x7f29481f31e1 in __libc_start_main (/lib64/libc.so.6+0x281e1) > > #12 0x42d3cd in _start (/opt/kgiusti/sbin/qdrouterd+0x42d3cd) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > /home/kgiusti/work/proton/qpid-proton/c/src/proactor/raw_connection.c:318 in > pn_raw_connection_take_read_buffers > ==10828==ABORTING -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org