Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-Game: [Android] string_replace_all() causing SEGV_ACCERR on Galaxy S24 device #8687

Open
gm-bug-reporter bot opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Milestone

Comments

@gm-bug-reporter
Copy link

gm-bug-reporter bot commented Dec 13, 2024

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

  • message(1).txt
  • 0.jpg

b6414a0a-e447-42a0-a55a-629e8cf354f7

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Dec 13, 2024
@stuckie stuckie moved this from Triage to Todo in Team Workload Dec 13, 2024
@stuckie stuckie added this to the 2024.13 milestone Dec 13, 2024
@YYDan YYDan changed the title string_replace_all causing SEGV_ACCERR on Galaxy S24 (Android 14-11) In-Game: [Android] string_replace_all() causing SEGV_ACCERR on Galaxy S24 device Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Todo
Development

No branches or pull requests

2 participants