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

ImmediatelyFast causes AMDGPU use-after-free #183

Open
AutumnalModding opened this issue Mar 17, 2024 · 9 comments
Open

ImmediatelyFast causes AMDGPU use-after-free #183

AutumnalModding opened this issue Mar 17, 2024 · 9 comments
Labels
bug Something isn't working not-confirmed This issue has not been reproduced by anyone yet

Comments

@AutumnalModding
Copy link

AutumnalModding commented Mar 17, 2024

dmesg output

Does not happen without IF installed.
Game does not crash.

@RaphiMC
Copy link
Owner

RaphiMC commented Mar 17, 2024

Please provide more details like other mods installed. A game log. PC Sepcs. Used OS

@RaphiMC RaphiMC added the needs-more-information There is not enough information provided label Mar 17, 2024
@AutumnalModding
Copy link
Author

Other mods installed

Modpack is Additive

Game log

dmesg stacktrace attached.

PC specs, used OS
neofetch output

@RaphiMC is this sufficient?

@RaphiMC
Copy link
Owner

RaphiMC commented Mar 17, 2024

Can you try with only ImmediatelyFast installed. Also when does the use after free happen?

@AutumnalModding
Copy link
Author

AutumnalModding commented Mar 18, 2024

Can you try with only ImmediatelyFast installed. Also when does the use after free happen?

Unfortunately it doesn't happen at a specific point, it's entirely random.
I have four thousand three hundred stacktraces from a SINGLE FUCKIN' RUN if you'd like, though!
But given it's random, I have reason to believe it happens with IF. For a friend of mine (5700XT) it happened on the loading screen.
Kernel version string (uname -a) is Linux emdex 6.6.21-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 06 Mar 2024 16:59:55 +0000 x86_64 GNU/Linux if you'd like to test, I have reason to believe it happens on all modern AMD GPUs - perhaps even older ones, assuming they use amdgpu and not radeon.

@RaphiMC
Copy link
Owner

RaphiMC commented Mar 18, 2024

I can't test the issue since I don't have any AMD GPU nor do I run linunx on my PC. Can you please test it with only IF installed (and no other mods), just to make sure its not another mod in combination with IF causing it

@AutumnalModding
Copy link
Author

AutumnalModding commented May 2, 2024

@RaphiMC Sorry for the delay.
I have reliably reproduced it, and it looks like a chunkloading race condition.
In addition to that I have an area in which I can reliably trigger it.

And yes - it happens only with IF.

@RaphiMC RaphiMC added bug Something isn't working not-confirmed This issue has not been reproduced by anyone yet and removed needs-more-information There is not enough information provided labels May 2, 2024
@DBTDerpbox
Copy link

DBTDerpbox commented May 13, 2024

@AutumnalModding can you send the config for ImmediatelyFast you have? I encountered a similar issue caused by fast_buffer_upload_size_mb being set to 64

@AutumnalModding
Copy link
Author

@DBTDerpbox "fast_buffer_upload_size_mb": 256,

@tamolny
Copy link

tamolny commented May 14, 2024

I had to change mine to 512 and it didn't crash anymore for me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not-confirmed This issue has not been reproduced by anyone yet
Projects
None yet
Development

No branches or pull requests

4 participants