Open samt108 opened 4 months ago
I need the stacktrace (crash details) from the windows event viewer.
How can I get that?
Event viewer -> Custom views -> Administrative Events. Then in the event list look for "Error" type of events that matches the time of the crash. The "Source" should be ".NET Runtime".
Two separate errors in the Event viewer were just generated:
Application: VDF.GUI.exe
CoreCLR Version: 7.0.1924.21523
.NET Version: 7.0.19
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Text.EncoderFallbackException: Unable to translate Unicode character \\uD83C at index 209 to specified code page.
at System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown, Int32 index)
at System.Text.Encoding.GetBytesWithFallback(ReadOnlySpan`1 chars, Int32 originalCharsLength, Span`1 bytes, Int32 originalBytesLength, EncoderNLS encoder)
at System.Text.Encoding.GetBytesWithFallback(Char* pOriginalChars, Int32 originalCharCount, Byte* pOriginalBytes, Int32 originalByteCount, Int32 charsConsumedSoFar, Int32 bytesWrittenSoFar, EncoderNLS encoder)
at System.Text.EncoderNLS.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, Boolean flush)
at System.Text.Encoder.GetBytes(ReadOnlySpan`1 chars, Span`1 bytes, Boolean flush)
at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding)
at VDF.Core.Utils.Logger.Info(String text) in D:\a\videoduplicatefinder\videoduplicatefinder\VDF.Core\Utils\Logger.cs:line 33
at VDF.Core.FFTools.FFProbeEngine.GetMediaInfo(String file, Boolean extendedLogging) in D:\a\videoduplicatefinder\videoduplicatefinder\VDF.Core\FFTools\FFProbeEngine.cs:line 83
at VDF.Core.ScanEngine.<GatherInfos>b__62_0(FileEntry entry, CancellationToken token)
at System.Threading.Tasks.Parallel.<>c__50`1.<<ForEachAsync>b__50_0>d.MoveNext()
--- End of stack trace from previous location ---
at VDF.Core.ScanEngine.GatherInfos() in D:\a\videoduplicatefinder\videoduplicatefinder\VDF.Core\ScanEngine.cs:line 311
at VDF.Core.ScanEngine.StartSearch() in D:\a\videoduplicatefinder\videoduplicatefinder\VDF.Core\ScanEngine.cs:line 98
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
at Avalonia.Threading.DispatcherOperation.Execute()
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.Threading.Dispatcher.Signaled()
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at VDF.GUI.Program.Main(String[] args) in D:\a\videoduplicatefinder\videoduplicatefinder\VDF.GUI\Program.cs:line 30
Faulting application name: VDF.GUI.exe, version: 1.0.0.0, time stamp: 0x661e0000
Faulting module name: KERNELBASE.dll, version: 10.0.19041.4522, time stamp: 0xf7a99bd4
Exception code: 0xe0434352
Fault offset: 0x000000000002ba99
Faulting process id: 0x4ccc
Faulting application start time: 0x01dad1c7fb6e441f
Faulting application path: C:\Users\<<REDACTED>>\Documents\Custom Office Templates\App-win-x64\VDF.GUI.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 85120c6b-c543-45ef-8a76-d3ccc9402731
Faulting package full name:
Faulting package-relative application ID:
Environment
Describe the bug
Side note: You should really make the error text selectable so I can copy paste it instead of screenshotting.
Snapshots