You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/15 21:17:00 UTC

[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-unsubscribe@qpid.apache.org

For queries about this service, please contact Infrastructure at:
users@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 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org