http://bugs.winehq.org/show_bug.cgi?id=31729
Bug #: 31729 Summary: cl.exe: stack overflow with certain long command lines Product: Wine Version: 1.5.13 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bjj4@charter.net Classification: Unclassified
Created attachment 41726 --> http://bugs.winehq.org/attachment.cgi?id=41726 Annotated console log of working and failing cases
cl.exe version 13.10.4035, Microsoft's C compiler from Windows DDK 3790.1830, crashes with certain long command lines when run under cmd.exe. But some other, even longer, command lines work fine, and cl.exe seems to work fine without cmd.exe. See the attached console log.
This Windows DDK can be downloaded from http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc409.... However, the installer crashes under wine. I've had to copy over the compiler and its associated dlls from an installation on Windows.
I'm using the latest wine (1.5.13) from the official repositories on Ubuntu 12.04 LTS, x64.
This problem was found when using nmake to build a large project. Unfortunately, nmake always launches the compiler via cmd.exe, so bypassing cmd.exe isn't an option. I haven't tried any other versions of cl.exe.
The same build works perfectly using wine 1.3.5 on SLES10 (kernel 2.6.16.46-0.12-xen.)
http://bugs.winehq.org/show_bug.cgi?id=31729
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-18 15:20:15 CDT --- (In reply to comment #0)
The same build works perfectly using wine 1.3.5 on SLES10 (kernel 2.6.16.46-0.12-xen.)
Please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=31729
--- Comment #2 from bjj4@charter.net 2012-10-01 13:50:10 CDT --- The problem seems to be in Ubuntu: both old (1.3.5) and new (1.5.13) releases work fine on SLES10 x64, but 1.3.5 (self-built), 1.5.13 (from repo) and 1.5.14 (from repo) all fail on Ubuntu 12.04 x64. As do various in-between revisions I tried during bisection.
How would you recommend I go about determining what's causing the problem on Ubuntu?
http://bugs.winehq.org/show_bug.cgi?id=31729
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-06-04 07:31:46 CDT --- Can you please retest with recent wine (1.5.31 or later)?
http://bugs.winehq.org/show_bug.cgi?id=31729
bjj4@charter.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from bjj4@charter.net 2013-06-21 16:31:26 CDT --- The commands in the attachment all seem to work using either wine 1.5.31 or 1.6-rc2 on the same xubuntu 12.04 system. Any idea what fixed it?
http://bugs.winehq.org/show_bug.cgi?id=31729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2013-06-28 15:03:52 CDT --- Closing bugs fixed in 1.6-rc4.