This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11223] dynamic_cast<> in shared library fails with SegFault when called from JNI
- From: "lemehmet at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2003 15:53:45 -0000
- Subject: [Bug c++/11223] dynamic_cast<> in shared library fails with SegFault when called from JNI
- References: <20030617154510.11223.lemehmet@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11223
------- Additional Comments From lemehmet@hotmail.com 2003-06-17 15:53 -------
Created an attachment (id=4234)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4234&action=view)
Regenerates SegFault of dynamic_cast from JNI but never from C++
Compile and link the files
> ./compile_testfiles
This will create a shared lib, 3 executables and a java class that invoke a
function that uses dynamic_cast from the shared lib.
Then run the tests.
> ./run_test