shubhanshusingh / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

Crash on Reconnect #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. jabber.net included in windows service
2. connect to openfire
3. terminate service
4. restart services
5. connect again

What is the expected output? What do you see instead?
After a reconnect we are facing several unhandled exceptions. They all crash 
the application and the xmpp connection.
It's three different unhandled exceptions.

We expect that no unhandled exceptions are thrown and that they can be handled 
by ourselfs.

What version of the product are you using? On what operating system?
Version 2.1.0.710 on Windows Server 2008, 2010, Windows XP

Please provide any additional information below.
#1 unhandled error happens probably all the time we reconnect. The second or 
third reconnect works perfect.
System.InvalidOperationException: Cannot call RequestRead while another read is 
pending.
   bei bedrock.net.AsyncSocket.RequestRead()
   bei bedrock.net.HttpSocket.Send(PendingRequest req)
   bei bedrock.net.HttpSocket.ProcessThread()
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

Original issue reported on code.google.com by kimschne...@gmail.com on 10 Nov 2010 at 10:40