http://bugs.winehq.org/show_bug.cgi?id=13338
Summary: cygwin installer crashes in /etc/postinstall/00bash.sh Product: Wine Version: CVS/GIT Platform: Other URL: http://cygwin.com OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Installation was smooth until it tried to run the postinstall scripts; it got to 14%, then complained 393321 [proc_waiter] bash 37! _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION fixme:advapi:ImpersonateLoggedOnUser (0xd8) fixme:advapi:ImpersonateLoggedOnUser (0xd8) 393865 [proc_waiter] bash 37! open_stackdumpfile: Dumping stack trace to bash.exe.stackdump but no good stack dump is output.
You can reproduce this by running 'wine bash.exe' in cygwin's bin.
+relay seems to show it's inside a call to ReadFile():
003d:Call KERNEL32.ReadFile(000000e4,7e39e790,000000a4,7e39e78c,00000000) ret=61099eaa trace:file:ReadFile 0xe4 0x7e39e790 164 0x7e39e78c (nil) 003c:Call KERNEL32.WaitForSingleObject(00000110,0000ea60) ret=61097f94 003c:Ret KERNEL32.WaitForSingleObject() retval=00000000 ret=61097f94 003c:Call KERNEL32.CloseHandle(00000110) ret=61097fa8 003c:Ret KERNEL32.CloseHandle() retval=00000001 ret=61097fa8 003c:Call KERNEL32.WaitForMultipleObjects(00000002,0067b928,00000000,ffffffff) ret=61048886 003c:Ret KERNEL32.WaitForMultipleObjects() retval=ffffffff ret=61048886 trace:seh:raise_exception code=c0000005 flags=0 addr=0x610476d9 trace:seh:raise_exception info[0]=00000000 trace:seh:raise_exception info[1]=0000019c trace:seh:raise_exception eax=00000000 ebx=611697b8 ecx=ffffffff edx=61124b01 esi=00000000 edi=611030e4 trace:seh:raise_exception ebp=0067c528 esp=0067c4b0 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00010286 trace:seh:call_stack_handlers calling handler at 0x61018970 code=c0000005 flags=0