Issue Game crashing - no error recorded, but weird SIGSEGV message?

quinq

Greenhorn
Crucial info:
  • Game sometimes crashes & tells me something needs developer tools; no log to be found; weird message in terminal window indicates an issue with mono
  • Mac OS 11.0.1 (Big Sur)
  • SMAPI 3.8.1
  • SV 1.5.1
  • Log and terminal text

So I've had this issue a few times - it's not constant, and seems to be pretty random because I've not noticed any precipitating events. The game crashes to desktop and there's a popup window saying "The lldb command requires the command line developer tools" and asking me to either install something or cancel; once I tried hitting install just to see what would happen, and it starts an absolutely huge download that had an estimated time of 43 hours.

There's no error log generated by SMAPI, but here is the latest log anyway, however the terminal window gives a little bit more insight so I've uploaded a copy of that full text to the log parser too. At the very bottom of the text there's this:

Code:
Debug info from gdb:

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. 
Choose an option in the dialog to download the command line developer tools.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
I've done some googling and it seems to be an issue with mono rather than SMAPI or stardew, since other things that are dependent on mono have had the same issue. So far I've tried, in no particular order:
  • removing all mods
  • reinstalling SMAPI
  • reinstalling mono
  • restarting steam, restarting laptop
There are a few things suggested in other threads about mono, but honestly, I don't want to go messing with the code myself when I don't really know what I'm doing and the reported fixes from other threads aren't 100%. Most relevantly; 'Also see if using --arch=32 flag will work, if it is a 32bit binary.' 'launch the app with the debugger attached on a emulator or a device and wait. The app crash after few seconds. No crash when the debugger is not attached' - there's a lot of mention of it being an issue with the debugger being attached or not attached (which, honestly, i do not understand - i'm no coder really, UI html/css is about the extent of my experience!).

The other thing that's possibly related is that on Big Sur there's some extra stuff needed to install steam's gamepad/controller drivers - info here - but it seems unlikely to be related, to me at least.

So, any ideas? Can anyone who knows more about this than me help?
 

Attachments

Last edited:
Top