http://bugs.winehq.org/show_bug.cgi?id=11840
Summary: Cygwin apps can't start up, fail creating a mailslot Product: Wine Version: CVS/GIT Platform: Other URL: http://cygwin.com OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Installing Cygwin with all defaults works fine up until it tries to run the postinstall bash scripts. When it fails, kill it, then just try to run bash; you'll get the same error. Here's a log; it shows a problem creating a mailslot immediately before the crash. Our current mailslot conformance test doesn't test quite this kind of path, fwiw.
0009:Call KERNEL32.CreateFileA(61169e60 "\\.\mailslot\cygwin\dev\kmsg",40000000,00000007,61109448,00000003,00000000,00000000) ret=6102f82c trace:file:CreateFileW L"\\.\mailslot\cygwin\dev\kmsg" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE FILE_SHARE_DELETE creation 3 attributes 0x0 trace:file:RtlDosPathNameToNtPathName_U (L"\\.\mailslot\cygwin\dev\kmsg",0x68afd0,(nil),(nil)) trace:file:RtlGetFullPathName_U (L"\\.\mailslot\cygwin\dev\kmsg" 520 0x68ad14 (nil)) trace:ntdll:NtCreateFile handle=0x68afd8 access=40000000 name=L"\??\mailslot\cygwin\dev\kmsg" objattr=00000042 root=(nil) sec=(nil) io=0x68afc8 alloc_size=(nil) attr=00000000 sharing=00000007 disp=1 options=00000050 ea=(nil).0x00000000 0009: open_file_object( access=40000000, attributes=00000042, rootdir=(nil), sharing=00000007, options=00000050, filename=L"\??\mailslot\cygwin\dev\kmsg" ) 0009: open_file_object() = OBJECT_NAME_NOT_FOUND { handle=(nil) } warn:file:CreateFileW Unable to create file L"\\.\mailslot\cygwin\dev\kmsg" (status c0000034) trace:file:CreateFileW returning 0xffffffff 0009:Ret KERNEL32.CreateFileA() retval=ffffffff ret=6102f82c ... trace:seh:raise_exception code=c0000005 flags=0 addr=0x61047509 ... 1003758 [main] bash 8 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 1011769 [main] bash 8 open_stackdumpfile: Dumping stack trace to bash.exe.stackdump 1088615 [main] bash 8 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 1090961 [main] bash 8 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)