Qpid
  1. Qpid
  2. QPID-5339

Dispatch - Intermittent crashes during scripted six-node tests

    Details

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

      Description

      Hat Tip: Mick Goulish

      Mick did some soak testing and discovered that a six-router topology, set up by a script, would occasionally leave core dumps.

      Analysis revealed that the crash would occur sometimes when two threads simultaneously attempted to allocate the first instance of the same type. There is a thread-safety issue in the initializer for the type-allocator.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1541679 from Ted Ross in branch 'dispatch/trunk'
        [ https://svn.apache.org/r1541679 ]

        QPID-5339 - Fixed thread safety issue in the type allocator initialization

        • Added a memory test-mode to check for under/over-run of allocated space.
        Show
        ASF subversion and git services added a comment - Commit 1541679 from Ted Ross in branch 'dispatch/trunk' [ https://svn.apache.org/r1541679 ] QPID-5339 - Fixed thread safety issue in the type allocator initialization Added a memory test-mode to check for under/over-run of allocated space.

          People

          • Assignee:
            Ted Ross
            Reporter:
            Ted Ross
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development