jastBytes / SyncthingTray

Syncthing wrapper for Windows. Includes a small interface to configure start on boot and puts syncthing into tray instead of the console window.
GNU General Public License v2.0
151 stars 24 forks source link

Syncthingtray crashes every few days #30

Open jrmain opened 9 years ago

jrmain commented 9 years ago

Once or twice each week, Syncthingtray crashes. Interestingly, when it crashes on one computer, it crashes on the other computer on which it's installed on my LAN.

I'm using SyncthingTray 0.3.1 and Syncthing v0.11.21, Windows (64 bit).

Here are the details:

Faulting application name: SyncthingTray.exe, version: 0.3.1.0, time stamp: 0x53e3b2a5
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x6c8
Faulting application start time: 0x01d0d9bbeb120b7b
Faulting application path: F:\syncthing\SyncthingTray.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 417519a8-499d-11e5-82c3-54271e232b32
Faulting package full name: 
Faulting package-relative application ID: 

First computer: Windows 8.1 64 bit. Second computer: Windows 10 Insider Preview build th2_release 10525 (but prior to that, Windows XP SP3, on which Syncthingtray also crashed regularly)

Just before the application error above, I get a .NET runtime error:

Application: SyncthingTray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
   at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
   at SyncthingTray.SyncthingTray.ActiveProcess_OutputDataReceived(System.Object, System.Diagnostics.DataReceivedEventArgs)
   at System.Diagnostics.Process.OutputReadNotifyUser(System.String)
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
   at System.Diagnostics.AsyncStreamReader.ReadBuffer(System.IAsyncResult)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.IO.Stream+ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(System.Threading.Tasks.Task)
   at System.Threading.Tasks.Task.FinishContinuations()
   at System.Threading.Tasks.Task.Finish(Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()