[Bug 22925] New: Hearts of Iron III - crashes on startup (-O0 vs -O2)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 29 06:54:36 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22925

           Summary: Hearts of Iron III - crashes on startup (-O0 vs -O2)
           Product: Wine
           Version: 1.1.38
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wylda at volny.cz
                CC: julliard at winehq.org


Hearts of Iron III crashes on start up. This looks to me like a hidden bug
covered by gcc optimizations (like when 1.1.44 was released). When using -O0
game crashes, but when -O2 is used game runs.

1. Use windowed mode (800x600) and follow installation HOW-TO
http://appdb.winehq.org/objectManager.php?sClass=version&iId=17439

2. I did a regression test between 1.1.37 and 1.1.38:

commit 90f31aa3811ef3e9920796d51b8da748c15cff05
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 27 13:35:32 2010 +0100

    ntdll: Always enable tail checking when running under Valgrind.

:040000 040000 15de4799ed58f77fa6c6e72f01c6d0a7eefca3b1
8efe76a427789790a92e281130526a92068dc359 M      dlls


3. No other bug report suffers from this commit.

4. Revert of this patch on top of wine-1.1.43-628 makes that problem go away.
Since wine-1.1.43-629 (the one which broke 1.1.44, when -O0 was used) it's
broken again and reverting no longer works.

5. Adding author of this patch to CC.


--private keyword: bisected

PS: This doesn't apply Hoi3 demo - is affected different way. In Hoi3 demo, you
can test only -O0 and see, that reverting fixes the issue. In FULL game you
don't need to revert, just use -O2 and it fixes the issue.

-- 
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