Hello all,
I have a specific case where i need to run wine as root, even though its not advised (i know).
This used to work fine. In 6.10 this does not work any more.
I get this for any command (e.g. winecfg): wine: could not load kernel32.dll, status c0000135
System: 5.12.11-200.fc33.x86_64 (fedora). WIne: wine-6.10 (Staging)
I have tried cleaning prefixes, rebooting, reinstalling wine. For normal users it works great.
Anyone know why this does not work any more?
Thanks,
/pedro
On 21/06/2021 00:56, Peter Dons Tychsen wrote:
Hello all,
I have a specific case where i need to run wine as root, even though its not advised (i know).
This used to work fine. In 6.10 this does not work any more.
I get this for any command (e.g. winecfg): wine: could not load kernel32.dll, status c0000135
System: 5.12.11-200.fc33.x86_64 (fedora). WIne: wine-6.10 (Staging)
I have tried cleaning prefixes, rebooting, reinstalling wine. For normal users it works great.
Anyone know why this does not work any more?
Thanks,
/pedro
This might be fixed by 79c102d6bec81b79e10290f23e9ac3816da6b58f, try 6.11 and see if you still have the problem.
HI Gabriel,
Well, 6.11 made a difference, but now the bug is just slightly different.
The crash is gone, but now it just hangs in the same place with:
00d4:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d4, blocked by 00ac, retrying (60 sec) 00e4:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00e4, blocked by 00ac, retrying (60 sec) 00f0:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f0, blocked by 00ac, retrying (60 sec)
So the change probably moved some things around, but did not fix it.
Anyone else see this?
Thanks,
/pedro
Den man. 21. jun. 2021 kl. 15.04 skrev Gabriel Ivăncescu gabrielopcode@gmail.com:
On 21/06/2021 00:56, Peter Dons Tychsen wrote:
Hello all,
I have a specific case where i need to run wine as root, even though its not advised (i know).
This used to work fine. In 6.10 this does not work any more.
I get this for any command (e.g. winecfg): wine: could not load kernel32.dll, status c0000135
System: 5.12.11-200.fc33.x86_64 (fedora). WIne: wine-6.10 (Staging)
I have tried cleaning prefixes, rebooting, reinstalling wine. For normal users it works great.
Anyone know why this does not work any more?
Thanks,
/pedro
This might be fixed by 79c102d6bec81b79e10290f23e9ac3816da6b58f, try 6.11 and see if you still have the problem.
Current version is now:
System: 5.12.12-200.fc33.x86_64 (fedora) wine-6.11 (Staging)
Den man. 28. jun. 2021 kl. 22.38 skrev Peter Dons Tychsen donpedro.list@gmail.com:
HI Gabriel,
Well, 6.11 made a difference, but now the bug is just slightly different.
The crash is gone, but now it just hangs in the same place with:
00d4:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d4, blocked by 00ac, retrying (60 sec) 00e4:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00e4, blocked by 00ac, retrying (60 sec) 00f0:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f0, blocked by 00ac, retrying (60 sec)
So the change probably moved some things around, but did not fix it.
Anyone else see this?
Thanks,
/pedro
Den man. 21. jun. 2021 kl. 15.04 skrev Gabriel Ivăncescu gabrielopcode@gmail.com:
On 21/06/2021 00:56, Peter Dons Tychsen wrote:
Hello all,
I have a specific case where i need to run wine as root, even though its not advised (i know).
This used to work fine. In 6.10 this does not work any more.
I get this for any command (e.g. winecfg): wine: could not load kernel32.dll, status c0000135
System: 5.12.11-200.fc33.x86_64 (fedora). WIne: wine-6.10 (Staging)
I have tried cleaning prefixes, rebooting, reinstalling wine. For normal users it works great.
Anyone know why this does not work any more?
Thanks,
/pedro
This might be fixed by 79c102d6bec81b79e10290f23e9ac3816da6b58f, try 6.11 and see if you still have the problem.
Sorry for the top posting (pre-emptive apology)... damn editor... :-)
Am 28.06.2021 um 22:38 schrieb Peter Dons Tychsen donpedro.list@gmail.com:
HI Gabriel,
Well, 6.11 made a difference, but now the bug is just slightly different.
The crash is gone, but now it just hangs in the same place with:
00d4:err:sync:RtlpWaitForCriticalSection section 000000007BC65540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00d4, blocked by 00ac, retrying (60 sec)
Just for clarification: Does the same Wine version work when you run it as a normal user? What happens if you create a fresh user account?
My best guess is that some settings are different for your root user than other users, e.g. some security stuff, ASLR, whatnotall.
What you can also do is run wine in gdb to see if there are any exceptions happening. WINEDEBUG=+seh might also show some information, but I found early startup debugging to be unreliable.