Deweh / CyberCAT-SimpleGUI

A simplified offshoot of SirBitesalot's CyberCAT.
MIT License
233 stars 45 forks source link

Bug after Win 10 .NET security update #40

Closed jasonrubenstein closed 3 years ago

jasonrubenstein commented 3 years ago

When trying to open a save file, here's the JIT dump: ver 0.09a

sav-file.zip


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CP2077SaveEditor.Form1.<>c__DisplayClass29_0.<openSaveButton_Click>b__1(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Private.CoreLib.dll
----------------------------------------
CP2077SaveEditor
Assembly Version: 1.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
System.Runtime
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 5.0.4.0
Win32 Version: 5.0.421.11702
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
Assembly Version: 5.0.4.0
Win32 Version: 5.0.421.11702
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Primitives
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Collections.Specialized.dll
----------------------------------------
System.Threading
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Collections.dll
----------------------------------------
CyberCAT.Core
Assembly Version: 1.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
netstandard
Assembly Version: 2.1.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/netstandard.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Drawing.Common
Assembly Version: 5.0.0.2
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Drawing.Common.dll
----------------------------------------
System.Text.RegularExpressions
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Text.RegularExpressions.dll
----------------------------------------
System.IO.FileSystem
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.IO.FileSystem.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
Microsoft.Win32.Primitives
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading.Thread
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Threading.Thread.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 5.0.421.11702
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Runtime.Extensions
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.Extensions.dll
----------------------------------------
Microsoft.Win32.SystemEvents
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Memory
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Memory.dll
----------------------------------------
System.ComponentModel
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.ComponentModel.dll
----------------------------------------
System.Resources.Extensions
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Resources.Extensions.dll
----------------------------------------
System.ObjectModel
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.ObjectModel.dll
----------------------------------------
System.Linq
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Linq.dll
----------------------------------------
System.Buffers
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Buffers.dll
----------------------------------------
System.Drawing
Assembly Version: 5.0.4.0
Win32 Version: 5.0.421.11702
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Drawing.dll
----------------------------------------
System.Collections.Concurrent
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Collections.Concurrent.dll
----------------------------------------
System.Runtime.Serialization.Formatters
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.Linq.Expressions
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Linq.Expressions.dll
----------------------------------------
System.Runtime.Numerics
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.Numerics.dll
----------------------------------------
System.Private.Uri
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Private.Uri.dll
----------------------------------------
System.Runtime.Serialization.Primitives
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.Serialization.Primitives.dll
----------------------------------------
System.Data.Common
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Data.Common.dll
----------------------------------------
System.Xml.ReaderWriter
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Private.Xml.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Primitives
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Reflection.Primitives.dll
----------------------------------------
System.Reflection.Emit.Lightweight
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Reflection.Emit.Lightweight.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Private.CoreLib.dll
----------------------------------------
System.Collections.NonGeneric
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Collections.NonGeneric.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Configuration.ConfigurationManager
Assembly Version: 5.0.0.0
Win32 Version: 5.0.20.51904
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.4/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Resources.Writer
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Resources.Writer.dll
----------------------------------------
System.Xml.XDocument
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Xml.XDocument.dll
----------------------------------------
System.Private.Xml.Linq
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Private.Xml.Linq.dll
----------------------------------------
System.Diagnostics.Tracing
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Diagnostics.Tracing.dll
----------------------------------------
CyberCAT.Extra
Assembly Version: 1.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
System.IO.Compression
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.IO.Compression.dll
----------------------------------------
K4os.Compression.LZ4
Assembly Version: 1.2.6.0
Win32 Version: n/a
CodeBase:
----------------------------------------
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/mscorlib.dll
----------------------------------------
System.Threading.Tasks.Parallel
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Threading.Tasks.Parallel.dll
----------------------------------------
System.Threading.ThreadPool
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Threading.ThreadPool.dll
----------------------------------------
System.Diagnostics.StackTrace
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
Assembly Version: 5.0.0.0
Win32 Version: 5.0.421.11614
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************
jasonrubenstein commented 3 years ago

Update:

After a 2nd reboot of Win10, this problem has gone away. The app works 💯

See the pic for updates sequence for Win10. Thanks!

image

jasonrubenstein commented 3 years ago

Still working on an accurate repro case. If I isolate one, I'll add a new issue.