https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #4 from Andy P pembertona@gmail.com --- This time with 'trace+adviapi' turned on:
macb0086:outsystems-studio-mac awp$ wine64 winedbg 'z:/users/awp/downloads/console64.exe' preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 000b:fixme:winediag:start_process Wine Staging 3.6 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 000d:trace:advapi:CreateProcessAsUserW 0x24 L"C:\windows\system32\explorer.exe" L"C:\windows\system32\explorer.exe /desktop" 0x0 0x0 0 0x00000008 0x0 L"C:\windows\system32" 0x23d510 0x23d4f8 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 000f:trace:advapi:GetTokenInformation (0xac, TokenUser, 0x0, 0, 0x22f2e4): 000f:trace:advapi:GetTokenInformation (0xac, TokenUser, 0x160e0, 44, 0x22f2e4): 000f:trace:advapi:ConvertSidToStringSidW 0x160f0 0x23f550 000f:trace:advapi:LookupAccountSidW ((null),sid=S-1-5-21-0-0-0-1000,0x22f562,0x22f320(32758),0x0,0x22f318(0),0x22f330) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 0) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 1) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 2) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 3) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 4) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 5) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 6) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 7) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 8) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 9) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 10) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 11) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 12) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 13) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 14) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 15) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 16) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 17) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 18) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 19) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 20) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 21) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 22) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 23) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 24) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 25) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 26) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 27) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 28) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 29) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 30) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 31) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 32) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 33) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 34) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 35) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 36) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 37) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 38) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 39) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 40) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 41) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 42) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 43) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 44) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 45) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 46) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 47) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 48) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 49) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 50) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 51) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 52) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 53) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 54) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 55) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 56) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 57) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 58) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 59) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 60) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 61) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 62) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 63) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 64) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 65) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 66) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 67) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 68) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 69) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 70) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 71) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 72) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 73) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 74) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 75) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 76) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 77) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 78) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 79) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 80) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 81) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 82) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 83) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 84) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 85) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 86) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 87) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 88) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 89) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 90) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 91) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 92) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 93) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 94) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 95) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 96) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 97) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 98) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 99) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 100) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 101) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 102) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 103) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 104) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 105) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 106) 000f:trace:advapi:IsWellKnownSid (S-1-5-21-0-0-0-1000, 107) 0014:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 0014:fixme:process:SetProcessDEPPolicy (1): stub 0014:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub. preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 001c:fixme:heap:RtlSetHeapInformation 0x240000 0 0x23e800 4 stub 001c:fixme:heap:RtlSetHeapInformation 0x350000 0 0x23e7c0 4 stub 001c:fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub 001f:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub. preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 001f:fixme:heap:RtlSetHeapInformation 0x8a0000 0 0x77ed70 4 stub preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 WineDbg starting on pid 0039 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 0042:trace:advapi:CreateProcessAsUserW 0x38 L"C:\windows\system32\explorer.exe" L"C:\windows\system32\explorer.exe /desktop" 0x0 0x0 0 0x00000008 0x0 L"C:\windows\system32" 0x23e700 0x23e6e8 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 003a:fixme:heap:RtlSetHeapInformation 0x540000 0 0x53e7c0 4 stub 0x000000007bc8aaa1 DbgBreakPoint+0x1 in ntdll: ret Wine-dbg>0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0035:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! info local 0x000000007bc8aaa1 DbgBreakPoint+0x1: (0053ffd0) Wine-dbg>info reg Register dump: rip:000000007bc8aaa1 rsp:000000000053fe18 rbp:000000000053ffd0 eflags:00000202 ( - -- I - - - ) rax:000000007ffc0000 rbx:000006427ee55ab8 rcx:0000000000000000 rdx:0000000000000000 rsi:00000000681b1de2 rdi:000000007b7ea192 r8:0000000000000000 r9:0000000000000007 r10:00007fff544d314a r11:0000000000000246 r12:0000000000000000 r13:0000000000000000 r14:000000007ffdf000 r15:0000000000000000 Wine-dbg>info stack Stack dump: 0x000000000053fe18: 000000007b45f5f7 0000000000000000 0x000000000053fe28: 0000000000000000 0000000000000000 0x000000000053fe38: 0000000000000000 ffffffffffffffff 0x000000000053fe48: 000000007b488fe0 000000007b4312c0 0x000000000053fe58: 0000000000000000 000006427ee55ab8 0x000000000053fe68: 000000000053ffd0 000000000053fe20 0x000000000053fe78: 0000000000000000 0000000000000000 0x000000000053fe88: 000000007ffdf000 0000000000000000 0x000000000053fe98: 000000007b45f4bf 0000000000000000 0x000000000053fea8: 0000027f00001fa0 0000000000000000 0x000000000053feb8: 0000000000000000 0000000000000000 0x000000000053fec8: 0000000000000000 0000000000000000 Wine-dbg>step Single stepping until exit from function, which has no line number information. 0x000000007b45f5f7 start_process+0x247 in kernel32: movq %r14,%rcx Wine-dbg>info reg Register dump: rip:000000007b45f5f7 rsp:000000000053fe20 rbp:000000000053ffd0 eflags:00000302 ( - -- IT - - - ) rax:000000007ffc0000 rbx:000006427ee55ab8 rcx:0000000000000000 rdx:0000000000000000 rsi:00000000681b1de2 rdi:000000007b7ea192 r8:0000000000000000 r9:0000000000000007 r10:00007fff544d314a r11:0000000000000246 r12:0000000000000000 r13:0000000000000000 r14:000000007ffdf000 r15:0000000000000000 Wine-dbg>info stack Stack dump: 0x000000000053fe20: 0000000000000000 0000000000000000 0x000000000053fe30: 0000000000000000 0000000000000000 0x000000000053fe40: ffffffffffffffff 000000007b488fe0 0x000000000053fe50: 000000007b4312c0 0000000000000000 0x000000000053fe60: 000006427ee55ab8 000000000053ffd0 0x000000000053fe70: 000000000053fe20 0000000000000000 0x000000000053fe80: 0000000000000000 000000007ffdf000 0x000000000053fe90: 0000000000000000 000000007b45f4bf 0x000000000053fea0: 0000000000000000 0000027f00001fa0 0x000000000053feb0: 0000000000000000 0000000000000000 0x000000000053fec0: 0000000000000000 0000000000000000 0x000000000053fed0: 0000000000000000 0000000000000000 Wine-dbg>info local 0x000000007b45f5f7 start_process+0x247: (0053ffd0) Wine-dbg>step Single stepping until exit from function, which has no line number information. 003a:fixme:heap:RtlSetHeapInformation 0x760000 0 0x53f190 4 stub 003a:fixme:heap:RtlSetHeapInformation 0x980000 0 0x53f240 4 stub 003a:fixme:thread:SetThreadStackGuarantee (0x53fa18): stub 003a:trace:advapi:GetTokenInformation (0x74, TokenOwner, 0x0, 0, 0x53f348): 003a:trace:advapi:GetTokenInformation (0x74, TokenOwner, 0x6aa80, 36, 0x53f348): 003a:trace:advapi:GetTokenInformation (0x78, TokenOwner, 0x0, 0, 0x53f328): 003a:trace:advapi:GetTokenInformation (0x78, TokenOwner, 0x6ab60, 36, 0x53f328): 0049:trace:advapi:GetTokenInformation (0xf8, TokenUser, 0x0, 0, 0x19e1f6e8): 0049:trace:advapi:GetTokenInformation (0xf8, TokenUser, 0xdb3c0, 44, 0x19e1f6e8): 0049:trace:advapi:ConvertSidToStringSidW 0xdb400 0x19e1f7a0 0049:trace:advapi:ConvertStringSecurityDescriptorToSecurityDescriptorW L"D:P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 1, 0x19e1f780, 0x19e1f7c8 0049:trace:advapi:ParseStringAclToAcl L"P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)" 0049:trace:advapi:ParseStringSidToSid L"BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 0x0, 0x19e1f584 0049:trace:advapi:ParseStringSidToSid only size requested, returning TRUE with 16 0049:trace:advapi:ParseStringSidToSid L"S-1-5-21-0-0-0-1000)", 0x0, 0x19e1f584 0049:trace:advapi:ParseStringSidToSid only size requested, returning TRUE with 28 0049:trace:advapi:ParseStringAclToAcl L"P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)" 0049:trace:advapi:ParseStringSidToSid L"BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 0xdb204, 0x19e1f584 0049:trace:advapi:ParseStringSidToSid returning TRUE 0049:trace:advapi:ParseStringSidToSid L"S-1-5-21-0-0-0-1000)", 0xdb21c, 0x19e1f584 0049:trace:advapi:ParseStringSidToSid returning TRUE 0049:trace:advapi:ConvertStringSecurityDescriptorToSecurityDescriptorW ret=1 Invalid address (0x000000007b45f5fc start_process+0x24c) for breakpoint 0, disabling it Process of pid=0039 has terminated Wine-dbg>