You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2007/11/14 09:51:43 UTC

[jira] Created: (QPID-683) Assertion in SessionCore::connectionClosed()

Assertion in SessionCore::connectionClosed()
--------------------------------------------

                 Key: QPID-683
                 URL: https://issues.apache.org/jira/browse/QPID-683
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
            Reporter: Gordon Sim


#0  0x45b8b410 in __kernel_vsyscall ()
#1  0x45bd1069 in raise () from /lib/libc.so.6
#2  0x45bd2671 in abort () from /lib/libc.so.6
#3  0x45bca9d9 in __assert_fail () from /lib/libc.so.6
#4  0x001ad95c in qpid::client::SessionCore::connectionClosed (this=Variable "this" is not available.
) at qpid/client/SessionCore.cpp:280
#5  0x0018a65b in qpid::client::ConnectionImpl::forChannels<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::SessionCore, unsigned short, std::string const&>, boost::_bi::list3<boost::arg<1>, boost::_bi::value<unsigned short>, boost::_bi::value<std::string> > > > (this=0x90ca650, functor=@0xb7585b84) at /usr/include/boost/bind/mem_fn_template.hpp:262
#6  0x001881b5 in qpid::client::ConnectionImpl::closed (this=0x90ca650, code=541, text=@0xb7586014)
    at qpid/client/ConnectionImpl.cpp:129
#7  0x00188aad in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::ConnectionImpl, unsigned short, std::string const&>, boost::_bi::list3<boost::_bi::value<qpid::client::ConnectionImpl*>, boost::arg<1>, boost::arg<2> > >, void, unsigned short, std::string const&>::invoke (function_obj_ptr=
      {obj_ptr = 0x90ca788, const_obj_ptr = 0x90ca788, func_ptr = 0x90ca788, data = "\210"}, a0=541, a1=@0xb7586014)
    at /usr/include/boost/bind/mem_fn_template.hpp:252
#8  0x001a3ca9 in boost::function2<void, unsigned short, std::string const&, std::allocator<void> >::operator() (
    this=0x90ca74c, a0=541, a1=@0xb7586014) at /usr/include/boost/function/function_template.hpp:576
#9  0x001a2301 in qpid::client::ConnectionHandler::handle (this=0x90ca678, method=0xb758600c)
    at qpid/client/ConnectionHandler.cpp:184

void SessionCore::connectionClosed(uint16_t code, const std::string& text) {
    Lock l(state);
    try {
        doClose(code, text);
    } catch(...) { assert (0); }
}

So doClose() threw an exception... don't know what it was I'm afraid.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (QPID-683) Assertion in SessionCore::connectionClosed()

Posted by Alan Conway <ac...@redhat.com>.
Gordon Sim (JIRA) wrote:
> Assertion in SessionCore::connectionClosed()
> --------------------------------------------
> 
>                  Key: QPID-683
>                  URL: https://issues.apache.org/jira/browse/QPID-683
>              Project: Qpid
>           Issue Type: Bug
>           Components: C++ Client
>             Reporter: Gordon Sim
> 
> 
> #0  0x45b8b410 in __kernel_vsyscall ()
> #1  0x45bd1069 in raise () from /lib/libc.so.6
> #2  0x45bd2671 in abort () from /lib/libc.so.6
> #3  0x45bca9d9 in __assert_fail () from /lib/libc.so.6
> #4  0x001ad95c in qpid::client::SessionCore::connectionClosed (this=Variable "this" is not available.
> ) at qpid/client/SessionCore.cpp:280
> #5  0x0018a65b in qpid::client::ConnectionImpl::forChannels<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::SessionCore, unsigned short, std::string const&>, boost::_bi::list3<boost::arg<1>, boost::_bi::value<unsigned short>, boost::_bi::value<std::string> > > > (this=0x90ca650, functor=@0xb7585b84) at /usr/include/boost/bind/mem_fn_template.hpp:262
> #6  0x001881b5 in qpid::client::ConnectionImpl::closed (this=0x90ca650, code=541, text=@0xb7586014)
>     at qpid/client/ConnectionImpl.cpp:129
> #7  0x00188aad in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::ConnectionImpl, unsigned short, std::string const&>, boost::_bi::list3<boost::_bi::value<qpid::client::ConnectionImpl*>, boost::arg<1>, boost::arg<2> > >, void, unsigned short, std::string const&>::invoke (function_obj_ptr=
>       {obj_ptr = 0x90ca788, const_obj_ptr = 0x90ca788, func_ptr = 0x90ca788, data = "\210"}, a0=541, a1=@0xb7586014)
>     at /usr/include/boost/bind/mem_fn_template.hpp:252
> #8  0x001a3ca9 in boost::function2<void, unsigned short, std::string const&, std::allocator<void> >::operator() (
>     this=0x90ca74c, a0=541, a1=@0xb7586014) at /usr/include/boost/function/function_template.hpp:576
> #9  0x001a2301 in qpid::client::ConnectionHandler::handle (this=0x90ca678, method=0xb758600c)
>     at qpid/client/ConnectionHandler.cpp:184
> 
> void SessionCore::connectionClosed(uint16_t code, const std::string& text) {
>     Lock l(state);
>     try {
>         doClose(code, text);
>     } catch(...) { assert (0); }
> }
> 
> So doClose() threw an exception... don't know what it was I'm afraid.
>
Probably should make that: catch(const std::exception&e) { 
QPID_LOG(critical, e.what()); assert(0); }



[jira] Closed: (QPID-683) Assertion in SessionCore::connectionClosed()

Posted by "Alan Conway (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway closed QPID-683.
----------------------------

    Resolution: Fixed

This area has been extensively refactored & tested since. Closing the JIRA.

> Assertion in SessionCore::connectionClosed()
> --------------------------------------------
>
>                 Key: QPID-683
>                 URL: https://issues.apache.org/jira/browse/QPID-683
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>            Reporter: Gordon Sim
>
> #0  0x45b8b410 in __kernel_vsyscall ()
> #1  0x45bd1069 in raise () from /lib/libc.so.6
> #2  0x45bd2671 in abort () from /lib/libc.so.6
> #3  0x45bca9d9 in __assert_fail () from /lib/libc.so.6
> #4  0x001ad95c in qpid::client::SessionCore::connectionClosed (this=Variable "this" is not available.
> ) at qpid/client/SessionCore.cpp:280
> #5  0x0018a65b in qpid::client::ConnectionImpl::forChannels<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::SessionCore, unsigned short, std::string const&>, boost::_bi::list3<boost::arg<1>, boost::_bi::value<unsigned short>, boost::_bi::value<std::string> > > > (this=0x90ca650, functor=@0xb7585b84) at /usr/include/boost/bind/mem_fn_template.hpp:262
> #6  0x001881b5 in qpid::client::ConnectionImpl::closed (this=0x90ca650, code=541, text=@0xb7586014)
>     at qpid/client/ConnectionImpl.cpp:129
> #7  0x00188aad in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, qpid::client::ConnectionImpl, unsigned short, std::string const&>, boost::_bi::list3<boost::_bi::value<qpid::client::ConnectionImpl*>, boost::arg<1>, boost::arg<2> > >, void, unsigned short, std::string const&>::invoke (function_obj_ptr=
>       {obj_ptr = 0x90ca788, const_obj_ptr = 0x90ca788, func_ptr = 0x90ca788, data = "\210"}, a0=541, a1=@0xb7586014)
>     at /usr/include/boost/bind/mem_fn_template.hpp:252
> #8  0x001a3ca9 in boost::function2<void, unsigned short, std::string const&, std::allocator<void> >::operator() (
>     this=0x90ca74c, a0=541, a1=@0xb7586014) at /usr/include/boost/function/function_template.hpp:576
> #9  0x001a2301 in qpid::client::ConnectionHandler::handle (this=0x90ca678, method=0xb758600c)
>     at qpid/client/ConnectionHandler.cpp:184
> void SessionCore::connectionClosed(uint16_t code, const std::string& text) {
>     Lock l(state);
>     try {
>         doClose(code, text);
>     } catch(...) { assert (0); }
> }
> So doClose() threw an exception... don't know what it was I'm afraid.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.