AnantLabs / big5sync

Automatically exported from code.google.com/p/big5sync
1 stars 0 forks source link

Syncless may crash randomly #185

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is due to multi-threaded environment of Syncless.

1 possible case that we encountered.
  1)Start up syncless , exception encountered when traversing a TagList 
while adding things to it.

<<

System.InvalidOperationException                        
System.InvalidOperationException: Collection was modified; enumeration 
operation may not execute.
               at 
System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource 
resource)
               at 
System.Collections.Generic.List`1.Enumerator.MoveNextRare()
               at 
System.Collections.Generic.List`1.Enumerator.MoveNext()
               at 
Syncless.Tagging.TaggingXMLHelper.CreateTaggingProfileElement(XmlDocument 
xmldoc, TaggingProfile taggingProfile) in 
C:\New_V1.0\Syncless\Syncless\Tagging\TaggingXMLHelper.cs:line 311
               at 
Syncless.Tagging.TaggingXMLHelper.ConvertTaggingProfileToXml(TaggingProfile 
taggingProfile) in 
C:\New_V1.0\Syncless\Syncless\Tagging\TaggingXMLHelper.cs:line 100
               at 
Syncless.Tagging.TaggingXMLHelper.SaveTo(TaggingProfile taggingProfile, 
String xmlFilePath) in 
C:\New_V1.0\Syncless\Syncless\Tagging\TaggingXMLHelper.cs:line 92
               at 
Syncless.Tagging.TaggingXMLHelper.SaveToLocations(TaggingProfile 
taggingProfile, List`1 xmlFilePaths) in 
C:\New_V1.0\Syncless\Syncless\Tagging\TaggingXMLHelper.cs:line 86
               at Syncless.Tagging.TaggingLayer.SaveTo(List`1 
savedLocation) in :\New_V1.0\Syncless\Syncless\Tagging\TaggingLayer.cs:line 
519

               at 
Syncless.Core.SaveLoadHelper.SaveTagging(String appPath) in 
C:\New_V1.0\Syncless\Syncless\Core\SaveLoadHelper.cs:line 109

               at Syncless.Core.SaveLoadHelper.SaveAll(String 
appPath) in C:\New_V1.0\Syncless\Syncless\Core\SaveLoadHelper.cs:line 19

               at 
Syncless.Core.SystemLogicLayer.Initiate(IUIInterface inf) in 
C:\New_V1.0\Syncless\Syncless\Core\SystemLogicLayer.cs:line 1102
>>

Debug Log.

Have attempt to fix by cloning TagList before returning to places that will 
access it.

Original issue reported on code.google.com by ericnjf on 31 Mar 2010 at 4:26

GoogleCodeExporter commented 9 years ago
When start up , another possibly chance will be when tagging.xml is lock on 
start up. 
(Possibly fixed in 1.0) need to verify

Original comment by ericnjf on 31 Mar 2010 at 5:29

GoogleCodeExporter commented 9 years ago

Original comment by sohyuanc...@gmail.com on 31 Mar 2010 at 9:02

GoogleCodeExporter commented 9 years ago
I'm not sure if this falls in the same category, but I'm having SyncLess crash 
randomly as well.

AMD 9950 x4
Windows 7 Ultimate x64

I can't seem to have SyncLess running for more than 10 minutes without seeing 
this 
error.

It gives me the following error:

Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: synclessui.exe
  Problem Signature 02: 1.5.0.0
  Problem Signature 03: 4bbf3fe5
  Problem Signature 04: mscorlib
  Problem Signature 05: 2.0.0.0
  Problem Signature 06: 4a27471d
  Problem Signature 07: 3666
  Problem Signature 08: 4
  Problem Signature 09: System.ArgumentException
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:    1033

Original comment by TJHart85...@gmail.com on 13 Apr 2010 at 1:10

GoogleCodeExporter commented 9 years ago
Adding the available logs

The debug log was empty, so not including that.

Original comment by TJHart85...@gmail.com on 13 Apr 2010 at 2:16

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same problem - random crashes for no obvious reason.
OS: Windows 8.1 x64
Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: synclessui.exe
  Problem Signature 02: 2.0.0.0
  Problem Signature 03: 4bf78745
  Problem Signature 04: mscorlib
  Problem Signature 05: 2.0.0.0
  Problem Signature 06: 53a120d7
  Problem Signature 07: 2c2
  Problem Signature 08: 25
  Problem Signature 09: System.ArgumentOutOfRange
  OS Version:   6.3.9600.2.0.0.256.4
  Locale ID:    3082

Original comment by anishenk...@gmail.com on 6 Mar 2015 at 10:42