[Bug 49858] New: Windows terminal crashes inside RegOpenKeyExW at start

WineHQ Bugzilla wine-bugs at winehq.org
Fri Sep 18 16:03:05 CDT 2020


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 at winehq.org
          Reporter: xerox.xerox2000x at 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/Microsoft.WindowsTerminal_1.2.2381.0_8wekyb3d8bbwe.msixbundle

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]) &&

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list