SyncTrayzor.Bootstrapper: An unhandled AppDomain exception occurred
See original GitHub issueHi,
We’ve been having a few crashes with SyncTrayzor 1.1.8 portable version during the initial synchronisation of folders between ~2 and ~20GB with the following error in the logs and event viewer:
SyncTrayzor.log:
2016-04-22 15:15:59.9922 #3720 [Error] SyncTrayzor.Bootstrapper: An unhandled AppDomain exception occurred. Terminating: True System.ArgumentNullException Value cannot be null.
Parameter name: path1 System.String Combine(System.String, System.String) at Pri.LongPath.Path.Combine(String path1, String path2)
at SyncTrayzor.Services.FileWatcher.OnRenamed(Object source, RenamedEventArgs e) in C:\projects\synctrayzor\src\SyncTrayzor\Services\FileWatcher.cs:line 219
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at Pri.LongPath.Path.Combine(String path1, String path2)
at SyncTrayzor.Services.FileWatcher.OnRenamed(Object source, RenamedEventArgs e) in C:\projects\synctrayzor\src\SyncTrayzor\Services\FileWatcher.cs:line 219
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Application Event 1026, .NET Runtime
Application: SyncTrayzor.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException
Stack:
at Pri.LongPath.Path.Combine(System.String, System.String)
at SyncTrayzor.Services.FileWatcher.OnRenamed(System.Object, System.IO.RenamedEventArgs)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
Application Event 1000, Application Error
Faulting application name: SyncTrayzor.exe, version: 1.1.8.329, time stamp: 0x56ed92cd
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18939, time stamp: 0x55b02e7b
Exception code: 0xe0434352
Fault offset: 0x000000000000b16d
Faulting process id: 0xe88
Faulting application start time: 0x01d19ca1466ac035
Faulting application path: C:\res\cache\Resources\custom_resources\Applications\Syncthing\v0.12.20\SyncTrayzor\SyncTrayzor.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: bc901e81-0894-11e6-a362-d067e54b6f1d
These errors seem similar to #230 #227 #115 #112
which are all fixed in earlier versions,
Happy to gather any more logs / diagnostics to help debug.
We have seen a number of failed renames during the sync - which just retry and succeed straight after - I presumed it was our anti-virus fighting for a lock on the new file but the sync usually completes.
When SyncTrayzor crashes with the above error Syncthing continues the sync to completion in the background
SyncTrayzor is started minimised but during the initial sync its opened to see the progress
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Of course! I can test it on Monday, don’t have access to the devices on the weekend!
edit: realised I forgot to say - Thanks!
Will upgrade and keep an eye on it, thanks for the fix and all the time spent to investigate the issues with me!