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

[1.20.1 forge] SIGSEGV Segfault while saving rift #60

Open
PikachuGabe opened this issue Dec 28, 2024 · 3 comments
Open

[1.20.1 forge] SIGSEGV Segfault while saving rift #60

PikachuGabe opened this issue Dec 28, 2024 · 3 comments

Comments

@PikachuGabe
Copy link

Server segfaults during saving a rift. Mods are available here.
80fa77db-5e84-42fa-8bed-83839fbbe1fc.zip
Zip archive containing the rift that was causing a segfault, it may not be the same version the server was trying to save.
hs_err_pid676879.log
Log created by the segfault.

@PikachuGabe
Copy link
Author

Could be caused by a conflict with dimthread if the mod is using thread unsafe methods, would also explain the lack of reports on the crash. I unfortunately cannot understand shit about the segfault's log, so I have no idea.

@gigaherz
Copy link
Owner

Ender-Rift is not designed to be thread-safe, it is littered with assumptions about when and how things happen. Specially because the mod allows ender-chest-like access to the contents of the rift from multiple structures, meaning multiple threads can easily access the contents of the rift concurrently, leading to race conditions.
I don't know how this would affect saving, though, since saving and loading happens exclusively from the overworld.
In any case, this should NOT cause a segfault, just data corruption. I wonder if the segfault is graal's issue. I would think it likely that it would just corrupt and not crash, if it was "vanilla" hotspot.

@PikachuGabe
Copy link
Author

Interesting. I'll let the server owner know as I only have read access to the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants