http://bugs.winehq.org/show_bug.cgi?id=34254
Bug #: 34254 Summary: Wine64 seh:RtlUnwindEx error with c++ exception handling Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: alejandropuchades@gmx.com Classification: Unclassified
Description of problem: When I was implementing a C wrapper for a C++ library, catching all possible exceptions in C++-land, I noticed my exception handlers were not being called and my app crashed under wine64. The same binary run just fine under windows 7, so it had to be a wine bug. Also, the same code compiled for 32 bits run successfully under the 32 bits version of wine.
System information: Fedora 19 x86_64, binaries compiled with the 32 and 64 bits versions of MinGW
Version-Release number of selected component (if applicable): $ wine64 --version wine-1.6
How reproducible: (assuming current-dir = uncompressed attachment)
Steps to Reproduce: 1. $ ./compile64.sh 2. $ wine64 ./main.exe
Actual results: throwing exception err:seh:RtlUnwindEx invalid frame 7fff42757fd0 (0x132000-0x330000) err:seh:setup_exception stack overflow 2416 bytes in thread 0009 eip 0007fb39b2ab22b esp 0000000000130c90 stack 0x130000-0x131000-0x330000
Expected results: No crash :) Just what happens when compiled with compile32.sh: throwing exception exception caught
Additional info: Source code triggering the bug attached below.