Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-328

crash found in activemqcpp when turning broker offline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.2.3
    • 3.3.0
    • CMS Impl
    • None
    • Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1

    Description

      We found a crash in activemqcpp when we are shutting down the message broker. In the meanwhile, our application is still trying to send messages to the broker, and to receive messages from it. Could you please take a look at this problem? Much thanks for your help!

      The place of the crash appears to be in TransportFilter::Fire(Exception&) on line 49. The content of the address that the listener pointer is pointing to seems to be corrupted/garbage. Please see the call stack in the attached screen shot for details.

      Attached please also find a test program to reproduce the problem. Step to run the test program:
      (1) download and unzip test program
      (2) register GTOUD.dll
      (3) register CmsMessageHandlerCOMUD.dll
      (4) run CmsMessageHandlerCOMTest.exe
      (5) repeatedly restart activemqcpp broker.
      (6) observe the crash

      Attachments

        1. BrokerMonitor.zip
          8.20 MB
          Huang Hua
        2. BrokerMonitorCrash.suo
          5 kB
          Huang Hua
        3. CMSMessageHandlerCOMTest.exe__PID__2008__Date__12_14_2010__Time_05_23_55PM__849__Manual Dump.dmp
          179 kB
          Huang Hua
        4. CrashHang_Report__CMSMessageHandlerCOMTest.exe__12142010173158964.mht
          93 kB
          Huang Hua
        5. screenshot-1.jpg
          374 kB
          Huang Hua
        6. test program.zip
          9.40 MB
          Huang Hua

        Activity

          People

            tabish Timothy A. Bish
            hhuang Huang Hua
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: