https://bugs.winehq.org/show_bug.cgi?id=45063
Bug ID: 45063 Summary: win64 / 64-bit .NET 4.0 - c0000005 from ntdll:RtlGetDaclSecurityDescriptor Product: Wine Version: 3.6 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: pembertona@gmail.com
After fighting for some to get .NET 4.0 running on 64 bit (great progress here after overcoming multiple msi/msiexec/installer issues), I've hit an access violation exception running a very basic 'hello world' 64-bit console app. This is on `portable-winehq-staging-3.6-osx64` - but almost certainly the devel and stable branches as well.
136984.882:0008:0041:Call advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW(19e1f7f8 L"D:P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)",00000001,19e1f780,19e1f7c8) ret=6447f2c4d3e 136984.884:0008:0041:trace:advapi:ConvertStringSecurityDescriptorToSecurityDescriptorW L"D:P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 1, 0x19e1f780, 0x19e1f7c8 136984.884:0008:0041:trace:heap:RtlAllocateHeap (0x10000,70000062,00000062): returning 0xf60b0 136984.885:0008:0041:trace:advapi:ParseStringAclToAcl L"P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)" 136984.885:0008:0041:trace:advapi:ParseStringSidToSid L"BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 0x0, 0x19e1f514 136984.885:0008:0041:trace:advapi:ParseStringSidToSid only size requested, returning TRUE with 16 136984.885:0008:0041:trace:advapi:ParseStringSidToSid L"S-1-5-21-0-0-0-1000)", 0x0, 0x19e1f514 136984.885:0008:0041:trace:advapi:ParseStringSidToSid only size requested, returning TRUE with 28 136984.885:0008:0041:trace:heap:RtlFreeHeap (0x10000,70000062,0xf60b0): returning TRUE 136984.886:0008:0041:trace:heap:RtlAllocateHeap (0x10000,7000006a,00000058): returning 0x46340 136984.886:0008:0041:trace:heap:LocalAlloc (flags=0040) returning 0x46340 136984.886:0008:0041:trace:heap:RtlAllocateHeap (0x10000,70000062,00000062): returning 0x46420 136984.886:0008:0041:trace:advapi:ParseStringAclToAcl L"P(A;;GRGW;;;BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)" 136984.886:0008:0041:trace:advapi:ParseStringSidToSid L"BA)(A;;GRGW;;;S-1-5-21-0-0-0-1000)", 0x46364, 0x19e1f514 136984.886:0008:0041:trace:advapi:ParseStringSidToSid returning TRUE 136984.886:0008:0041:trace:advapi:ParseStringSidToSid L"S-1-5-21-0-0-0-1000)", 0x4637c, 0x19e1f514 136984.886:0008:0041:trace:advapi:ParseStringSidToSid returning TRUE 136984.887:0008:0041:trace:heap:RtlFreeHeap (0x10000,70000062,0x46420): returning TRUE 136984.887:0008:0041:trace:advapi:ConvertStringSecurityDescriptorToSecurityDescriptorW ret=1 136984.887:0008:0041:Ret advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW() retval=00000001 ret=6447f2c4d3e 136984.887:0008:0041:Call ntdll.RtlFreeHeap(00010000,00000000,000f5f30) ret=6447f2c4dc8 136984.887:0008:0041:trace:heap:RtlFreeHeap (0x10000,70000062,0xf5f30): returning TRUE 136984.887:0008:0041:Ret ntdll.RtlFreeHeap() retval=00000001 ret=6447f2c4dc8 136984.887:0008:0041:trace:ntdll:RtlGetSaclSecurityDescriptor (0x46340,0x19e1f716,0x19e1f718,0x19e1f715) 136984.887:0008:0041:trace:ntdll:RtlGetDaclSecurityDescriptor (0x46340,0x19e1f717,0x19e1f720,0x19e1f715) 136984.887:0008:0041:trace:heap:RtlAllocateHeap (0x10000,7000006a,0000009c): returning 0x46570 136984.888:0008:0041:trace:heap:RtlFreeHeap (0x10000,70000062,0x46570): returning TRUE 136984.888:0008:0041:trace:seh:NtRaiseException code=c0000005 flags=0 addr=0x6447f1d6f19 ip=6447f1d6f19 tid=0041 136984.888:0008:0041:trace:seh:NtRaiseException info[0]=0000000000000000 136984.888:0008:0041:trace:seh:NtRaiseException info[1]=0000000000000010 136984.888:0008:0041:trace:seh:NtRaiseException rax=0000000000000000 rbx=000006447f27fd30 rcx=0000000019e1fce0 rdx=0000000019e21ad0 136984.888:0008:0041:trace:seh:NtRaiseException rsi=0000000019e1fce0 rdi=0000000000000000 rbp=0000000019e1fe00 rsp=0000000019e1fc20 136984.888:0008:0041:trace:seh:NtRaiseException r8=0000000019e1f298 r9=0000000000000010 r10=0000000019e21b25 r11=ffffffffffffffa9 136984.888:0008:0041:trace:seh:NtRaiseException r12=0000000000000000 r13=0000000000000000 r14=0000000000044860 r15=0000000000000000 136984.888:0008:0041:trace:seh:call_vectored_handlers calling handler at 0x6447f30a954 code=c0000005 flags=0 ... 136984.967:0008:0041:err:eventlog:ReportEventW L"Application: Console64.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an internal error in the .NET Runtime at IP 000006447F1D6F19 (000006447F100000) with exit code 80131506.\n"
Possibly related to https://bugs.winehq.org/show_bug.cgi?id=27680?
https://bugs.winehq.org/show_bug.cgi?id=45063
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 Keywords| |dotnet, win64 CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Andy,
unfortunately the trace log snippet isn't that useful on its own.
You need to provide a full backtrace with symbol information when running the app under 64-bit debugger. Providing a download link to this 'hello world' 64-bit console app would be helpful too.
Regards
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #2 from Andy P pembertona@gmail.com --- Created attachment 61200 --> https://bugs.winehq.org/attachment.cgi?id=61200 64 bit, console-based .exe - written in c# and requires v4.0.30319
wine64 'Console64.exe'
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #3 from Andy P pembertona@gmail.com --- Thank you, Anastasius. Still learning the debugging ropes. Uploaded the 64 bit exe (also have a 32 bit exe version that works as expected, only 64 bit has issues).
Here is the output of running winedbg. I'm not sure how to add the symbol information yet. Any pointers (no pun intended :)?
---
studio-mac$ wine64 winedbg 'z:/users/awp/downloads/console64.exe' preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 WineDbg starting on pid 004c preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 preloader: Warning: failed to reserve range 00007fff40000000-00007fff41ff0000 004d: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! 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 reg Register dump: rip:000000007bc8aaa1 rsp:000000000053fe18 rbp:000000000053ffd0 eflags:00000202 ( - -- I - - - ) rax:000000007ffc0000 rbx:000006427ee55ab8 rcx:0000000000000000 rdx:0000000000000000 rsi:000000007b7ea190 rdi:0000000000000002 r8:000000000053fe00 r9:0000000000000008 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>info local 0x000000007bc8aaa1 DbgBreakPoint+0x1: (0053ffd0) 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:000000007b7ea190 rdi:0000000000000002 r8:000000000053fe00 r9:0000000000000008 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. 004d:fixme:heap:RtlSetHeapInformation 0x760000 0 0x53f190 4 stub 004d:fixme:heap:RtlSetHeapInformation 0x980000 0 0x53f240 4 stub 004d:fixme:thread:SetThreadStackGuarantee (0x53fa18): stub Invalid address (0x000000007b45f5fc start_process+0x24c) for breakpoint 0, disabling it Process of pid=004c has terminated
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>
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello Andy,
the app works fine here as expected.
I've run some 64-bit .NET apps for quite a while, so I was surprised about the claim that a simple 64-bit console app can't be run.
--- snip --- $ wine64 ./Console64.exe 003a:fixme:heap:RtlSetHeapInformation 0x530000 0 0x52e640 4 stub 003a:fixme:thread:SetThreadStackGuarantee (0x52f988): stub 003a:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x6447f7085f0, 0x6447f97c568, 0x6447f9d5268) stub. 003a:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x6447f7085f0, 0x6447f97c4e8, 0x6447f97c820) stub. 003a:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x6447f7085f0, 0x6447f9d5278, 0x6447f9d5270) stub. 003a:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x6447f7085f0, 0x6447f9d52a8, 0x6447f97c710) stub. 003a:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework64\v4.0.30319\mscordacwks.dll", 0x6447f100000) stub! 003a:fixme:nls:LocaleNameToLCID unsupported flags 8000000 003a:fixme:nls:LCIDToLocaleName unsupported flags 8000000 003a:fixme:nls:get_dummy_preferred_ui_language (0x0 0x52d790 (nil) 0x52d794) returning a dummy value (current locale) 003a:fixme:nls:get_dummy_preferred_ui_language (0x0 0x52d790 0x85570 0x52d794) returning a dummy value (current locale) 64 Bit .NET 4 target application. Peace out! 003a:fixme:process:FlushProcessWriteBuffers : stub --- snip ---
Possible reasons for your problem:
* broken 64-bit WINEPREFIX due to your "manual" 64-bit .NET Framework install fixups * broken Wine package 'portable-winehq-staging-3.6-osx64' -> doesn't look like an official Wine package to me = unsupported * broken host environment (Mac OSX)
$ wine --version wine-3.6-189-ge13f59085f
Regards
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #6 from Andy P pembertona@gmail.com --- Anastasius: wow! Thanks for looking into it.
Questions: * can you confirm if you're on Mac or Linux? If Linux which distro? * can you confirm 'wine-3.6-189-ge13f59085f' is your wine version? where'd you get it? * can you confirm how you installed .NET 4.0? winetricks? manually via .exe?
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello Andy,
--- quote --- * can you confirm if you're on Mac or Linux? If Linux which distro? --- quote ---
Linux of course ;-) Fedora 27 (XFCE spin) .. it shouldn't matter though.
--- quote --- * can you confirm 'wine-3.6-189-ge13f59085f' is your wine version? where'd you get it? --- quote ---
That's why I wrote it. Wine freshly built from source .. almost daily.
--- quote --- * can you confirm how you installed .NET 4.0? winetricks? manually via .exe? --- quote ---
'winetricks -q dotnet40' + manual fixup (dlls copy) for known 32/64-bit installer issues.
Regards
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #8 from Andy P pembertona@gmail.com --- Thanks, Anastasius.
Regarding my possibly broken wine package, I pulled it from https://dl.winehq.org/wine-builds/macosx/pool/, at the version specified (portable-winehq-staging-3.6-osx64). Is building from source as in your example more supported? What package do you recommend for Mac?
Regarding your manual fixups --- any tips? Or scripted way to do this? (Just to rule it out as possibly causing my issue?). I plan to share the approach I used to do that but currently unpacking the msi/cab files manually.
How confident are you it's not a difference in Linux vs. Mac? I read some other issues about low-level ABI incompatibilities between Wine and Mac 64 bit (https://www.winehq.org/wwn/364#Wine64%20on%20Mac%20OS%20X).
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #9 from Andy P pembertona@gmail.com --- Any thoughts on my questions, Anastasius? I'm stumped here... after moving the DLL, .NET does appear to be properly installed in 64-bit mode but am still getting a "The process was terminated due to an internal error in the .NET Runtime at IP 000006447F1D6F19 (000006447F100000) with exit code 80131506" message.
https://bugs.winehq.org/show_bug.cgi?id=45063
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=45063
Matt Chambers matt.chambers42@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.chambers42@gmail.com
--- Comment #10 from Matt Chambers matt.chambers42@gmail.com --- Anastasius, do you still have a working .NET 4.0 64-bit with newer wine versions? Can you elaborate on what you mean by: "manual fixup (dlls copy) for known 32/64-bit installer issues." It would be good to get those fixes integrated into winetricks if possible.
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello Matt,
--- quote --- Can you elaborate on what you mean by: "manual fixup (dlls copy) for known 32/64-bit installer issues." It would be good to get those fixes integrated into winetricks if possible. --- quote ---
these are not needed anymore (see also bug 31741, bug 44869 etc.). You should be fine by using recent Wine releases.
Regards
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #12 from Matt Chambers matt.chambers42@gmail.com --- Ah, I was using winehq-staging instead of winehq-devel (3.12). It's working now with devel. Fantastic, thanks!
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #13 from Andy P pembertona@gmail.com --- @Matt: can you confirm whether you were running Mac OS or Linux?
@Anastasius: are you aware of anyone ever running Wine with .NET 4.x on 64-bit successfully from Mac OS?
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #14 from Andy P pembertona@gmail.com --- For context, I am still failing with the exact same "internal error in .NET runtime" 18 months later using the following packages:
* portable-winehq-devel-3.21-osx64 * portable-winehq-devel-4.17-osx64 * portable-winehq-stable-4.0.2-osx64 * portable-winehq-staging-4.17-osx64
https://bugs.winehq.org/show_bug.cgi?id=45063
Andy P pembertona@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pembertona@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45063
Andy P pembertona@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P1
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #15 from Matt Chambers matt.chambers42@gmail.com --- I was testing on Linux and I haven't tried it natively on OSX. As I mentioned, I had to use a specific version of the wine package before it would work. I haven't tried with more recent versions. I just created a Docker container with the working baseline and base any application-specific images on that. Good luck!
https://bugs.winehq.org/show_bug.cgi?id=45063
--- Comment #16 from Andy P pembertona@gmail.com --- Thanks, Matt.
Were those docker images always on a *nix host? (ie also not on MacOS?)