[Bug 29808] New: mingw32-g++ random crash compiling a wxWidgets app since git change 764b85511c72ab9e4b4ab456c98e0e71b4aa4009
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Feb 5 11:07:41 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=29808
Bug #: 29808
Summary: mingw32-g++ random crash compiling a wxWidgets app
since git change
764b85511c72ab9e4b4ab456c98e0e71b4aa4009
Product: Wine
Version: 1.4-rc2
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs at winehq.org
ReportedBy: zaskar_84 at yahoo.com.ar
Classification: Unclassified
I usually build Windows' binary and installer for my projects from my linux
laptop with wine. I've just found that since some change between wine-1.3.32
and wine-1.3.33 it gives random errors when compiling zinjai.exe. The problem
still persist in 1.4rc2 and current git version (tested a few minutes ago).
mingw32-g++ output is the following:
mingw32-g++ -O 2 -I"../MinGW"/wx/include -c mxFlowCanvas.cpp -o
../release.w32/mxFlowCanvas.o
mxFlowCanvas.cpp:823: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
there's no other wine message in the output.
The step where the error appears (for wich source file it crash) is not always
the same, it changes if I reboot the system.
I've made a binary search in git tree and I found that the change that
introduces the problem seems to be:
764b85511c72ab9e4b4ab456c98e0e71b4aa4009: mscvrt: Don't use fputc in flsbuf
implementation.
To reproduce it you can download zinjai for windows (this is the project I'm
trying to compile) from http://zinjai.sourceforge.net, install it (full
installation, with wxWidgets and fuentes checked) and try to compile it again
with a Makefile.wine that you can find in zinjai/src. I use mingw32-4.4.0 and
wxWidgets-2.8.3, both included in zinjai's installer, so you only need to
create a "mingw32-g++" script that calls ming32-g++.exe with wine (or modify
the makefile to set the correct command to call mingw32-g++.exe from zinjai's
mingw installation through wine), an run "make -f Makefile.wine" in a linux
terminal from zinjai/src.
In case it help, I'm running wine on a multilib slackware64 13.0 based system,
with kernel version 3.2.0-rc7.
--
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