John Obaterspok wrote:
Hello,

Any hints on while the below program always crashes?
(qpidc-0.5.752600 on i686)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include "qpid/console/ConsoleListener.h"
#include "qpid/console/SessionManager.h"
#include "qpid/sys/Time.h"

void initQPID()
{
    qpid::client::ConnectionSettings settings;
    qpid::console::SessionManager sm;

    std::cout << "sm.addBroker:" << std::endl;
    qpid::console::Broker* broker = sm.addBroker(settings);

    std::cout << "sm.delBroker" << std::endl;
    sm.delBroker(broker);
}

int main(int argc, char *argv[])
{
    initQPID();
    sleep(10);
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

John,

This crash is due to a bug that was fixed on the trunk in revision 782766 (http://svn.apache.org/viewvc?view=rev&revision=782766).

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to