Qpid
  1. Qpid
  2. QPID-4816

dispatch-router crashes when incomplete (but valid) url specified by client.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23
    • Fix Version/s: None
    • Component/s: Qpid Dispatch
    • Labels:
      None

      Description

      When a client attaches to dispatch-router, and does not provide a service name (ie. text beyond the <domain>/ in the url), dispatch-router will crash.

      Example:

      ./msgr-recv -V -a amqp://0.0.0.0/foo

      works, while:

      ./msgr-recv -V -a amqp://0.0.0.0

      causes a crash with the following stack dump:

      Core was generated by `./dispatch-router --help'.
      Program terminated with signal 11, Segmentation fault.
      #0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
      39 movdqu (%rdi), %xmm1
      (gdb) bt
      #0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
      #1 0x00007fbe25cb9ac5 in dx_field_iterator_string () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #2 0x00007fbe25cbde49 in router_outgoing_link_handler () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #3 0x00007fbe25cb76b4 in setup_outgoing_link () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #4 0x00007fbe25cb7b81 in process_handler () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #5 0x00007fbe25cb7f68 in handler () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #6 0x00007fbe25cbefb5 in process_connector () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #7 0x00007fbe25cbf533 in thread_run () from /home/kgiusti/work/qpid/qpid/qpid/extras/dispatch/build/libqpid-dispatch.so.0
      #8 0x0000003cf9807d14 in start_thread (arg=0x7fbe249a3700) at pthread_create.c:309
      #9 0x0000003cf8cf168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Ted Ross
            Reporter:
            Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development