YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
22 stars 8 forks source link

IDE: Crash in Primitive Builder #6916

Open gm-bug-reporter[bot] opened 1 month ago

gm-bug-reporter[bot] commented 1 month ago

Original Description

fdgdfgd

Description

The Primitive Builder has fallen over in the finalize function, which seems to have triggered calling the fatal error dialogue off the UI thread. There is no further clue as to what the user was doing at the time to cause this, so it cannot be attributed to any specific window, or editor, so it may be difficult to track down a reproduction.

Which version of GameMaker are you reporting this issue for?

IDE v2024.6.2.162 Runtime v2024.6.1.208

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

Windows 10.0.22621.0

52282263-912a-4941-9d73-e268760338b4

stuckie commented 1 month ago

Please be more informative as to what happened when reporting bugs, as just typing randomness into the forms is of no help to anyone. Yes, it can be frustrating when something crashes, but if you're not going to help us understand what you were doing when a crash happened, and the logs do not show anything immediate, then there is nothing we can do - which does nothing but further frustrate everyone involved.

Thankfully, in this case, the ui.log has the following call stack which we can look into. But "fdgdfgfdgdf" is of no help to anyone.

[00:14:25:497(ef30)] -------------------------------------------------------------------------------- [00:14:25:497(ef30)] Unhandled Exception: YoYoStudio.Core.Utils.MemoryManagerException [00:14:25:497(ef30)] Exception message: Error: Trying to free invalid memory block [00:14:25:497(ef30)] Exception stack: at YoYoStudio.Core.Utils.Memory.Free(IntPtr _pMemory) at YoYoStudio.Graphics.PrimitiveBuilder`1.Finalize() [00:14:25:497(ef30)] -------------------------------------------------------------------------------- [00:14:25:501(ef30)] #################################### [00:14:25:501(ef30)] Assert in AddWindow (WindowManager:2422) [00:14:25:501(ef30)] Reason: You can't manipulate UI on a background thread [00:14:25:502(ef30)] ####################################