qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Obaterspok <john.obaters...@gmail.com>
Subject Crash on delBroker
Date Sun, 05 Jul 2009 12:30:52 GMT
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);
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message