getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
579 stars 206 forks source link

Not getting any events in Sentry when running UWP app w/Prism.Uno in release mode #2181

Closed kerenkhatiwada closed 1 year ago

kerenkhatiwada commented 1 year ago

Package

Sentry

.NET Flavor

Other

.NET Version

6.2.14 (UWP)

OS

Windows

SDK Version

3.26.2.

Self-Hosted Sentry Version

No response

Steps to Reproduce

Our UWP app uses Prism.Uno, that is : <prism:PrismApplicationBase.... </prism.PrismApplicationBase> in app.xaml

and when we run the Release build, Sentry doesn't show our captureEvent in our project. Hint, the \Sentry directory is not created in our working directory (C:\Users...\AppData\Local\Package....\LocalState).

If we use the native UWP, that is: <Application.... in app.xaml,

Our \Sentry directory is created in our working directory and we see the captureEvents in the ISSUES of our project.

Repro application in linked Jira.

Expected Result

Events sent to sentry

Actual Result

Events not being sent to sentry

┆Issue is synchronized with this Jira Improvement by Unito

mattjohnsonpint commented 1 year ago

The provided sample doesn't seem to repro the described issue.

mattjohnsonpint commented 1 year ago

Need clarification, but I believe the issue being reported is not about Prism.Uno, but rather about "native UWP", which I presume to mean .NET Native.

We touched on this before in #2029 - but it may require something more than the workaround suggested there.

mattjohnsonpint commented 1 year ago

I helped the customer here directly. Just to document findings for others, this isn't a bug in Sentry - but related to .NET Native trimming.

To see the specific item being trimmed, the first thing to do is enable debug logging in a way that it's visible with a UWP app. Since there's no console, we can use trace debugging instead.

During the Init:

o.Debug = true;
o.DiagnosticLogger = new Sentry.Infrastructure.TraceDiagnosticLogger(SentryLevel.Debug);

Running the app in Visual Studio in Release mode with the .NET Native Toolchain enabled will show the missing method that was trimmed away. In this case it was:

System.MissingMethodException: Method 'MemoryMarshal.GetReference<byte>(ReadOnlySpan<byte>)' from assembly 'System.Memory' was not included in compilation, but was referenced in Interop.BCrypt.BCryptHashData(SafeBCryptHashHandle, ReadOnlySpan<byte>, int, int). There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
   at Internal.Cryptography.HashProviderCng.AppendHashData(ReadOnlySpan`1) + 0x24
   at Internal.Cryptography.HashProvider.AppendHashData(Byte[], Int32, Int32) + 0x42
   at System.Security.Cryptography.SHA1.Implementation.HashCore(Byte[], Int32, Int32) + 0x13
   at System.Security.Cryptography.HashAlgorithm.ComputeHash(Byte[]) + 0x1a
   at Sentry.Internal.Extensions.HashExtensions.GetHashString(String, Boolean) + 0x86
   at Sentry.GlobalSessionManager.TryGetPersistentInstallationId() + 0xd2

Which indicates MemoryMarshal.GetReference<byte>(ReadOnlySpan<byte>) was trimmed out during compilation.

The MissingMetadataException troubleshooter tool can be used to generate the required additions to the RD.XML file.

For example, if the above is the only method to be accessed, then it would be:

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Application>
    <Type Name="MemoryMarshal.GetReference{byte}(ReadOnlySpan{byte})" Dynamic="Required Public" />
  </Application>
</Directives>

Or if it turns out that more APIs from System.Memory are needed, then the tool can be used to generate:

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Application>
    <Assembly Name="System.Memory" Dynamic="Required Public" />
  </Application>
</Directives>
mattjohnsonpint commented 1 year ago

Also note that the error message says:

There may have been a missing assembly, or a dependency on a more recent Windows SDK release.

In my testing, I was not able to reproduce this bug - but the customer was (for x86 only, not x64). It's possible that the version of the Windows SDK on the build machine could have affected whether the required code was stripped out or not.

MarcB65 commented 1 year ago

Hello Matt, Do you use the solution I sent you (ONLY_UWP_Sentry.sln) when you do your tests or do you use another solution ? Because I installed Visual Studio 2022 on a Windows 11 and made a new UWP solution (Universal windows UAP, version=10.0.22000.0) with Sentry 3.26.2 and I still get an exception during the sentrySdk.Init() on our DNS in Debug x32 with the .NET native tool chain activated.

mattjohnsonpint commented 1 year ago

@MarcB65 - Yes, I was using the solution you had sent to us. It's possible I missed something. I'll take another attempt at reproducing it and get back to you here. Thanks.

MarcB65 commented 1 year ago

Hello Matt, I don't know if you received the latest Debug Output from Keren so I just redid a debug x32 run with .NET native tool chain with Visual Studio 2022 and the UWP SDK used is: UAP,Version=10.0.22000.0 and here is what I got in the Debug Output:

MarcB65 commented 1 year ago

'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Sources\ONLY_UWP_Sentry\ONLY_UWP_Sentry\ONLY_UWP_Sentry\bin\x86\Debug\AppX\ONLY_UWP_Sentry.exe'. Module was built without symbols. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x868wekyb3d8bbwe\mrt100_app.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.30704.0_x86__8wekyb3d8bbwe\vcruntime140_app.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\normaliz.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll' 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ncrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Sources\ONLY_UWP_Sentry\ONLY_UWP_Sentry\ONLY_UWP_Sentry\bin\x86\Debug\AppX\clrcompression.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mrt100.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rmclient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x868wekyb3d8bbwe\mrt100_app.dll'. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntasn1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'C:\Sources\ONLY_UWP_Sentry\ONLY_UWP_Sentry\ONLY_UWP_Sentry\bin\x86\Debug\AppX\ONLY_UWP_Sentry.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'ONLY_UWP_Sentry.exe'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'Microsoft.Bcl.AsyncInterfaces.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'Microsoft.Win32.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'ONLY_UWP_Sentry.McgInterop.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'Sentry.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Collections.Concurrent.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Collections.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Collections.Immutable.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Collections.NonGeneric.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Collections.Specialized.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.ComponentModel.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.ComponentModel.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.ComponentModel.TypeConverter.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Console.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.DiagnosticSource.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.FileVersionInfo.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.Process.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.StackTrace.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.Tools.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.TraceSource.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Diagnostics.Tracing.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Drawing.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.IO.Compression.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.IO.FileSystem.DriveInfo.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.IO.FileSystem.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.IO.MemoryMappedFiles.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Linq.Expressions.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Linq.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Memory.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.Http.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.NameResolution.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.NetworkInformation.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.Requests.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.Security.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.ServicePoint.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.Sockets.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Net.WebHeaderCollection.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Numerics.Vectors.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.ObjectModel.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.DeveloperExperience.AppX.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.Interop.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.ONLY_UWP_Sentry.Generated.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.Reflection.Core.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.Reflection.Execution.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.Reflection.Metadata.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.StackTraceGenerator.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.StackTraceMetadata.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.TypeLoader.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.Uri.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.WinRTInterop.CoreLib.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Reflection.Metadata.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Reflection.TypeExtensions.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Resources.Writer.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.CompilerServices.Unsafe.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.Extensions.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.InteropServices.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.InteropServices.RuntimeInformation.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.Numerics.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.Serialization.Formatters.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.Serialization.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.WindowsRuntime.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Runtime.WindowsRuntime.UI.Xaml.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Claims.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.Algorithms.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.Cng.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.Csp.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.Encoding.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.Primitives.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Cryptography.X509Certificates.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Principal.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Security.Principal.Windows.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Text.Encoding.CodePages.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Text.Encodings.Web.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Text.Json.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Text.RegularExpressions.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Threading.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Threading.Overlapped.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Threading.Tasks.Extensions.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Threading.Thread.dll'. PDB file was not present when IL code was compiled to native. 'ONLY_UWP_Sentry.exe' (CLR Native Compilation v1.0): Loaded 'System.Private.CoreLib.dll'. Symbols loaded. 'ONLY_UWP_Sentry.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\rmclient.dll' The thread 0x35d4 has exited with code 0 (0x0). 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\twinapi.appcore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Xaml.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\BCP47Langs.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dcomp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.StateRepositoryCore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\InputHost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WindowManagementAPI.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\CoreUIComponents.dll' 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\OneCoreUAPCommonProxyStub.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\urlmon.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\srvcli.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netutils.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll' 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Storage.ApplicationData.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d11.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igd10iumd32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. onecoreuap\base\appmodel\statemanager\winrt\lib\windows.storage.applicationdatafactory.server.cpp(235)\Windows.Storage.ApplicationData.dll!5BECEED9: (caller: 5C700AEE) ReturnHr(1) tid(42f0) 8000000B The operation attempted to access data outside the valid range Msg:[User S-1-5-21-1719942301-2403623586-1147770964-1001] 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wldp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igd10um32xe.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ControlLib32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MrmCoreR.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\IntelControlLib32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.StateRepositoryClient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igdgmm32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igc32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igc32.dll' 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_33a6982ac1e20313\igc32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\BCP47mrm.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Debug: Initializing Hub for Dsn: 'https://1f7281d9d13d4d4dbbbdd9731d83687e@o916142.ingest.sentry.io/6043963'. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DXCore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Web.Http.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rometadata.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d2d1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DWrite.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Debug: Using 'GzipBufferedRequestBodyHandler' body compression strategy with level Optimal. Debug: Starting BackgroundWorker. Debug: BackgroundWorker Started. Debug: Registering integration: 'AutoSessionTrackingIntegration'. Debug: Attempting to recover persisted session from file. Debug: Persistence directory is not set, returning. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextShaping.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Exception thrown: 'System.MissingMethodException' in System.Security.Cryptography.Algorithms.dll Error: Failed to resolve persistent installation ID. System.MissingMethodException: Method 'MemoryMarshal.GetReference(ReadOnlySpan)' from assembly 'System.Memory' was not included in compilation, but was referenced in Interop.BCrypt.BCryptHashData(SafeBCryptHashHandle, ReadOnlySpan, int, int). There may have been a missing assembly, or a dependency on a more recent Windows SDK release. at Internal.Cryptography.HashProviderCng.AppendHashData(ReadOnlySpan`1) + 0x24 at Internal.Cryptography.HashProvider.AppendHashData(Byte[], Int32, Int32) + 0x42 at System.Security.Cryptography.SHA1.Implementation.HashCore(Byte[], Int32, Int32) + 0x13 at System.Security.Cryptography.HashAlgorithm.ComputeHash(Byte[]) + 0x1a at Sentry.Internal.Extensions.HashExtensions.GetHashString(String, Boolean) + 0x86 at Sentry.GlobalSessionManager.TryGetPersistentInstallationId() + 0xd2

The thread 0x47f8 has exited with code 0 (0x0). Debug: Resolved installation ID '00FF703FD203'. Info: Started new session (SID: 3e26d4563d9a45f1b601d6549d734981; DID: 00FF703FD203). Debug: Persisting session (SID: '3e26d4563d9a45f1b601d6549d734981') to a file. Debug: Persistence directory is not set, returning. Debug: Enqueuing envelope Info: Envelope queued up: '' Debug: Registering integration: 'AppDomainUnhandledExceptionIntegration'. Debug: Registering integration: 'AppDomainProcessExitIntegration'. Debug: Registering integration: 'UnobservedTaskExceptionIntegration'. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Exception thrown: 'System.MissingMethodException' in Sentry.dll Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Shell.ServiceHostBuilder.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Error: Failed to serialize Envelope into the network stream System.MissingMethodException: Method 'Enumerable.Append<KeyValuePair<TKey, TValue>>(IEnumerable<KeyValuePair<TKey, TValue>>, KeyValuePair<TKey, TValue>)' from assembly 'netstandard' was not included in compilation, but was referenced in CollectionsExtensions.Append(IEnumerable<KeyValuePair<TKey, TValue>>, TKey, TValue). There may have been a missing assembly, or a dependency on a more recent Windows SDK release. at Sentry.Protocol.Envelopes.Envelope.d11.MoveNext() + 0x25f --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Protocol.Envelopes.Envelope.d14.MoveNext() + 0x1ad --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Internal.Http.EnvelopeHttpContent.d__4.MoveNext() + 0x108

Exception thrown: 'System.MissingMethodException' in Sentry.dll Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\execmodelproxy.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\XamlDiagnostics\x86\Microsoft.VisualStudio.DesignTools.UwpTap.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll Exception thrown: 'System.MissingMethodException' in System.Net.Http.dll Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Debug: Envelope handed off to transport (event ID: ''). 1 items in queue. Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll Error: Error while processing envelope (event ID: ''). 1 items in queue. System.MissingMethodException: Method 'Enumerable.Append<KeyValuePair<TKey, TValue>>(IEnumerable<KeyValuePair<TKey, TValue>>, KeyValuePair<TKey, TValue>)' from assembly 'netstandard' was not included in compilation, but was referenced in CollectionsExtensions.Append(IEnumerable<KeyValuePair<TKey, TValue>>, TKey, TValue). There may have been a missing assembly, or a dependency on a more recent Windows SDK release. at Sentry.Protocol.Envelopes.Envelope.d11.MoveNext() + 0x25f --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Protocol.Envelopes.Envelope.d14.MoveNext() + 0x1ad --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Internal.Http.EnvelopeHttpContent.d4.MoveNext() + 0x143 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x5e at System.Net.Http.HttpContent.d41.MoveNext() + 0x130 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Internal.Http.GzipBufferedRequestBodyHandler.d3.MoveNext() + 0x1ff --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0x61 at Sentry.Internal.Http.RetryAfterHandler.d8.MoveNext() + 0x16b --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() + 0x61 at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__62.MoveNext() + 0x2eb --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() + 0x61 at Sentry.Internal.Http.HttpTransport.d3.MoveNext() + 0x149 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x8a at Sentry.Internal.BackgroundWorker.d20.MoveNext() + 0x3f7

Debug: De-queueing event 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rmclient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\UiaManager.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Core.TextInput.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Immersive.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DataExchange.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. Windows.UI.Xaml.dll!5B55F8D2: (caller: 5AFA4EC2) ReturnHr(1) tid(42f0) 80070057 The parameter is incorrect. Windows.UI.Xaml.dll!5B560A70: (caller: 58FF1968) ReturnHr(2) tid(42f0) 80070057 The parameter is incorrect. Windows.UI.Xaml.dll!5B55F8D2: (caller: 5AFA4EC2) ReturnHr(3) tid(42f0) 80070057 The parameter is incorrect. Windows.UI.Xaml.dll!5B560A70: (caller: 58FF1968) ReturnHr(4) tid(42f0) 80070057 The parameter is incorrect. Windows.UI.Xaml.dll!5B55F8D2: (caller: 5AFA4EC2) ReturnHr(5) tid(42f0) 80070057 The parameter is incorrect. Windows.UI.Xaml.dll!5B560A70: (caller: 58FF1968) ReturnHr(6) tid(42f0) 80070057 The parameter is incorrect. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Globalization.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Xaml.Controls.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\directmanipulation.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\threadpoolwinrt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msftedit.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\globinputhost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Graphics.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\xmllite.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. 'ONLY_UWP_Sentry.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WindowsCodecs.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled. The thread 0x523c has exited with code 0 (0x0). The thread 0x2500 has exited with code 0 (0x0). The thread 0x3b84 has exited with code 0 (0x0). The thread 0x2c24 has exited with code 0 (0x0). The thread 0x6488 has exited with code 0 (0x0). The thread 0x3228 has exited with code 1 (0x1). The thread 0x4d7c has exited with code 1 (0x1). The thread 0x3de0 has exited with code 1 (0x1). The thread 0x384 has exited with code 1 (0x1). The thread 0x42f0 has exited with code 1 (0x1). The thread 0x3d8c has exited with code 1 (0x1). The thread 0x2e54 has exited with code 1 (0x1). The thread 0x29c8 has exited with code 1 (0x1). The thread 0x5dc8 has exited with code 1 (0x1). The thread 0x1bdc has exited with code 1 (0x1). The thread 0x4250 has exited with code 1 (0x1). The thread 0x44c4 has exited with code 1 (0x1). The thread 0x5a1c has exited with code 1 (0x1). The thread 0x5b64 has exited with code 1 (0x1). The thread 0x768 has exited with code 1 (0x1). The thread 0xe54 has exited with code 1 (0x1). The program '[4460] ONLY_UWP_Sentry.exe' has exited with code 1 (0x1).

kerenkhatiwada commented 1 year ago

Hello @mattjohnsonpint! At your earliest convenience would it be possible to get an update on your finds on reproducing this issue?

mattjohnsonpint commented 1 year ago

I'm sorry, but I am unable to reproduce the failure, even with the sample application you provided, and exactly following the steps and options you mentioned. The application compiles and sends events to Sentry successfully for me.

I suggest reaching out to Microsoft Windows developer support (under “UWP App Development”) for further assistance, as the issue shown in the logs is related to .NET Native with UWP - not to Sentry specifically. When you do, I recommend focusing on the MissingMethodException, as I described previously.

If you discover that there's something we can do in the Sentry .NET SDK to resolve or workaround the issue, please let me know. But since I cannot reproduce the issue, I am unable to provide further assistance at this time.

If you haven't already done so, you might want to try using another computer, or a new machine with a clean installation of Windows and Visual Studio. I honestly don't know what else to recommend.

Thanks.

MarcB65 commented 1 year ago

Hello Matt,

Here is what we get in the Build window when we do the build release in x32 and the .NET native tool chain option is activated: "The Sentry CLI is not fully configured with authentication, or organization, and project."

This can give you a clue why our project does not work in Release x32 and the .NET native tool chain option is activated !

Thanks bye

Marc.

mattjohnsonpint commented 1 year ago

Thanks, but that is normal and unrelated. For more details, see: https://docs.sentry.io/platforms/dotnet/troubleshooting/#sentry-cli-not-configured

MarcB65 commented 1 year ago

Hello Matt,

Are you able to provide me with another Visual Studio solution that you use on your side with your DNS and that your SentrySdk.Init() works as much in x32 as in x64 with native .NET tool chain activated ?