Qpid
  1. Qpid
  2. QPID-5054

[C++ broker] Deleting topic which doesn't exist crashes the broker

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.24
    • Fix Version/s: 0.24
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      CentOS 6.4, Qpid 0.24 RC1, Proton 0.4

      Description

      When the user attempts to delete a non-existent topic using the qpidt utility:
      /usr/local/libexec/qpid/tests/qpidt -b admin/admin@localhost:20000 delete topic i-do-not-exist
      it seems to result in broker crash. The trace log from the broker is attached.

      1. qpidd.log
        35 kB
        Jakub Scholz

        Activity

        Jakub Scholz created issue -
        Hide
        Jakub Scholz added a comment -

        Broker log file

        Show
        Jakub Scholz added a comment - Broker log file
        Jakub Scholz made changes -
        Field Original Value New Value
        Attachment qpidd.log [ 12596816 ]
        Gordon Sim made changes -
        Assignee Gordon Sim [ gsim ]
        Hide
        ASF subversion and git services added a comment -

        Commit 1511762 from Gordon Sim in branch 'qpid/trunk'
        [ https://svn.apache.org/r1511762 ]

        QPID-5054: check whether topic actually exists in delete request

        Show
        ASF subversion and git services added a comment - Commit 1511762 from Gordon Sim in branch 'qpid/trunk' [ https://svn.apache.org/r1511762 ] QPID-5054 : check whether topic actually exists in delete request
        Hide
        Ken Giusti added a comment -

        +1 this fix. It should go into 0.24.

        Show
        Ken Giusti added a comment - +1 this fix. It should go into 0.24.
        Hide
        Justin Ross added a comment -

        Reviewed by Ken. Approved for 0.24.

        Show
        Justin Ross added a comment - Reviewed by Ken. Approved for 0.24.
        Hide
        ASF subversion and git services added a comment -

        Commit 1511835 from Gordon Sim in branch 'qpid/branches/0.24'
        [ https://svn.apache.org/r1511835 ]

        QPID-5054: check whether topic actually exists in delete request (merged from r1511762)

        Show
        ASF subversion and git services added a comment - Commit 1511835 from Gordon Sim in branch 'qpid/branches/0.24' [ https://svn.apache.org/r1511835 ] QPID-5054 : check whether topic actually exists in delete request (merged from r1511762)
        Hide
        Gordon Sim added a comment -

        Merged to 0.24 release branch.

        Show
        Gordon Sim added a comment - Merged to 0.24 release branch.
        Gordon Sim made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.24 [ 12324776 ]
        Resolution Fixed [ 1 ]
        Hide
        Justin Ross added a comment -
        Show
        Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        5h 41m 1 Gordon Sim 08/Aug/13 16:37
        Resolved Resolved Closed Closed
        30d 22h 1 Justin Ross 08/Sep/13 14:37

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Jakub Scholz
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development