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)
http://bugs.winehq.org/show_bug.cgi?id=11840
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Dan Kegel dank@kegel.com 2008-03-18 21:41:03 --- Seems to work now.
http://bugs.winehq.org/show_bug.cgi?id=11840
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-03-21 10:53:14 --- Closing bugs fixed in 0.9.58.
http://bugs.winehq.org/show_bug.cgi?id=11840
Shankar Giri V shankargiri@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shankargiri@gmail.com
--- Comment #3 from Shankar Giri V shankargiri@gmail.com 2008-03-27 12:56:18 --- I'm not quite sure this is fully fixed. I have a requirement to run Altera's Quartus II 7.2 SP2 on Linux using wine. While the install goes ahead perfectly, at the end there is a crash. Trying to run this directly from a pre-installed windows copy also results in the same crash. The crash is due to a cygwin umount.exe.
Note that the quartus distribution has cygwin binaries in the cygwin/bin subdirectory, and trying to run any cygwin executable all cause the same crash. Wine hangs at this point and has to be forcefully terminated.
I'm reporting this here, since the cygwin error in the bug report seems awfully close to what I'm getting.
Wine version: Ubuntu repositories based wine-0.9.58, running on Hardy Heron Beta.
Error dump: err:winedevice:ServiceMain driver L"Sentinel" failed to load fixme:process:IsWow64Process (0xffffffff 0x61fba8) stub! fixme:ntdll:NtSetInformationToken 0x38 4 0x611b55d8 48 fixme:ntdll:NtSetInformationToken 0x38 6 0x61f940 4 30 [main] ? (8) cygheap_user::init: SetTokenInformation (TokenDefaultDacl), Win32 error 1 fixme:ntdll:NtQueryObject Unsupported information class 1 fixme:ntdll:NtQueryObject Unsupported information class 1 Usage: umount [OPTION] [<posixpath>] Unmount filesystems
-A, --remove-all-mounts remove all mounts -c, --remove-cygdrive-prefix remove cygdrive prefix -h, --help output usage information and exit -s, --system remove system mount (default) -S, --remove-system-mounts remove all system mounts -u, --user remove user mount -U, --remove-user-mounts remove all user mounts -v, --version output version information and exit 200669 [main] umount 8 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 201385 [main] umount 8 open_stackdumpfile: Dumping stack trace to umount.exe.stackdump 216894 [main] umount 8 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 217644 [main] umount 8 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
http://bugs.winehq.org/show_bug.cgi?id=11840
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified