Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chummer5a crashes at start #4626

Closed
Gashnakh opened this issue Nov 29, 2021 · 6 comments
Closed

Chummer5a crashes at start #4626

Gashnakh opened this issue Nov 29, 2021 · 6 comments

Comments

@Gashnakh
Copy link

Describe the bug
Chummer5a crashes at starting in all Versions above 5.214.185 and just generates a empty crash-report

To Reproduce
Steps to reproduce the behavior:

  1. execute chummer5.exe
    Expected behavior
    Chummer5 starts

Screenshots
see chummer5crash.png.

Desktop (please complete the following information):

  • OS: Windows 10 64bit - For exact data see DxDiag.txt
  • ALL Versions above 5.214.185 (checked every single version...)

Additional context

Chummer5crash
DxDiag.txt
.

@DelnarErsike
Copy link
Collaborator

Does 5.214.184 crash? Does 5.214.0 crash? Does 5.216.0 crash? Does the latest Nightly crash?

@Gashnakh
Copy link
Author

Gashnakh commented Nov 30, 2021 via email

@DelnarErsike
Copy link
Collaborator

The thing is that 5.214.185 only changed stuff that is used by Linux systems using Mono. There are no changes from 5.214.184 to 5.214.185 that should affect a Windows system.

@Gashnakh
Copy link
Author

Gashnakh commented Nov 30, 2021 via email

@DelnarErsike
Copy link
Collaborator

Ah, OK, you didn't do a bisection test, so you don't know which version newer than 5.214.185 introduced the crash bug, just that one of them between 5.216.20 (based on your DxDiag) and 5.214.185 did. The reason I say this is that looking at every version newer than 5.214.185, the first one where a change was made that could even cause some sort of crash on startup in the first place was 5.214.194.

The exception messages in your DxDiag attachment say they're System.IO.FileNotFoundException. That means they're a crash caused by the program not finding a file that it should find. If you do a complete, clean reinstall of Chummer (i.e. remove all the files and download a new version manually), does it still crash? Are you sure that your antivirus program isn't deleting any Chummer files?

If that still doesn't help, the "big guns" solution would be for you to manually debug the crash yourself. Download and install Visual Studio 2022 Community Edition (choose to install the .NET Desktop Development package when prompted), download and extract Chummer's source code (it's in the attachments alongside the main zip file containing the compiled version), open up Chummer.sln inside it, unload the ChummerHub, docker-compose, and ChummerDataViewer projects in the Solution Explorer sidebar (right click -> Unload Project), then press the big green play button at the top with "Build" next to it and wait for Chummer to first build and then hopefully crash with the Visual Studio debugger attached. If that has happened, Visual Studio will have caught and froze Chummer when it crashed and show you all sorts of information about it. What we're interested in is the Call Stack (one of the tabs in the lower right part when you start debugging), the exception information, and where in the source code the exception triggered.

@Gashnakh
Copy link
Author

Gashnakh commented Dec 4, 2021

Today i tried the newest nightly version and at least i now have an crash-report which is not empty..
chummer_crash_132831020646303360.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants