ferium
ferium copied to clipboard
Adding mods from GitHub releases reports "thread 'main' has overflowed its stack"
Description
For some GitHub releases adding the mod causes "thread 'main' has overlowed its stack." This message doesn't tell me anything to troubleshoot it.
Steps to reproduce
- Make sure you created a profile
- Run
ferium add Nyan-Work/malilib --dont-check-mod-loader --dont-check-game-version
- Expect
Adding mod... ✓
, but instead
Adding mod...
thread 'main' has overflowed its stack
Operating System
Windows
Are you using the latest version of ferium?
- [X] I am using the latest version of ferium
Additional Information
ferium installed from Rust toolchain cargo install ferium
.
Hmm I have no idea why this occurs. More importantly, I can't replicate this on my machine. Is this on x64 Windows or some other architecture?
I'm on Windows 11 64 bit. I was using msys2/mingw64 as a shell, but installed rust using rustup.
I just tried in the normal command prompt, same result.
Just tried the GNU binary for Windows from Releases. Same thing.
Thanks for the info. I don't have a working Windows installation, but I'll try debugging this in docker and see if I can replicate this.
same here,if you execute ferium add 531834
in 1.20.1 forge environment, the bug will appear.
Ok I was able to reproduce this issue but I have no idea where the stack overflow is occuring because rust-lang/rust#51405. But I'll try to debug this nevertheless.
Fixed in gorilla-devs/libium@130055b78b47eb6e91cc0642b3f485ecb66b2bba