YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
22 stars 8 forks source link

Code Editor 2: [Mac IDE] GM crash when editing a Note #7648

Open yerumaku opened 2 weeks ago

yerumaku commented 2 weeks ago

Description

When editing a note in the code editor 2 with an open preview, an error suddenly occurred.

Which version of GameMaker are you reporting this issue for?

IDE v2024.800.0.618 Runtime v2024.800.0.642

Which operating system(s) are you seeing the problem on?

Mac 14.6.1

Attached Files

849c02b1-5e93-4870-828a-8c5926adf1d1

zreedy commented 1 week ago

Initial investigation seems to reveal that the crash occurring while editing Notes in CE2 is incidental and not the true cause. The stack trace seems to indicate that internet access was lost, a callback was attempted to be raised but an exception occurred at the .NET level and was subsequently caught by the UnhandledException handler. Unfortunately, the exception was caught on a background thread and attempted to show an "IDE has become unstable" message on this bg thread which ironically CTDs instead.

Unfortunately, the ui.log contains incomplete information and the .dmp files don't want to open in WinDbg or Visual Studio on Windows so this ticket is being given to Steven who has access to Mac OS X in an attempt to make sense of the .dmp file.

yerumaku commented 6 days ago

The stack trace seems to indicate that internet access was lost Does this have something to do with how LSP works?

I also want to note that the previews of the pages opened after restarting the IDE are displayed incorrectly, as if something was not started before they were built, and nothing helps except reopening them.

In the last beta, I ran into the problem that idling the IDE with a regular editor leads to a crash. Sometimes left for a few hours nothing happens, and sometimes left for a couple of hours there is a drop.

If the problem persists after several updates, I will send more dumps.