code icon indicating copy to clipboard operation
code copied to clipboard

Modpack won't launch after killing it

Open mboegl opened this issue 1 year ago • 3 comments

Please confirm the following.

  • [X] I checked the existing issues for duplicate problems
  • [X] I have tried resolving the issue using the support portal
  • [X] I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

Theseus v0.7.1

What operating systems are you seeing the problem on?

Linux

Describe the bug

I created my own personal modpack with lots of mods and was fooling around with the garbage collection config, f'ed up and had to kill Mincecraft with a SIGKILL. Already did that like 20 times before without issues, but it looks like I now corrupted something. I can still run any other modpack, but the one a killed fails to start with:

2024-07-17T19:52:28.827641445+02:00 ERROR theseus_gui::error: error=Error launching Minecraft: Cached process 14912 has no accessable path span_trace=   0: theseus::state::children::insert_new_process
           with profile_relative_path=ProfilePathId("Vanilla Ultimate Unstable")
             at theseus/src/state/children.rs:263
   1: theseus::launcher::launch_minecraft
             at theseus/src/launcher/mod.rs:371
   2: theseus::api::profile::run_credentials
           with path=ProfilePathId("Vanilla Ultimate Unstable")
             at theseus/src/api/profile/mod.rs:763
   3: theseus::api::profile::run
           with path=ProfilePathId("Vanilla Ultimate Unstable")
             at theseus/src/api/profile/mod.rs:742

Seeing cached in the log, I just deleted ~/.cache/modrinth-app but that didn't help. I have no clue about Rust whatsoever, so I couldn't really deep-dive in the mentioned code.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

mboegl avatar Jul 17 '24 18:07 mboegl

not a bug

blryface avatar Jul 20 '24 22:07 blryface

actually maybe it is but why did you kill it in that weird way

blryface avatar Jul 20 '24 22:07 blryface

Actually my bad, I figured it out. When copying my JVM settings from one profile to the other, I introduced an error, so instead of sth like -XX:InitialHeapSize=8g I had -XX:InitialHeapSize8g (missing =) which wouldn't let the JVM start at all. So not really a corruption/caching whatever issue, but rather an unclear error message. Not sure if this is even fixable.

mboegl avatar Jul 24 '24 13:07 mboegl