Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2286

Segfault while running iperf3 tests due to null raw connection pointer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.18.0
    • 1.18.0
    • Protocol Adaptors
    • None

    Description

      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

      Attachments

        1. qdrouterd-B.conf
          2 kB
          Ken Giusti
        2. qdrouterd-A.conf
          2 kB
          Ken Giusti

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: