question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SyncTrayzor.Bootstrapper: An unhandled AppDomain exception occurred

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisshearingcommented, Apr 24, 2016

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!

0reactions
chrisshearingcommented, May 4, 2016

Will upgrade and keep an eye on it, thanks for the fix and all the time spent to investigate the issues with me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash on Startup · Issue #381 · canton7/SyncTrayzor
Exception: Unable to find Syncthing at path bei SyncTrayzor.Syncthing. ... Bootstrapper: An unhandled AppDomain exception occurred.
Read more >
7 FATAL Unhandled AppDomain exception occurred
We are having an issue with the OctopusDeploy service. It runs for about 3 seconds then stops. Here is the error message we...
Read more >
c# - AppDomain unhandled exceptions
An exception is unhandled only if the entire stack for the thread has been unwound without finding an applicable exception handler, so the...
Read more >
AppDomain.UnhandledException Event (System)
An exception is unhandled only if the entire stack for the thread has been unwound without finding an applicable exception handler, so the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found