[Bug 30030] LuxMark 2.0 crashes on startup (msvcrt C++ exception handling)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 3 13:17:14 CDT 2012


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
          Component|-unknown                    |msvcrt
            Summary|LuxMark 2.0 crashes on      |LuxMark 2.0 crashes on
                   |startup                     |startup (msvcrt C++
                   |                            |exception handling)
     Ever Confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> 2012-05-03 13:17:14 CDT ---
Hello,

confirming.

'winetricks -q vcrun2008' works around.

The problem seems to be related to Wine's C++ exception handling.

In the static initializer list there are a couple of exception objects
initialized.
Two C++ exceptions are thrown on purpose.

The first one which contains C++ exception type information and object is
gracefully handled (catch handler cleans properly up).

The second C++ exception leads to catch handler/cleanup recursion and
subsequently -> err:seh:setup_exception_record stack overflow 

That exception doesn't contain exception type/description and object
(rec->ExceptionInformation[1] and rec->ExceptionInformation[2] are NULL).
Native msvcrt can cope with that.

$ du -sh luxmark-win32-v2.0.zip 
28M    luxmark-win32-v2.0.zip

$ sha1sum luxmark-win32-v2.0.zip 
9658289fa41c72bd007367070ee374c2b9b9c673  luxmark-win32-v2.0.zip

$ wine --version
wine-1.5.3-101-g9c19ba6

Regards

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