pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
864 stars 78 forks source link

`javaw.exe` fails to launch #129

Open magneticflux- opened 1 year ago

magneticflux- commented 1 year ago

I'm trying to debug Minecraft using software rendering, but using the latest release 22.3.1-mingw (and msvc) causes javaw.exe to fail to launch, with the error "The procedure entry point __CxxFrameHandler4 could not be located in the dynamic link library C:\WINDOWS\System32\gdi32full.dll".

I also tested MinGW builds 22.3.0, 22.2.4, and 22.2.1 and the same error happens. image

magneticflux- commented 1 year ago

I'm also running Windows 11 version 22H2 build 22623.1037, Java 19.0.1 Temurin build 36.0.202210180349, and Minecraft 1.19.2 (although this still happens when just running javaw.exe -version.

pal1000 commented 1 year ago

I tried official Minecraft Java launcher for Windows7/8 despite being on Windows 11 which comes with OpennJDK 17.0.3 LTS and couldn't reproduce. Minecraft for Windows 10/11 is a Windows store app that even if it might use Java I doubt it uses OpenGL .Are you using a 3rd-party launcher? If so, where I can get it?

magneticflux- commented 1 year ago

I'm not even starting Minecraft, I'm just running javaw.exe -version and it shows that error. I'm using this JDK: https://github.com/adoptium/temurin19-binaries/releases/tag/jdk-19.0.1+10 (file OpenJDK19U-jdk_x64_windows_hotspot_19.0.1_10.zip)

pal1000 commented 1 year ago

I can't reproduce the error message on Windows 11 22H2 22621.963 regardless of using Mesa3D or not. Maybe it's a 22621/2/3.1037 regression because the missing symbol error you are seeing is in gdi32full.dll which is a Windows system file, it's not part of Mesa3D. Screenshot_20221226_014207 If going back to patch level 963 makes the problem go away, then Microsoft has a problem with KB5021304.