https://bugs.winehq.org/show_bug.cgi?id=35568
Bug ID: 35568 Summary: Osu! fails to install (crash during post-installation in LSA SID translation/.NET runtime) Product: Wine Version: 1.7.12 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Classification: Unclassified
Hello folks,
continuation of bug 27364
The main executable crashes during post-install step in .NET runtime.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+advapi wine ./osu!install.exe >>log.txt 2>&1 ...
0028:Call KERNEL32.CreateProcessW(00000000,001e4e78 L""C:\Program Files\osu!\osu!.exe" -setpermissions",00000000,00000000,00000000,00000000,00000000,001abaf0 L"C:\Program Files\osu!\",0033f6bc,0033f6ac) ret=7ece604e ... 002b:Call KERNEL32.__wine_kernel_init() ret=7bc5a326 0028:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7ece604e ... 002b:Call advapi32.LsaOpenPolicy(00000000,0033f134,00000800,0033f0dc) ret=0037b4a1 002b:fixme:advapi:LsaOpenPolicy ((null),0x33f134,0x00000800,0x33f0dc) stub 002b:trace:advapi:dumpLsaAttributes length=24, rootdir=(nil), objectname=null attr=0x00000000, sid=(null) qos=(nil) 002b:Ret advapi32.LsaOpenPolicy() retval=00000000 ret=0037b4a1 ... 002b:Call advapi32.LsaLookupSids(0000cafe,00000001,00a9a600,0033f104,0033f0f8) ret=0037b5cc 002b:trace:advapi:LsaLookupSids (0xcafe, 1, 0xa9a600, 0x33f104, 0x33f0f8) 002b:trace:advapi:LookupAccountSidW ((null),sid=S-1-1-0,(nil),0x33f03c(0),(nil),0x33f038(0),0x33f028) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 0) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 1) 002b:trace:advapi:LookupAccountSidW ((null),sid=S-1-1-0,(nil),0x33f03c(9),0x31f5d38,0x33f038(1),0x33f028) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 0) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 1) 002b:trace:advapi:LookupAccountSidW ((null),sid=S-1-1-0,(nil),0x33f03c(0),(nil),0x33f038(0),0x33f028) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 0) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 1) 002b:trace:advapi:LookupAccountSidW ((null),sid=S-1-1-0,0x31f5d48,0x33f03c(9),0x31f5d00,0x33f038(1),0x33f028) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 0) 002b:trace:advapi:IsWellKnownSid (S-1-1-0, 1) 002b:trace:advapi:LsaLookupSids mapped 1 out of 1 002b:Ret advapi32.LsaLookupSids() retval=00000000 ret=0037b5cc ... 002b:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f080) ret=78158dd3 002b:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a97b ip=7b83a97b tid=002b 002b:trace:seh:raise_exception info[0]=19930520 002b:trace:seh:raise_exception info[1]=0033f0c4 002b:trace:seh:raise_exception info[2]=79fe0a90 002b:trace:seh:raise_exception eax=7b8269e1 ebx=7b8bb000 ecx=19930520 edx=0033efc4 esi=0033f06c edi=0033f030 002b:trace:seh:raise_exception ebp=0033f008 esp=0033efa4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 002b:trace:seh:call_stack_handlers calling handler at 0x79fe08d4 code=e06d7363 flags=1 ... 002b:Call KERNEL32.RaiseException(e0434f4d,00000001,00000001,0033f058) ret=79eda91c 002b:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83a97b ip=7b83a97b tid=002b 002b:trace:seh:raise_exception info[0]=80131508 002b:trace:seh:raise_exception eax=7b8269e1 ebx=7b8bb000 ecx=80131508 edx=0033ef94 esi=0033f038 edi=0033f000 002b:trace:seh:raise_exception ebp=0033efd8 esp=0033ef74 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 002b:trace:seh:call_stack_handlers calling handler at 0x79f908a2 code=e0434f4d flags=1 002b:trace:seh:call_stack_handlers handler at 0x79f908a2 returned 1 002b:trace:seh:call_stack_handlers calling handler at 0x79f3b1a2 code=e0434f4d flags=1 ... 0024:Call user32.MessageBoxW(00010070,03a57880 L"Failed to install osu!.",03a57060 L"osu! Installer",00000030) ret=00462676 --- snip ---
Managed backtrace:
--- snip --- Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) at #1h.#0h.#OL(Boolean ) at #1h.#np.#Hwb() wine: Unhandled exception 0xe0434f4d in thread 3c at address 0x7b83a97b (thread 003c), starting debugger... --- snip ---
Reminds me of bug 16418 (with dupes like bug 21583)
$ sha1sum osu!install.exe 45249f94b884126064947ce38b36d7bed03cfbd8 osu!install.exe
$ du -sh osu!install.exe 55M osu!install.exe
$ wine --version wine-1.7.12-28-g0f2bed5
Regards