-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Crash log not generated after abrupt termination #73721
Comments
Terminal shows: Unable to create a debug report. Unable to use "main menu" from main menu |
unfamiliar with macos but try When you run it in your terminal and the game crashes, pay attention to the crash log file location. When it is corrupted it will look like this:
And the file name may be Please paste the entire output from when you run the game in your terminal and it crashes. |
no dice... no crash log hidden OR garbled anywhere |
Where is your complete terminal output I asked for? |
@NetSysFire |
I'm not able to reproduce on curses, macOS, with the same version you're using when building from source. Are you using a precompiled binary, or are you building from source? If the latter, could you share the build flags you're using? Otherwise, where are you getting the binary?
|
Precompiled binary. I have a link to the binary in the initial post, and here for your convenience
|
That comes as a .app, but I see you're running it in the terminal. Are you running the .sh ( |
I have a file called #!/usr/local/bin/bash
cd '/Applications/Cataclysm.app/Contents/Resources' && ./cataclysm; exit |
Interesting; running it in that manner I don't see the same crash as you (I do see some errors which I thick are just forward-compatibility errors with some of my memorial files that I'm able to ignore just fine), but when I force a crash I do see crash.log not being updated despite this being the case when run as a self-compiled binary. I'll look into that tomorrow, though I'm not sure I have a good idea on what's causing your issue... I don't think it should make a difference, but from a fresh download of that .app, could you try running in the Resources directory |
No difference running it directly. The exact same crash style as before. However, I did pull "a" crash report from the console app. Maybe some clues there...
|
Ugh, I renamed my |
Ah, good! This would be a forwards compatibility issue, then—I suspect the culprit is one of your memorial files or one of your .sav files. If you go to your (bad) Application Support folder and run "character_attempt_to_fall_asleep": {
"event_counts": [
[
{
"character": [
"character_id",
"1"
]
},
{
"count": 2,
"first": 5212800,
"last": 5220001
}
]
]
}, with nothing. |
@perryprog Yep, that was it. Removed 3 files in the memorial folder and ran just fine. Not sure if this issue needs to be closed, as the crash still didn't generate a |
If it is any help, this was the memorial files that was causing the crash. Anastacia Branham-2024-02-04-11-10-54.json |
Yeah, I'd leave it open. I'm able to reproduce via the distributed binary but not from anything compiled from source (yet), but I'm still poking around. |
Yeah, no real clue and I'm only seeing it in this precompiled version (I haven't tested other precompiled versions). The only reason this seems to be happening is there's a segfault happening... somewhere (presumably near or during crash handling), and I can't tell where without debug symbols. That ended up preventing the crash.log from being written (hence the lack of message saying it generated one). |
I'm at my capacity at this point as software engineering isn't my trade... if there is anything I can do to help, let me know. good luck |
Describe the bug
crash.log file is either missing or not generated after abrupt termination.
Attach save file
N/A
Steps to reproduce
Crashes at this point
navigate to ~/Library/Application Support/Cataclysm/config
crash.log file is missing
Expected behavior
Expect a crash.log file
Screenshots
No response
Versions and configuration
OSX 14.4.1
game version osx-curses: 0.H Release Candidate, Build 8985D54
Additional context
No response
The text was updated successfully, but these errors were encountered: