qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiong Zou <zouxi...@gmail.com>
Subject Re: [Client] warning Session was not closed cleanly
Date Fri, 17 Jan 2014 08:36:48 GMT
Hi Gordon,

An initial update on the test result:
1. Change m_subscriptions.stop(); to m_subscriptions.wait();
    
      Thread stuck at m_subscriptions.wait(), no further process.

2. add m_session.close(); before m_connection.close();

      Invalid argument
      IT.OR.MD.CS.RMS.HA.Primary: ../include/qpid/sys/posix/Mutex.h:120:
void qpid::sys::Mutex::unlock(): Assertion `0' failed.
      Abort (core dumped)

3. After I enable to manually call m_subscriptions.cancel() as below, then
delete pListner; works well now.

                for(unsigned int i; i < m_vecQueueUIDs.size(); i++)
                {
                        if(!m_vecQueueUIDs[i].empty())
                                m_subscriptions.cancel(m_vecQueueUIDs[i]);
                }

Thanks & regards,
Xiong Zou





--
View this message in context: http://qpid.2158936.n2.nabble.com/Client-warning-Session-was-not-closed-cleanly-tp7602834p7602894.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message