[Bug 19812] New: cygwin can't run chrome's svn.exe inside bash in wineconsole: fputs: bad file descriptor?
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Aug 21 12:37:24 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19812
Summary: cygwin can't run chrome's svn.exe inside bash in
wineconsole: fputs: bad file descriptor?
Product: Wine
Version: 1.1.27
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
To reproduce:
wget http://src.chromium.org/svn/trunk/tools/third_party/svn_bin.zip
unzip -x svn_bin.zip
chmod +x svn svn.bat svn_bin svn_bin/*
Now, running svn by itself in wine works great:
wine svn_bin/svn.exe help
shows a nice message.
But running it inside cygwin bash fails. Start cygwin with
sh winetricks cygwin
cd ~/.wine/drive_c/cygwin
wine wineconsole cygwin.bat
Then run svn with
cd wherever you unpacked that tarball
svn_bin/svn.exe help
There's no output at all, even if you redirect it to a file.
Running the wineconsole with WINEDEBUG=+relay, you can see the help message
trying to go out:
0028:Call msvcrt.fputs(00178e80 "usage: svn <subcommand> [options]
version"...,7eb37620) ret=00436def
0028:Ret msvcrt.fputs() retval=ffffffff ret=00436def
0028:Call msvcrt._errno() ret=00436df9
0028:Ret msvcrt._errno() retval=0015bfc8 ret=00436df9
0028:Call msvcrt.strerror(00000009) ret=6eec984d
0028:Ret msvcrt.strerror() retval=0015c268 ret=6eec984d
0028:Call KERNEL32.MultiByteToWideChar(00000003,00000000,0033f8ac "Bad file
descriptor",00000013,00000000,00000000) ret=0049044e
0028:Ret KERNEL32.MultiByteToWideChar() retval=00000013 ret=0049044e
(You can also cheat and try running cygwin bash without that batch
file and without wineconsole; that also fails for a very different reason.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list