Red Hat Bugzilla – Bug 996203
Wine64 seh:RtlUnwindEx error with c++ exception handling
Last modified: 2015-04-25 19:17:16 EDT
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.
Version-Release number of selected component (if applicable):
$ wine64 --version
(assuming current-dir = uncompressed attachment)
Steps to Reproduce:
1. $ ./compile64.sh
2. $ wine64 ./main.exe
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
No crash :) Just what happens when compiled with compile32.sh:
Source code triggering the bug attached below.
Created attachment 785771 [details]
The offending code
Have you filed a bug with upstream?
(In reply to Michael Cronenworth from comment #2)
> Have you filed a bug with upstream?
I'm doing it now
Note: sorry, I'm a beginner with bug trackers yet :)
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The packages mingw32-winpthreads-static and mingw64-winpthreads-static must be installed in order to compile the attached package. Libwinpthread-1.dll is also necessary at runtime.
This bug was fixed upstream. Closing this bug now.