Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-56

qdstat -l coredumps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLI Tools
    • None
    • Hide

      1) Have qdrouterd with >3k links (use e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1312419#c3 to create them)
      2) qdstat -l
      (it will coredump with some probability)

      Show
      1) Have qdrouterd with >3k links (use e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1312419#c3 to create them) 2) qdstat -l (it will coredump with some probability)

      When having a qdrouterd with many links (approx. 3000 or more), qdstat -l sometimes coredumps.

      Attaching tcpdump of the communication (port 5648 used) and abrt report (has sosrport and coredump).

      for reference, backtrace is:

      (gdb) bt full
      #0  pn_data_new (data=data@entry=0x28cb7d0) at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/codec.c:1126
              node = 0x240000
      #1  0x00007f06107eaeb0 in pn_data_add (data=data@entry=0x28cb7d0) at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/codec.c:1379
              current = <optimized out>
              parent = <optimized out>
              node = <optimized out>
      #2  0x00007f06107eb099 in pn_data_put_null (data=data@entry=0x28cb7d0)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/codec.c:1470
              node = <optimized out>
      #3  0x00007f06107ee170 in pn_decoder_decode_value (decoder=decoder@entry=0x2998690, data=data@entry=0x28cb7d0, code=<optimized out>)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:208
              err = <optimized out>
              size = <optimized out>
              count = <optimized out>
      #4  0x00007f06107ed820 in pn_decoder_single (decoder=0x2998690, data=0x28cb7d0)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:476
              code = 64 '@'
              err = 0
      #5  0x00007f06107ee233 in pn_decoder_decode_value (decoder=decoder@entry=0x2998690, data=data@entry=0x28cb7d0, code=<optimized out>)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:426
              e = <optimized out>
              i = 4
              err = <optimized out>
              size = <optimized out>
              count = 10
      #6  0x00007f06107ed820 in pn_decoder_single (decoder=0x2998690, data=0x28cb7d0)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:476
              code = 208 '\320'
              err = 0
      #7  0x00007f06107ee233 in pn_decoder_decode_value (decoder=decoder@entry=0x2998690, data=data@entry=0x28cb7d0, code=<optimized out>)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:426
              e = <optimized out>
              i = 2978
              err = <optimized out>
              size = <optimized out>
              count = 4520
      #8  0x00007f06107ed820 in pn_decoder_single (decoder=0x2998690, data=0x28cb7d0)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:476
              code = 208 '\320'
              err = 0
      #9  0x00007f06107ee233 in pn_decoder_decode_value (decoder=decoder@entry=0x2998690, data=data@entry=0x28cb7d0, code=<optimized out>)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:426
              e = <optimized out>
              i = 1
              err = <optimized out>
              size = <optimized out>
              count = 4
      #10 0x00007f06107ed820 in pn_decoder_single (decoder=0x2998690, data=0x28cb7d0)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:476
              code = 209 '\321'
              err = 0
      #11 0x00007f06107ee347 in pn_decoder_decode (decoder=0x2998690, src=src@entry=0x7f060e181149 "", size=size@entry=804559, 
          dst=<optimized out>) at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/decoder.c:490
              err = <optimized out>
      #12 0x00007f06107eafec in pn_data_decode (data=<optimized out>, bytes=bytes@entry=0x7f060e181149 "", size=size@entry=804559)
          at /usr/src/debug/qpid-proton-0.9/proton-c/src/codec/codec.c:1429
      No locals.
      #13 0x00007f06107f97c8 in pn_message_decode (msg=msg@entry=0x28cb060, bytes=0x7f060e181149 "", bytes@entry=0x7f060e181034 "", 
          size=804559, size@entry=804836) at /usr/src/debug/qpid-proton-0.9/proton-c/src/message/message.c:660
              used = <optimized out>
              scanned = true
              desc = 116
              err = <optimized out>
      ..
      

        1. qdstat-segfault.cap
          629 kB
        2. coredump.gz
          2.87 MB

              Unassigned Unassigned
              rhn-support-pmoravec Pavel Moravec
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: