https://bugs.winehq.org/show_bug.cgi?id=39129
Bug ID: 39129 Summary: Multiple games and applications need support for 'NtSetInformationFile' class 'FileRenameInformation' (Spoon Studio 2011 based Stylizer 5.x, Boost.Interprocess based Tera Online, MSYS2 installer) Product: Wine Version: 1.7.49 Hardware: x86 URL: https://www.cygwin.com/ OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
After bug 30399 was fixed, the next issue is dash.exe crashes.
This is using setup-x86.exe, with no special options / extra packages, just the default install the entire way through.
[austin@localhost ~]$ wine --version wine-1.7.49-184-g5021e91 [austin@localhost ~]$ du -h setup-x86.exe 816K setup-x86.exe [austin@localhost ~]$ sha1sum setup-x86.exe 4885f4560a6c01ec6d94a322826cc656a63cd86c setup-x86.exe
https://bugs.winehq.org/show_bug.cgi?id=39129
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games and |Cygwin's dash.exe crashes |applications need support |during installation |for 'NtSetInformationFile' | |class | |'FileRenameInformation' | |(Spoon Studio 2011 based | |Stylizer 5.x, | |Boost.Interprocess based | |Tera Online, MSYS2 | |installer) |
https://bugs.winehq.org/show_bug.cgi?id=39129
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 52139 --> https://bugs.winehq.org/attachment.cgi?id=52139 backtrace
https://bugs.winehq.org/show_bug.cgi?id=39129
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 52140 --> https://bugs.winehq.org/attachment.cgi?id=52140 terminal output
https://bugs.winehq.org/show_bug.cgi?id=39129
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- This might be a duplicate of other existing bug reports. According to Qian Hong most of Cygwin works fine with all Staging patches applied. Didn't have time to bisect it yet, but I'm planning to do that at the weekend.
(If the NtSetInformationFile class 11 stubs are the problem, I just submitted a patch for that.)
https://bugs.winehq.org/show_bug.cgi?id=39129
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39129
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
I did a quick trace before leaving for work...
--- snip --- ... 0032:Call KERNEL32.CreateProcessA(00000000,00abd7b0 "C:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"",00000000,00000000,00000001,08000000,00000000,0024407c "C:\cygwin",00abd6cc,00abd69c) ret=00453b98 ... 0045:Call KERNEL32.__wine_kernel_init() ret=7bc6bc04 ... 0032:Ret KERNEL32.CreateProcessA() retval=00000001 ret=00453b98 ... 0045:Call netapi32.NetLocalGroupGetInfo(00000000,0061c55a L"Administrators",00000001,0061c358) ret=61121b08 0045:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Administrators" 1 0x61c358) semi-stub! ... 0045:Ret netapi32.NetLocalGroupGetInfo() retval=00000000 ret=61121b08 ... 0045:Call ntdll.NtQueryInformationToken(00000030,00000002,200180e0,00010000,0061c9cc) ret=610864d5 0045:trace:ntdll:NtQueryInformationToken (0x30,2,0x200180e0,65536,0x61c9cc) ... 0045:Ret ntdll.NtQueryInformationToken() retval=00000000 ret=610864d5 ... 0045:Call advapi32.LsaLookupSids(0000cafe,00000005,20028360,0061c9d0,0061c9d4) ret=61086799 ... 0045:Ret advapi32.LsaLookupSids() retval=00000107 ret=61086799 ... 0045:Call ntdll.RtlIdentifierAuthoritySid(20018128) ret=61121e36 0045:Ret ntdll.RtlIdentifierAuthoritySid() retval=2001812a ret=61121e36 ... 0045:Call ntdll.RtlInitUnicodeString(0061c1f8,0061c6dc L"Users") ret=610f2145 0045:Ret ntdll.RtlInitUnicodeString() retval=0061c1f8 ret=610f2145 0045:Call ntdll.RtlInitializeSid(0061c8a8,0061c7ea,00000002) ret=610ddb55 0045:Ret ntdll.RtlInitializeSid() retval=00000001 ret=610ddb55 0045:Call ntdll.RtlCopySid(00000044,613012c4,0061c8a8) ret=61085201 0045:trace:ntdll:RtlLengthSid sid=0x61c8a8 0045:Ret ntdll.RtlCopySid() retval=00000001 ret=61085201 0045:trace:seh:raise_exception code=c0000005 flags=0 addr=0x61183585 ip=61183585 tid=0045 0045:trace:seh:raise_exception info[0]=00000000 0045:trace:seh:raise_exception info[1]=00000000 0045:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=00000002 edx=00002923 esi=0061c4da edi=0061c36c 0045:trace:seh:raise_exception ebp=0061c938 esp=0061c234 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010202 0045:trace:seh:call_stack_handlers calling handler at 0x61031dd0 code=c0000005 flags=0 --- snip ---
Using Cygwin's own 'strace':
--- snip --- $ pwd /home/focht/.wine/drive_c/cygwin/bin
$ wine "c:\cygwin\bin\strace.exe" dash.exe ... 3079 899854 [main] dash 35 App version: 1007.32, api: 0.274 2561 902415 [main] dash 35 DLL version: 2002.1, api: 0.289 2267 904682 [main] dash 35 DLL build: 2015-08-18 11:18 3925 908607 [main] dash 35 dtable::extend: size 32, fds 0x61300FE8 4088 912695 [main] dash 35 __get_lcid_from_locale: LCID=0x0409 fixme:netapi32:NetLocalGroupGetInfo ((null) L"Administrators" 1 0x61c358) semi-stub! 4615 917310 [main] dash 35 pwdgrp::fetch_account_from_windows: line: Administrators:S-1-5-32-544:544: fixme:advapi:LsaOpenPolicy ((null),0x612b2044,0x00000800,0x61c974) stub fixme:advapi:LsaClose (0xcafe) stub 5551 922861 [main] dash 35 pwdgrp::fetch_account_from_windows: line: LOCAL:S-1-2-0:66048: 3919 926780 [main] dash 35 pwdgrp::fetch_account_from_windows: line: INTERACTIVE:S-1-5-4:4: 4966 931746 [main] dash 35 pwdgrp::fetch_account_from_windows: line: <Authenticated Users:S-1-5-11:11:> fixme:netapi32:NetLocalGroupGetInfo ((null) L"Users" 1 0x61c2d8) semi-stub! 5268 937014 [main] dash 35 pwdgrp::fetch_account_from_windows: line: Users:S-1-5-32-545:545: --- Process 35, exception c0000005 at 61183585 5738 942752 [main] dash 35 exception::handle: In cygwin_except_handler exception 0xC0000005 at 0x61183585 sp 0x61C234 8398 951150 [main] dash 35 exception::handle: In cygwin_except_handler signal 11 at 0x61183585 7023 958173 [main] dash 35 _cygtls::inside_kernel: pc 0x61183585, h 0x61000000, inside_kernel 0 6221 964394 [main] dash 35 normalize_posix_path: src /dev/kmsg 5496 969890 [main] dash 35 normalize_posix_path: /dev/kmsg = normalize_posix_path (/dev/kmsg) 4802 974692 [main] dash 35 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/kmsg) 4349 979041 [main] dash 35 mount_info::conv_to_win32_path: src_path /dev/kmsg, dst \Device\MailSlot\cygwin\dev\kmsg, flags 0x2, rc 0 6359 985400 [main] dash 35 __set_errno: fhandler_base* build_fh_name(const char*, unsigned int, suffix_info*):443 setting errno 6 6335 991735 [main] dash 35 sig_send: sendsig 0x8C, pid 35, signal 11, its_me 1 3705 995440 [main] dash 35 sig_send: wakeup 0xCC 3033 998473 [main] dash 35 sig_send: Waiting for pack.wakeup 0xCC 60009799 61008272 [main] dash 35 __set_errno: int sig_send(_pinfo*, siginfo_t&, _cygtls*):709 setting errno 88 7317 61015589 [main] dash 35 sig_send: returning 0xFFFFFFFF from sending signal 11 --- Process 35, exception c0000005 at 61183585 err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x61183585 --- Process 35 exited with status 0xc0000005 --- snip ---
Using Cygwin's snapshots and corresponding .dbg:
The crash call site is located somewhere here:
'pwdgrp::fetch_account_from_windows(fetch_user_arg_t &, cyg_ldap *)'
You might want to try:
https://github.com/wine-compholio/wine-staging/tree/master/patches/advapi32-...
Regards
https://bugs.winehq.org/show_bug.cgi?id=39129
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- it does't work with current git
wine-1.7.50-156-gd317750
https://bugs.winehq.org/show_bug.cgi?id=39129
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 64892 --> https://bugs.winehq.org/attachment.cgi?id=64892 Wine 4.12.1 backtrace
As of Wine 4.12.1, dash still crashes during Cygwin installation, but elsewhere: a NULL pointer read in ImpersonateNamedPipeClient():
Backtrace: =>0 0x007c0305 ImpersonateNamedPipeClient@4+0x19f015() in cygwin1 (0x0061ca08) 0x007c0305 ImpersonateNamedPipeClient@4+0x19f015 in cygwin1: movzwl 0x0(%ebx),%ebx
https://bugs.winehq.org/show_bug.cgi?id=39129
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/advapi32-LsaLook | |upSids Component|-unknown |advapi32 Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=39129
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |2e53f8bccb65d112e5e341586c7 | |30094950fe6c3
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- Patch committed, setting status RESOLVED FIXED.
Thank you for your bug report.
For me, with this fixed, Cygwin's dash stops crashing, but it takes many hours to install instead (I leave it running overnight), as fork() is broken and takes long to time out, but this is a separate issue.
https://bugs.winehq.org/show_bug.cgi?id=39129
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.14.
https://bugs.winehq.org/show_bug.cgi?id=39129
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=39129
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #9 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.