ferium icon indicating copy to clipboard operation
ferium copied to clipboard

Adding mods from GitHub releases reports "thread 'main' has overflowed its stack"

Open tunaflsh opened this issue 1 year ago • 5 comments

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

  1. Make sure you created a profile
  2. Run ferium add Nyan-Work/malilib --dont-check-mod-loader --dont-check-game-version
  3. 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.

tunaflsh avatar Sep 27 '23 15:09 tunaflsh

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?

theRookieCoder avatar Sep 27 '23 16:09 theRookieCoder

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.

tunaflsh avatar Sep 27 '23 18:09 tunaflsh

Just tried the GNU binary for Windows from Releases. Same thing.

tunaflsh avatar Sep 27 '23 18:09 tunaflsh

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.

theRookieCoder avatar Sep 28 '23 08:09 theRookieCoder

same here,if you execute ferium add 531834 in 1.20.1 forge environment, the bug will appear.

Neboer avatar Apr 21 '24 03:04 Neboer

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.

theRookieCoder avatar Jun 01 '24 12:06 theRookieCoder

Fixed in gorilla-devs/libium@130055b78b47eb6e91cc0642b3f485ecb66b2bba

theRookieCoder avatar Jun 10 '24 18:06 theRookieCoder