YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
15 stars 7 forks source link

In-Game: [Windows] Silent crash when running the attached project in 2024.4 #5937

Open gm-bug-reporter[bot] opened 2 months ago

gm-bug-reporter[bot] commented 2 months ago

Description

(Continuing the conversation in https://github.com/YoYoGames/GameMaker-Bugs/issues/5910)

Ok heres a somewhat rudimentary autoplay project, just running it should have the play itself for the most part, it doesnt really play like a player would so its possible it could avoid doing what causes the crash (maybe something to do with player input or certain items).

Which version of GameMaker are you reporting this issue for?

IDE v2024.4.1.152 Runtime v2024.4.1.201

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

Windows 10.0.19045.0

Which platform(s) are you seeing the problem on?

Windows

4f0a38ff-7b2f-4ea5-b83a-eee24d544c77

asollazzo commented 2 months ago

Ive noticed that it 'seems' to crash more often in YYC then vm/debug, as my partner can get it to crash fairly often on the yyc compiled steam version, yet actually trying to get it to crash while testing in vm can take quite a while.

asollazzo commented 2 months ago

I can confirm the auto playing version here does crash when run in VM atleast. Edit : Crashes in VM/debug/YYC

asollazzo commented 1 month ago

A player has provided a video of the crash happening and a minute or 2 of gameplay leading up to it, it doesnt really seem like anything out of the ordinary is happening, atleast visually ? : https://mega.nz/file/BgIEnKxK#PlZap7DB9CF6vCgG0KNDjukqmReU-UJ0F7HKzWyFYWs

jackerley commented 1 month ago

I'm not having any success in getting the autoplay version to crash in either VM or YYC. Is there any common factor wrt the PC setup that the game is crashing on?

asollazzo commented 1 month ago

I'm not having any success in getting the autoplay version to crash in either VM or YYC. Is there any common factor wrt the PC setup that the game is crashing on?

Its crashing on both my dev pcs, which the only common factor i see is theyre running windows 10 and have nvidia gpu's (also running multiple monitors if that matters ?)

PC1 is a ryzen 5 1600, gtx 1060, 32gig ram PC2 is I5 6600K, gtx 970, 16gig ram

The pc's of the players that have the crash seem wildely varied from new top of the line stuff to old junkers.

I still havent been able to isolate the problem as i cant even get it to reliably crash quickly, sometimes it crashes in 5 minutes other times happily plays for an hour+ :\

asollazzo commented 1 month ago

Also got it to crash on my older laptop, though it seemed somehow more resistant to crashing. Survived 4 1 hour long auto plays, then crashed within 10 minutes on the 5th. This was in VM run from the ide, same crash with no error.

Specs : Windows 8.1, i7 4700hq, gtx870m, 16gig ram, single screen

asollazzo commented 4 weeks ago

New player had the crash, there pc specs are : Windows 10 22h2 AMD Ryzen 9 5900x AMD Radeon 6800 XT 64GB ram

and another : Windows 10 22h2 Intel i3-7100 @3.9GHz NVidia GeForce GTX1050 16GB RAM

only common factor im seeing is the vast majority being windows 10, but thats most likely just because most people use windows 10..

asollazzo commented 3 weeks ago

Another crash from a player, with a windows error this time, though probably doesnt help much

11 Pro Insider, i7-8700K, 1080 Ti on 560.38, 2x8GB DDR4-3200.

Faulting application name: Repetendium.exe, version: 0.2.0.2, time stamp: 0x664c2d1e Faulting module name: Repetendium.exe, version: 0.2.0.2, time stamp: 0x664c2d1e Exception code: 0xc0000005 Fault offset: 0x0000000001043a0a Faulting process id: 0x6564 Faulting application start time: 0x1DAC9AA9DBC235D Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Repetendium\Repetendium.exe Faulting module path: C:\Program Files (x86)\Steam\steamapps\common\Repetendium\Repetendium.exe Report Id: 02fc80ad-0581-4805-be92-56a2352b2f0e

asollazzo commented 3 weeks ago

Is there any obvious things i should be looking for to fix this ? Most 'silent' crashs ive seen posted around seem to relate to endless loops, and objects going way off screen and then attempting a collision event, some seem to talk about mishandling of ds_lists's etc, but as far as i can tell im steering clear of those issues.

jackerley commented 3 weeks ago

I've been trying to reproduce it here without success, it is difficult to identify a specific cause without being able to reproduce it. You could try gathering information as to what the game is doing when it crashes, is it related to a specific character or weapon being chosen etc? You might be able to see if there is any common factor there which may help in narrowing it down?

asollazzo commented 3 weeks ago

I've been trying to reproduce it here without success, it is difficult to identify a specific cause without being able to reproduce it. You could try gathering information as to what the game is doing when it crashes, is it related to a specific character or weapon being chosen etc? You might be able to see if there is any common factor there which may help in narrowing it down?

If it still hasnt crashed on your end im thinking it must be something outside of gamemaker causing the crash (some code of mine is the culprit but it only seems to actually crash on certain systems)? It eventually crashes on all 3 of my pc's and probably a couple hundred players, but then there is also the majority of players where the game has never crashed once, some players even with 100+ hours in the game. So im not really sure what the next step would be here.

asollazzo commented 3 weeks ago

May not be the only thing crashing my game but this also crashes my game : https://github.com/YoYoGames/GameMaker-Bugs/issues/5691

One enemy in game is using a spine bounding box collision but unlike the other guy using precise collision_rectangle, im just using the inbuilt collision event, crashes without an error all the same though.

jackerley commented 2 weeks ago

Are you building using a version that has a fix for that bug in? I left the game running overnight on my laptop, currently 978 minutes in and still running fine. That was built with runtime 2024.600.0.602

asollazzo commented 2 weeks ago

Are you building using a version that has a fix for that bug in? I left the game running overnight on my laptop, currently 978 minutes in and still running fine. That was built with runtime 2024.600.0.602

No im running 2024.4, i was going to update to the new version but apparently that has some other bugs related to precise collisions in general so havent yet. Changing the spine collision from bounding box to rectangle does fix that crash though. Ill have to do a little more testing to see if that was the only thing causing the silent crash though.