Bug #985

avatar

no state transition initial+sync during frontend connect of freshly started smuxi-server

Added by Oliver Schneider 3728 days ago. Updated 3727 days ago.

Status:New Start:08/31/2014
Priority:Immediate Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Frontend
Target version:-
Complexity:

High

Found in Version:

git

Votes: 0

Description

happened while connecting a frontend to a smuxi-server that was started just a second before the frontend connect
maybe some reordering of the events?
the irc server was successfully connected afterwards

full log attached

Exception Type:
Smuxi.Frontend.InvalidStateException

Exception Message:
<<IRC/hackint/IRC hackint>> could not sync in InitialState

Exception StackTrace:
at Smuxi.Frontend.ChatViewSyncManager+State.ExecuteSync () [0x00000] in /build/buildd/smuxi-0.12+dev.bzr447~ubuntu12.04.1/src/Frontend/ChatViewSyncManager.cs:99
at Smuxi.Frontend.ChatViewSyncManager+SyncInfo.ExecuteSync () [0x00011] in /build/buildd/smuxi-0.12+dev.bzr447~ubuntu12.04.1/src/Frontend/ChatViewSyncManager.cs:347
at Smuxi.Frontend.ChatViewSyncManager+<QueueSync>c__AnonStorey3.<>m__3 () [0x00000] in /build/buildd/smuxi-0.12+dev.bzr447~ubuntu12.04.1/src/Frontend/ChatViewSyncManager.cs:530

smuxi-server.log (794.4 KB) Oliver Schneider, 08/31/2014 07:17 PM

History

Updated by Mirco Bauer 3727 days ago

avatar
  • Category set to Frontend
  • Assigned to set to Mirco Bauer
  • Priority changed from Normal to Immediate
  • Complexity set to High
  • Found in Version set to git

This is a race condition we also ran into. After some attempts to bring the synchronization back between Sync and Add request I decided I will have to revert the changes of the new_sync_manager branch.

Updated by Mirco Bauer 3727 days ago

avatar

Either the sync manager needs to cope with this issue (doing the needed synchronization itself), each frontend needs to work around or deal with it.

Also available in: Atom PDF