Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.61k stars 34 forks source link

kernelbase.dll failed to initialize, aborting. #182

Closed hogcycle closed 1 year ago

hogcycle commented 1 year ago

Describe the bug 002c:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize, aborting 002c:err:module:LdrInitializeThunk Initializing dlls for L"C:\windows\system32\wineboot.exe" failed, status c0000005 0034:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize, aborting 0034:err:module:LdrInitializeThunk Initializing dlls for L"C:\windows\system32\uninstaller.exe" failed, status c0000005

To Reproduce Steps to reproduce the behavior:

  1. Install Assetto Corsa on Steam. Run it with Proton 5.0. Run ```protontricks -c "wine uninstaller" 244210
  2. Command fails with this as output
    002c:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize, aborting
    002c:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\wineboot.exe" failed, status c0000005
    0034:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize, aborting
    0034:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\uninstaller.exe" failed, status c0000005

Expected behavior I'd expect the wine uninstaller menu to come up. The wine version inside is 5.0, I had it working before but I've messed up the install a few times. I deleted all the pfx files inside compatdata/244210 and reinstalled the game, so I'm not sure why it's not working anymore

System (please complete the following information):

Additional context If the error happens when trying to run a Protontricks command, run the command again using the -v flag and copy the output! For example, if the command that causes the error is protontricks 42 faudio, run protontricks -v 42 faudio instead and copy the output here.

Verbose output logs: https://hastebin.com/qorutecayo.apache

hogcycle commented 1 year ago

I'm thinking one of my previous attempts messed it up, These are some of the things I did

protontricks --no-background-wineserver 244210 winxp
protontricks --no-background-wineserver 244210 shell
cd -
wine dotNetFx40_Full_x86_x64.exe /q

is there a way to just reset the whole thing entirely?

hogcycle commented 1 year ago

Solved, had to delete the compatdata/244210 folder and restart.