https://bugs.winehq.org/show_bug.cgi?id=52634
Bug ID: 52634 Summary: err:virtual:virtual_setup_exception stack overflow and could not load kernel32.dll when doing anything Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bill081001@gmail.com Distribution: ---
Created attachment 71959 --> https://bugs.winehq.org/attachment.cgi?id=71959 Relay log of running winecfg on a new prefix
I'm on Arch Linux and my Wine installation has not been working since version 6.19
Creating a new prefix and running winecfg yields the following error:
$ rm -rf ~/.wine && ./wine winecfg wine: created the configuration directory '/home/kuroni/.wine' 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0040:err:virtual:virtual_setup_exception stack overflow 708 bytes in thread 0040 addr 0x223d656d stack 0x120d3c (0x120000-0x121000-0x320000) 002c:err:virtual:virtual_setup_exception stack overflow 1284 bytes in thread 002c addr 0x7bc510e8 stack 0x120afc (0x120000-0x121000-0x320000) wine: could not load kernel32.dll, status c0000135
Running winecfg or any applications on the created prefix yields a similar error:
$ ./wine winecfg 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 002c:err:virtual:virtual_setup_exception stack overflow 1284 bytes in thread 002c addr 0x7bc510e8 stack 0x120afc (0x120000-0x121000-0x320000) wine: could not load kernel32.dll, status c0000135
Note that these are run on a fresh build of wine. I bisected and this is the faulty commit:
commit f309721d13d8d728732ca97224c7502493ff6026 Author: Jacek Caban jacek@codeweavers.com Date: Wed Oct 6 16:20:19 2021 +0200
gdi32: Use __wine_unix_call interface for Unix library.