[Bug 48611] New: Cairo Shell v0.3.x (.NET 4.7 app) crashes due to missing 'HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\WinLogon\\Shell' registry sub-key
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Feb 16 09:56:02 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=48611
Bug ID: 48611
Summary: Cairo Shell v0.3.x (.NET 4.7 app) crashes due to
missing 'HKCU\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon\\Shell' registry sub-key
Product: Wine
Version: 5.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: registry
Assignee: wine-bugs at winehq.org
Reporter: focht at gmx.net
Distribution: ---
Hello folks,
as it says. Some user tried to install it:
https://old.reddit.com/r/winehq/comments/e7f3rz/cairo_requires_microsoft_net_framework_471_or/
So I tried as well. He likely suffers from broken .NET install/WINEPREFIX (not
subject to this report).
Project site: https://cairoshell.com/
https://github.com/cairoshell/cairoshell/releases/tag/v0.3.6842
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Cairo Shell
$ WINEDEBUG=+seh,+relay wine ./CairoDesktop.exe >>log.txt 2>&1
...
002c:Call advapi32.RegOpenKeyExW(80000001,016839bc
L"SOFTWARE\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon",00000000,00020019,0032f428) ret=79b98089
002c:Call ntdll.RtlInitUnicodeString(0032f35c,016839bc
L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\WinLogon") ret=7b031b59
002c:Ret ntdll.RtlInitUnicodeString() retval=0000006c ret=7b031b59
002c:Call ntdll.NtOpenKeyEx(0032f428,00020019,0032f364,00000000) ret=7b031b7b
002c:Ret ntdll.NtOpenKeyEx() retval=c0000034 ret=7b031b7b
002c:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7b031b82
002c:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7b031b82
002c:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=79b98089
002c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x3d86e29 ip=03d86e29
tid=002c
002c:trace:seh:raise_exception info[0]=00000000
002c:trace:seh:raise_exception info[1]=00000000
002c:trace:seh:raise_exception eax=00000000 ebx=0032f544 ecx=00000000
edx=016838e0 esi=00000000 edi=0032f4c0
002c:trace:seh:raise_exception ebp=0032f490 esp=0032f48c cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210246
002c:trace:seh:call_vectored_handlers calling handler at 0xbb4ec0 code=c0000005
flags=0
002c:Call KERNEL32.GetLastError() ret=00bb4eee
002c:Ret KERNEL32.GetLastError() retval=00000000 ret=00bb4eee
002c:trace:seh:call_vectored_handlers handler at 0xbb4ec0 returned 0
002c:trace:seh:call_stack_handlers calling handler at 0xbb7020 code=c0000005
flags=0
...
--- snip ---
Managed backtrace:
--- snip ---
0009:err:eventlog:ReportEventW L"Application: CairoDesktop.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info: System.NullReferenceException\n at
CairoDesktop.Interop.Shell.get_IsCairoUserShell()\n at
CairoDesktop.Startup.Main(System.String[])\n\n"
0009:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: 0009:fixme:ver:GetCurrentPackageId (0x32cad0 (nil)): stub
System.NullReferenceException: Object reference not set to an instance of an
object.
at CairoDesktop.Interop.Shell.get_IsCairoUserShell()
at CairoDesktop.Startup.Main(String[] args)
wine: Unhandled page fault on read access to 00000000 at address 03D86E29
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x03d86e29).
--- snip ---
It can be worked around by adding the sub-key/data:
--- snip ---
$ wine reg.exe add "HKCU\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon" /v Shell /t REG_SZ /d "explorer.exe" /f
--- snip ---
The app searches 'WinLogon' key first under HKCU. If not present, it will crash
right away. If 'WinLogon' is present but no 'Shell' sub-key it will search
HKLM.
$ sha1sum CairoSetup_32bit.exe
ba4098fce86a2d63a9107c0c18b2f68eb9417039 CairoSetup_32bit.exe
$ du -sh CairoSetup_32bit.exe
2.2M CairoSetup_32bit.exe
$ wine --version
wine-5.1-391-g7332de64a5
Regards
--
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