Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Wine problem with libxml2 after November OS updates

tl;dr

winetricks msxml3 msxml4

The story

After my monthly OS updates at home, I ran into a problem with Wine. This problem occurred for wine-6.21-1.fc34.x86_64 on Fedora 34 as well as with wine_5.0.3-3 on Devuan Ceres.

Running my once-favorite computer game, Sid Meier's Civilization 2 in Wine after package updates crashed, hard! Wine itself ran into weird problems. Some of the issues below are related to libxml2:i386 according to some research (which I conducted in a new session of LibreWolf so it ate my history...) I did. I ensured libxml2:i386 was installed on my Devuan system.

I decided to go into winetricks to ensure the msxml overrides were set/installed correctly. I picked versions 3 and 4, and then it worked! This fix worked in both Fedora and Devuan, which is really unusual.

Wine stacktrace

002c:fixme:winediag:LdrInitializeThunk wine-staging 6.21 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
007c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0090:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0090:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00fc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00fc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0104:err:module:find_forwarded_export module not found for forward 'msxml3.DllGetClassObject' used by L"C:\\windows\\system32\\msxml4.dll"
0104:err:ole:apartment_add_dll couldn't find function DllGetClassObject in L"C:\\windows\\system32\\msxml4.dll"
0104:err:ole:create_server class {88d969c0-f192-11d4-a65f-0040963251e5} not registered
0104:err:ole:com_get_class_object no class object {88d969c0-f192-11d4-a65f-0040963251e5} could be created for context 0x5
0104:err:ole:apartment_add_dll couldn't load in-process dll L"C:\\windows\\system32\\msxml3.dll"
0104:err:ole:create_server class {f5078f32-c551-11d3-89b9-0000f81fe221} not registered
0104:err:ole:com_get_class_object no class object {f5078f32-c551-11d3-89b9-0000f81fe221} could be created for context 0x5
0104:err:module:find_forwarded_export module not found for forward 'msxml3.DllGetClassObject' used by L"C:\\windows\\system32\\msxml2.dll"
0104:err:ole:apartment_add_dll couldn't find function DllGetClassObject in L"C:\\windows\\system32\\msxml2.dll"
0104:err:ole:create_server class {f5078f1b-c551-11d3-89b9-0000f81fe221} not registered
0104:err:ole:com_get_class_object no class object {f5078f1b-c551-11d3-89b9-0000f81fe221} could be created for context 0x5
0104:err:module:find_forwarded_export module not found for forward 'msxml3.DllGetClassObject' used by L"C:\\windows\\system32\\msxml.dll"
0104:err:ole:apartment_add_dll couldn't find function DllGetClassObject in L"C:\\windows\\system32\\msxml.dll"
0104:err:ole:create_server class {2933bf90-7b36-11d2-b20e-00c04f983e60} not registered
0104:err:ole:com_get_class_object no class object {2933bf90-7b36-11d2-b20e-00c04f983e60} could be created for context 0x5
wine: Unhandled exception 0x0eedfade in thread 104 at address 7B011026 (thread 0104), starting debugger...
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
011c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
011c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:imm:ImeSetActiveContext (0x791350, 1): stub
0110:fixme:imm:ImmReleaseContext (000100D2, 00791350): stub
011c:fixme:imm:ImeSetActiveContext (0x6c1d60, 0): stub
011c:fixme:imm:ImmReleaseContext (00010094, 006C1D60): stub
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0110:fixme:dbghelp:elf_search_auxv can't find symbol in module
0104:err:virtual:virtual_setup_exception stack overflow 1348 bytes in thread 0104 addr 0x7bc53aba stack 0x490abc (0x490000-0x491000-0x590000)
Process of pid=0100 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
00000038 services.exe
        ["C:\windows\system32\services.exe"]
        0000003c    0
        00000040    0
        0000004c    0
        00000068    0
        0000009c    0
        000000b4    0
        000000d8    0
00000044 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000048    0
        00000054    0
        00000058    0
        0000005c    0
        000000c0    0
00000060 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000064    0
        0000006c    0
        00000070    0
        00000074    0
        00000080    0
        00000084    0
        00000088    0
00000078 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        0000007c    0
        000000c4    0
        000000c8    0
0000008c plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000090    0
        000000a0    0
        000000a4    0
        000000a8    0
000000ac svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        000000b0    0
        000000b8    0
        000000bc    0
000000d0 rpcss.exe
        [C:\windows\system32\rpcss.exe]
        000000d4    0
        000000e0    0
        000000e4    0
        000000e8    0
        000000ec    0
        000000f0    0
        00000128    0
000000f8 conhost.exe
        ["C:\windows\system32\conhost.exe" --unix --width 118 --height 62 --server 0xc]
        000000fc    0
00000118 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        0000011c    0
        00000120    0
        00000124    0
winedbg: Internal crash at 0041DD3A

Comments