Bug #877

avatar

Session.UpdatePresenceStatus() throws InvalidOperationException

Added by Mirco Bauer 4126 days ago. Updated 4034 days ago.

Status:Closed Start:09/05/2013
Priority:Normal Due date:
Assigned to:avatarOliver Schneider % Done:

100%

Category:Engine
Target version:0.10
Complexity:

Medium

Found in Version:

Votes: 0

Description

Exception Type:
System.InvalidOperationException

Exception Message:
Collection was modified; enumeration operation may not execute.

Exception StackTrace:
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0 

Exception.ToString():
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Server stack trace: 
  at System.Collections.Generic.List`1+Enumerator[Smuxi.Engine.IProtocolManager].VerifyState () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1+Enumerator[Smuxi.Engine.IProtocolManager].MoveNext () [0x00000] in <filename unknown>:0 
  at Smuxi.Engine.Session.UpdatePresenceStatus (PresenceStatus status, System.String message) [0x00031] in /build/buildd/smuxi-0.9+git/src/Engine/Session.cs:1577 
  at Smuxi.Engine.Session.CheckPresenceStatus () [0x00059] in /build/buildd/smuxi-0.9+git/src/Engine/Session.cs:1571 
  at (wrapper remoting-invoke-with-check) Smuxi.Engine.Session:CheckPresenceStatus ()
  at Smuxi.Engine.FrontendManager.Sync () [0x0013d] in /build/buildd/smuxi-0.9+git/src/Engine/FrontendManager.cs:179 
  at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices:InternalExecute (System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x00000] in <filename unknown>:0 

Exception rethrown at [0]: 

  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0

Associated revisions

Revision 4921cf82bdd267c5f0dfd9d3f9362de6e8b756d8
Added by Oliver Schneider 4126 days ago

[Engine(-IRC)] Fixed missing synchronization when accessing Session.ProtocolManagers (closes: #877)

History

Updated by Mirco Bauer 4126 days ago

avatar
  • Assigned to deleted (Mirco Bauer)
  • Target version set to 0.8.11.1

Updated by Mirco Bauer 4125 days ago

avatar
  • Assigned to set to Oliver Schneider

Updated by Oliver Schneider 4125 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Mirco Bauer 4034 days ago

avatar
  • Target version changed from 0.8.11.1 to 0.10

Also available in: Atom PDF