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

SEGV in qd_buffer_dec_fanout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.16.0
    • Protocol Adaptors
    • None

    Description

      code from 2021-04-26-afternoon

      {   dispatch: (main) 22689e4f95ae1945e61eec814d3ab3e2d4259f04   proton: (main) 08b301a97c834e002d41ee852bba1288fe83b936 }

       

      Test

      • Doing 1-router TCP throughput testing across high-bandwidth link.
      • Router has 32 worker threads.
      • iperf client is using "-P 10" flag, i.e. doing 10 parallel streams.  
      • Router is sustaining 10+ Gbit/sec during test.
      • SEGV happens at end of test.

       

      Here's the backtrace:

       

      #0 sys_atomic_sub (value=1, ref=0x14)
      at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/atomic.h:48
      #1 sys_atomic_dec (ref=0x14)
      at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/atomic.h:212
      #2 qd_buffer_dec_fanout (buf=0x0)
      at /home/mick/latest/qpid-dispatch/include/qpid/dispatch/buffer.h:177
      #3 qd_message_stream_data_release (stream_data=0x7f01b80038c8)
      at /home/mick/latest/qpid-dispatch/src/message.c:2627
      #4 0x00007f0237035895 in flush_outgoing_buffs (conn=conn@entry=0x7f0218012a88)
      at /home/mick/latest/qpid-dispatch/src/adaptors/tcp_adaptor.c:431
      #5 0x00007f023703905e in free_qdr_tcp_connection (tc=0x7f0218012a88)
      at /home/mick/latest/qpid-dispatch/src/adaptors/tcp_adaptor.c:455
      #6 0x00007f023707491d in router_core_thread (arg=0x1e6ccb0)
      at /home/mick/latest/qpid-dispatch/src/router_core/router_core_thread.c:239
      #7 0x00007f0236f663f9 in start_thread () from /lib64/libpthread.so.0
      #8 0x00007f0236be5b53 in clone () from /lib64/libc.so.6

       

      Attachments

        Activity

          People

            chug Charles E. Rolke
            michaelgoulish michael goulish
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: