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

Assertion hit while running ctests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: Router Node
    • Labels:
      None

      Description

      Built target with -DCMAKE_BUILD_TYPE=Debug so asserts will be enabled.
      Assert hit during system_tests_edge_router:

      48: test_31_multicast_mobile_address_same_edge (system_tests_edge_router.RouterTest) ... ok
      48: test_32_multicast_mobile_address_different_edges_same_interior (system_tests_edge_router.RouterTest) ... Fatal Python error: deallocating None
      48/55 Test #48: system_tests_edge_router ..........................***Exception: Child aborted125.87 sec

      Backtrace:

      #0 0x00007f04b11b0eab in raise () from /lib64/libc.so.6
      #1 0x00007f04b119b5b9 in abort () from /lib64/libc.so.6
      #2 0x00007f04b119b491 in __assert_fail_base.cold.0 () from /lib64/libc.so.6
      #3 0x00007f04b11a9612 in __assert_fail () from /lib64/libc.so.6
      #4 0x00007f04b265d112 in sys_mutex_lock (mutex=0x7f049404d180) at /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:57
      #5 0x00007f04b2686795 in qdr_deliver_continue_peers_CT (core=0x103ed00, in_dlv=0x1058c90) at /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/transfer.c:1190
      #6 0x00007f04b266bc7b in qdr_link_cleanup_deliveries_CT (core=0x103ed00, conn=0x7f04901d4730, link=0x7f04901560c0)
      at /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/connections.c:742
      #7 0x00007f04b266e3ac in qdr_link_inbound_detach_CT (core=0x103ed00, action=0x7f04900772f0, discard=false)
      at /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/connections.c:1651
      #8 0x00007f04b267ee68 in router_core_thread (arg=0x103ed00) at /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:124
      #9 0x00007f04b1fbe594 in start_thread () from /lib64/libpthread.so.0
      #10 0x00007f04b1273ecf in clone () from /lib64/libc.so.6

      (gdb) up
      #5 0x00007f04b2686795 in qdr_deliver_continue_peers_CT (core=0x103ed00, in_dlv=0x1058c90) at /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/transfer.c:1190
      1190 sys_mutex_lock(peer->link->conn->work_lock);
      (gdb) list
      1185 // Determines if the peer connection can be activated.
      1186 // For a large message, the peer delivery's link_work MUST be at the head of the peer link's work list. This link work is only removed
      1187 // after the streaming message has been sent.
      1188 //
      1189 if (work) {
      --> 1190 sys_mutex_lock(peer->link->conn->work_lock);
      1191 if (work->processing || work == DEQ_HEAD(peer->link->work_list)) {
      1192 // Adding this work at priority 0.
      1193 qdr_add_link_ref(peer->link->conn->links_with_work, peer->link, QDR_LINK_LIST_CLASS_WORK);
      1194 sys_mutex_unlock(peer->link->conn->work_lock);

        Attachments

          Activity

            People

            • Assignee:
              gmurthy Ganesh Murthy
              Reporter:
              kgiusti Ken Giusti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: