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

Dispatch crash on running c sender and receiver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • Container
    • None

    Description

      Sender and receiver c classes are attached.

      Start the router (dispatch-master and proton-master)
      Start the senders and receivers like this

      ./receiver -a 172.123.10.11:10000 -c 36000 -q -s test6_1 &
      ./sender -a 172.123.10.11:10000 -c 36000 -q -u -t test6_1

      The router crashes with the following backtrace

      (gdb) bt
      #0  0x0000000000000070 in ?? ()
      #1  0x00007f31bba40de0 in pn_class_free (clazz=0x7f31a0058f80, object=0x7f31a0025680) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:117
      #2  0x00007f31bba40fcf in pn_free (object=<optimized out>) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:263
      #3  0x00007f31bba4bcf2 in pni_free_children (children=0x7f31a0017180, freed=0x7f31a0017040) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/engine/engine.c:456
      #4  0x00007f31bba4c509 in pn_session_finalize (object=0x7f31a0038fa0) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/engine/engine.c:926
      #5  0x00007f31bba40d98 in pn_class_decref (clazz=0x7f31bbc78500 <clazz.4954>, object=0x7f31a0038fa0) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:95
      #6  0x00007f31bba4f140 in pn_event_finalize (event=0x7f31a0016b40) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:212
      #7  pn_event_finalize_cast (object=0x7f31a0016b40) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:257
      #8  0x00007f31bba40d98 in pn_class_decref (clazz=0x7f31bbc78600 <clazz.3098>, clazz@entry=0x7f31bbc77f00 <PN_OBJECT>, object=0x7f31a0016b40)
          at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:95
      #9  0x00007f31bba40faf in pn_decref (object=<optimized out>) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:253
      #10 0x00007f31bba4f402 in pn_collector_pop (collector=collector@entry=0x7f31a0019340) at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:189
      #11 0x00007f31bbcbc82e in process_connector (cxtr=<optimized out>, qd_server=0x15f7bb0) at /usr/src/debug/qpid-dispatch-0.7.0/src/server.c:856
      #12 thread_run (arg=<optimized out>) at /usr/src/debug/qpid-dispatch-0.7.0/src/server.c:1080
      #13 0x00007f31bb818dc5 in start_thread () from /lib64/libpthread.so.0
      #14 0x00007f31bad741cd in clone () from /lib64/libc.so.6
      

      Attachments

        1. receiver.c
          8 kB
          Ganesh Murthy
        2. sender.c
          10 kB
          Ganesh Murthy
        3. build.sh
          0.1 kB
          Ganesh Murthy

        Issue Links

          Activity

            People

              gmurthy Ganesh Murthy
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: