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

CMS (C++ client) crashed if getLocalHost failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.8.3
    • 3.8.4, 3.9.0
    • Decaf
    • None
    • Suse Linux 12.3

    • Patch Available

    Description

      CMS (C++ client) crashed when calling ActiveMQ::initializeLibrary(). Here is the backtrace from gdb

      #0 decaf::net::InetAddress::getLocalHost () at decaf/net/InetAddress.cpp:174
      #1 0x00007f071766247b in IdGeneratorKernel (this=0x31de9d0) at activemq/util/IdGenerator.cpp:60
      #2 activemq::util::IdGenerator::initialize () at activemq/util/IdGenerator.cpp:169
      #3 0x000000000043fe30 in main ()
      apr_sockaddr_info_get returned APR_SUCCESS but address is NULL causing the segfault at InetAddress.cpp line 174.

      Attachments

        1. InetAddress.cpp
          7 kB
          Huan Bui

        Activity

          People

            tabish Timothy A. Bish
            hbui Huan Bui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: