mojira.dev

wcuu8

Assigned

No issues.

Reported

No issues.

Comments

[Same root cause as MC-311807 / MC-311782 — additional reproduction on Windows 11]

Summary
On this machine, every button that opens a folder (Resource Packs → "Open Pack Folder",
"Open World Folder", etc.) causes a PERMANENT hang in 26.3. The game never recovers and the
process has to be killed. No crash report is generated and latest.log ends abruptly with no
exception.

A/B comparison — same machine, same OS, same game directory, only the game version differs:

26.2 → folder opens instantly, no freeze at all
26.3 → permanent hang, never returns

This makes it possible to rule out the OS, the shell, the path and the hardware: the only
variable is how 26.3 opens a folder.

Environment

  • Minecraft: 26.3 (release, 2026-09-15)

  • OS: Windows 11 24H2, build 26100.4652

  • Launchers: reproduces with BOTH the official Minecraft Launcher and HMCL

  • Java: bundled runtime shipped with 26.3

  • GPU / driver: NVIDIA GeForce RTX 4060 Laptop GPU, driver 572.70

  • Mods / loaders: none — reproduced on a clean vanilla profile AND on a Fabric profile, so
    neither the loader nor any individual mod is involved

  • Game directory: reproduced with BOTH the default %APPDATA%\.minecraft and a custom
    ASCII-only path on another drive

What has been ruled out

  1. Mod loaders — happens on a clean vanilla profile as well as on Fabric.

  2. Launcher-level overrides — happens with the official launcher and with HMCL.

  3. Resource pack contents — happens with an empty resourcepacks folder.

  4. Path / non-ASCII characters / cloud-synced directory / drive speed — default and custom
    paths both fail identically.

  5. Windows Shell being slow: the exact same API path returns fast from a normal process.
    Measure-Command { Start-Process "$env:APPDATA\.minecraft\resourcepacks" } = 89 ms.
    So ShellExecuteEx itself is healthy on this machine.

  6. Shell verb hijacking by third-party software:
    HKCR\Folder\shell\open\command → (default) = C:\WINDOWS\Explorer.exe,
    DelegateExecute = {11dbb47c-a525-400b-9e80-a54615a090c0} (stock values)

  7. Other platforms: Windows 10 and Linux players on the same build report no problem.

Observations

  • 26.3 replaced the folder-opening path with a synchronous SDLMisc.SDL_OpenURL call on the
    calling thread (see MC-311782). MC-311782 was marked fixed in 26.3-rc2, but that only
    addressed "freezes until the folder actually opens". On this machine the call never
    returns at all, so the "fixed" case and this case may not share the same root cause.

  • Because changing only the game version on one machine flips the result, the cause must be
    in how 26.3 performs the call, not in the OS.

Thread-level evidence captured while the game was frozen (PID 38664, Responding = False)

The process has 79 threads. One thread (TID 30016) is stuck inside the folder-open call.
Approximate chain, innermost frame first, read from the stack region (module+offset; no
symbols available, so offsets instead of function names):

ntdll.dll — user-message wait, never returns
windows.storage.dll +0x22770C +0x6782A8 +0x59A157 +0x7361B8 +0x6FFC10 +0x35D023 ...
SDL3.dll +0x59AA24 +0x25F180 +0x15A58C +0x2E450
jvm.dll +0x485270 +0x7B2D72 +0x484DD0 +0x485D1C
java.dll

In other words: Java -> SDL3.dll -> Windows.Storage / shell -> indefinite user32 message wait.

The render thread (TID 5836) is the thread that owns the visible window "Minecraft 26.3"
and has the highest accumulated CPU (30.6 s). It is blocked in a pure JVM-level wait with
no shell frames at all — it is waiting on the thread above, which never returns.

Two more signs that shell code is being hosted inside the game process:

  • The process owns a hidden "WorkerW" window (a Win32 shell window class) created by
    TID 8008. Minecraft never creates a WorkerW window itself.

  • TID 8008's stack contains only windows.storage.dll / SHCORE.dll / combase.dll, i.e. the
    Windows folder-open handler was loaded into javaw.exe and is running there.

Interpretation
26.3 performs the folder open synchronously on the calling thread. On Windows the call ends
up in the Storage/shell stack inside the game process, where it blocks in a message wait
that never completes; the render thread then waits on it forever. Nothing throws, which is
why there is no crash report and latest.log simply stops.

Suggested fix

  • Do not call the shell synchronously on the game thread. Spawning explorer.exe through
    ProcessBuilder (the 26.2 behaviour) avoids this entire class of problem; and/or

  • Move the call off the game thread, and never block the render thread on its completion.

Attachments

  • mc263-hang-evidence.txt — full thread dump of the frozen process: per-thread instruction
    pointer, the stack chains quoted above, and the window ownership table

  • latest.log — note the abrupt end with no exception and no crash report

[media][media]