]> git.ipfire.org Git - thirdparty/libtool.git/commit
[cygwin] Fix segfault in C++ exception handling test
authorCharles Wilson <libtool@cwilson.fastmail.fm>
Sat, 19 Jun 2010 20:29:45 +0000 (16:29 -0400)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Sat, 19 Jun 2010 21:46:56 +0000 (17:46 -0400)
commitc4901206cff33e5e1eae76684a9d8f416df29af5
tree23f5a46ef98aa29103d27c5842206c513707b49d
parent80333a915ca8aafa980e4d284ad9bf2d85c8b59f
[cygwin] Fix segfault in C++ exception handling test

* tests/exceptions.at (main.cpp:exceptions_in_module):
Move dlclose outside catch block; otherwise __cxa_end_catch
(part of the cygwin g++ ABI) accesses pointers to data inside
unloaded DLL. This is a platform ABI-specific bug, but is
likely common to many platforms' g++ and/or other C++
compilers.

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
ChangeLog
tests/exceptions.at