[ 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 0x000000000426 (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