[Bug 29808] New: mingw32-g++ random crash compiling a wxWidgets app since git change 764b85511c72ab9e4b4ab456c98e0e71b4aa4009
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(a)winehq.org ReportedBy: zaskar_84(a)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.
http://bugs.winehq.org/show_bug.cgi?id=29808 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-02-05 11:54:13 CST --- Could you confirm that reverting this commit fixes your problem? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|mingw32-g++ random crash |mingw32-g++ random crash |compiling a wxWidgets app |compiling a wxWidgets app |since git change | |764b85511c72ab9e4b4ab456c98 | |e0e71b4aa4009 | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 --- Comment #2 from Zaskar <zaskar_84(a)yahoo.com.ar> 2012-02-05 12:15:40 CST --- (In reply to comment #1)
Could you confirm that reverting this commit fixes your problem?
Yes. If I hard reset my local git to previous commit (666f83bc0f82c4d8bae2f30f7a6dee8f2d4cf584, gdi32:Add a helper to retrieve the octant bias.) I can compile the project without crashes. That's why I say this one can be the cause. I've compiled lots of wine git versions and tried to compile my project with them to see wich one works, and wich one doesn't until I narrowed it down to this one commit. Some extra info: The same thing happens with another smaller wxWidget project, in pseint.sourceforge.net, but I've pointed at zinjai because zinjai includes all files needed to reproduce the problem: sources, mingw32 compiler and libraries. The line where gcc say it stops is the end of the file. Rearranging #includes order in them (first wx stuff, them my stuff) can change the result, but none of this was necessary in wine 1.3.32 or older. And it never happened to me in a real Windows environment. If you need more details, or some extra testing let me know. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |764b85511c72ab9e4b4ab456c98 | |e0e71b4aa4009 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr(a)codeweavers.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban(a)gmail.com --- Comment #3 from Piotr Caban <piotr.caban(a)gmail.com> 2012-02-07 16:31:44 CST --- Should be fixed by c39793087d11a562655e636489042c2bc2baf63c. Please retest. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 --- Comment #4 from Zaskar <zaskar_84(a)yahoo.com.ar> 2012-02-07 18:54:49 CST --- (In reply to comment #3)
Should be fixed by c39793087d11a562655e636489042c2bc2baf63c. Please retest.
Yes, ZinjaI is compiling without problems now. Thanks! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c39793087d11a562655e6364890 | |42c2bc2baf63c Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2012-02-07 19:04:59 CST --- Fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29808 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2012-02-11 13:52:31 CST --- Closing bugs fixed in 1.4-rc3. -- 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.
participants (1)
-
wine-bugs@winehq.org