In-Game: [Android] string_replace_all() causing SEGV_ACCERR on Galaxy S24 device #8687
Labels
project
This issue has a sample project attached
runner-bug
In-game bugs with the "GameMaker Studio 2" runtimes
Milestone
Description
After a long time of the user playing multiple sessions, the game silently crashes when attempting to manipulate a string using "string_replace_all" on a string from "ds_list_write" during the saving process.
This only seems to happen on a specific string_replace_all (when the game is saving its "logbook" file) even though the event (User Event 0 in obj_save) uses multiple instances of this function. The process of saving that file involves two string_replace_all calls, one inside a do loop and one before the loop. The crash seems to occur in both of those apparently-randomly.
The attached text file has a more detailed crash log, specifically citing "Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xb40000777f5c8000 in tid 7256 (GLThread 48), pid 7224 (ioid.settlemoon)". Galaxy S24 (Android 14-11).
Steps To Reproduce
This one's going to be hard to reproduce, as this has only shown up after many sessions, and their save file is nigh-inaccessible due to how Android phones lock down files. But to them all they needed to do was hit Enter World and go through the loading screen until it finishes updating and saves.
Which version of GameMaker are you reporting this issue for?
IDE v2024.8.1.171 Runtime v2024.8.1.218
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
Which platform(s) are you seeing the problem on?
Android
Attached Files
b6414a0a-e447-42a0-a55a-629e8cf354f7
The text was updated successfully, but these errors were encountered: