qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Ross <tr...@redhat.com>
Subject Re: Crash on delBroker
Date Mon, 06 Jul 2009 12:16:20 GMT
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:users-subscribe@qpid.apache.org


Mime
View raw message