View Single Post
  #1 (permalink)  
Old 07-18-2005
DeepDiver's Avatar
DeepDiver DeepDiver is offline
Registered User
 
Name: Thomas Müller
Organization: Freelance Software Developer
Project: Project depend on Customers
 
Join Date: Nov 2004
Location: Munich, Bavaria, Germany
Posts: 100
"Assertion Failed" on Communicator.Destroy

hi,

i get an Assertion (screenshot attached).

this is my code snippet causing the assertion:

Code:
		public void Shutdown()
		{
			if( m_adapter != null )
			{
				m_adapter.deactivate();
			}
			if( m_communicator != null )
			{
				m_communicator.shutdown();
				m_communicator.destroy();
				m_communicator = null;

				m_comm_ref_count = 0;
			}
		}
i also have following printout in the log file:
Code:
[ice.error]: exception in `Ice.ThreadPool.Server' thread domain-Corsair.Test.dll-Ice.ThreadPool.Server-0:
Ice.SocketException: SocketException ---> System.Net.Sockets.SocketException: An operation was attempted on something that is not a socket
   at System.Net.Sockets.Socket.Select(IList checkRead, IList checkWrite, IList checkError, Int32 microSeconds)
   at IceInternal.Network.doSelect(IList checkRead, IList checkWrite, IList checkError, Int32 milliSeconds)
   --- End of inner exception stack trace ---
   at IceInternal.Network.doSelect(IList checkRead, IList checkWrite, IList checkError, Int32 milliSeconds)
   at IceInternal.ThreadPool.run(BasicStream stream)
   at IceInternal.EventHandlerThread.Run()
environment:
ICE 2.1.1, WinXP

thanks for your time

tom
Attached Thumbnails
assertion-failed-communicator-destroy-assertion.jpg  
Reply With Quote