You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by nicolae claudius <ni...@yahoo.com> on 2010/04/29 11:18:05 UTC

client connection.open to a non-broker on qpid 0.6: access violation

In windows environment, visual studio compiler, make a client like:

    Connection c;
    try {
        // there is no broker running at 10.10.5.51 so an exception should be thrown
        c.open("10.10.5.51",5672,"my_user","my_password");
    } catch (...) {
        std::cout << "error" << std::endl;
    }

on qpid 0.5 an exception is thrown and catched. ALL OK HERE
on qpid 0.6 the program segfaults with the message: 
"Unhandled exception at 0x692eccb9 in testqpid06.exe: 0xC0000005: Access violation reading location 0x00000000."
This error is thrown just after executing the "c.open" line.
On Linux all is OK, the problem is only on Windows.



      

RE: client connection.open to a non-broker on qpid 0.6: access violation

Posted by Steve Huston <sh...@riverace.com>.
Could you please open a jira for this problem?
http://issues.apache.org/jira/browse/qpid

Thanks,
-Steve

--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com


> -----Original Message-----
> From: nicolae claudius [mailto:nicolae_claudius@yahoo.com] 
> Sent: Thursday, April 29, 2010 5:18 AM
> To: users@qpid.apache.org
> Subject: client connection.open to a non-broker on qpid 0.6: 
> access violation
> 
> 
> In windows environment, visual studio compiler, make a client like:
> 
>     Connection c;
>     try {
>         // there is no broker running at 10.10.5.51 so an 
> exception should be thrown
>         c.open("10.10.5.51",5672,"my_user","my_password");
>     } catch (...) {
>         std::cout << "error" << std::endl;
>     }
> 
> on qpid 0.5 an exception is thrown and catched. ALL OK HERE
> on qpid 0.6 the program segfaults with the message: 
> "Unhandled exception at 0x692eccb9 in testqpid06.exe: 
> 0xC0000005: Access violation reading location 0x00000000." 
> This error is thrown just after executing the "c.open" line. 
> On Linux all is OK, the problem is only on Windows.
> 
> 
> 
>       
> 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org