https://bugs.winehq.org/show_bug.cgi?id=49858
Bug ID: 49858 Summary: Windows terminal crashes inside RegOpenKeyExW at start Product: Wine Version: 5.17 Hardware: x86-64 URL: https://github.com/microsoft/terminal/releases/downloa d/v1.2.2381.0/Microsoft.WindowsTerminal_1.2.2381.0_8we kyb3d8bbwe.msixbundle OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
I wanted to give this a try, and came as far as a nice crash at start.
The program is shipped as msixbundle (???), it can be extracted with 7zip
wget https://github.com/microsoft/terminal/releases/download/v1.2.2381.0/Microsof...
7z x Microsoft.WindowsTerminal_1.2.2381.0_8wekyb3d8bbwe.msixbundle
7z x CascadiaPackage_1.2.2381.0_x64.msix
Though this all looks rather hacky, I checked that after copying over the extracted folder to Windows 10, the application starts fine when I just start "WindowsTerminal.exe" in the unzipped folder (just started "cmd" , cd to the extracted folder and typed WindowsTerminal.exe in the console).
So I guess wine should be able to do this as well. The empty string in the fixme below already looks suspicious, don`t know what`s going on.... 00e4:fixme:combase:RoGetActivationFactory (L"", {00000035-0000-0000-c000-000000000046}, 000000000021FA40): semi-stub
Short log of crash:
00e4:fixme:ntdll:EtwEventRegister ({56c06166-2e2e-5f4d-7ff3-74f4b78c87d6}, 0000000140001000, 000000014001C048, 000000014001C068) stub. 00e4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000140016EEF, 58) stub 00e4:fixme:win:EnableMouseInPointer (0x1) stub 00e4:fixme:combase:RoGetActivationFactory (L"", {00000035-0000-0000-c000-000000000046}, 000000000021FA40): semi-stub wine: Unhandled page fault on read access to 0000000F00000001 at address 000000007B054C44 (thread 00e4), starting debugger...
=>0 0x000000007b054c44 RegOpenKeyExW+0x2c(hkey=0x8c, name=*** invalid address 0xf00000001 ***, options=0, access=0x20019) [Z:\media\louis\4048f735-ee98-496e-b75c-40783b1eaa1b\sda2\wine64-build..\wine\dlls\kernelbase\registry.c:470] in kernelbase (0x000000000021f9a0) 1 0x0000000000247fa6 RoGetActivationFactory+0x95(classid=0x21fa18, iid=0x140015c80, class_factory=0x21fa40) [Z:\media\louis\4048f735-ee98-496e-b75c-40783b1eaa1b\sda2\wine64-build..\wine\dlls\combase\roapi.c:57] in combase (0x000000000021f9a0) 2 0x000000014000af63 in windowsterminal (+0xaf62) (0x000000000021f9a0) 3 0x0000000140006d15 in windowsterminal (+0x6d14) (0x000000000021fa60) 4 0x0000000140006eb8 in windowsterminal (+0x6eb7) (0x000000000021fb80) 5 0x00000001400051e3 in windowsterminal (+0x51e2) (0x000000000021fd60) 6 0x0000000140012a72 in windowsterminal (+0x12a71) (0x000000000021fe60) 7 0x000000007b65e3b1 in kernel32 (+0x4e3b0) (0x000000000021fe60) 0x000000007b054c44 RegOpenKeyExW+0x2c [Z:\media\louis\4048f735-ee98-496e-b75c-40783b1eaa1b\sda2\wine64-build..\wine\dlls\kernelbase\registry.c:470] in kernelbase: movzwl (%rdx),%edx 470 if (retkey && (!name || !name[0]) &&
https://bugs.winehq.org/show_bug.cgi?id=49858
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- I resolve my bug as duplicate, as the other bugreport has better simpler install option/way to reproduce the crash
*** This bug has been marked as a duplicate of bug 51017 ***
https://bugs.winehq.org/show_bug.cgi?id=49858
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate