[Bug c++/11223] dynamic_cast<> in shared library fails with SegFault when called from JNI

lemehmet@hotmail.com gcc-bugzilla@gcc.gnu.org
Tue Jun 17 15:53:00 GMT 2003


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



More information about the Gcc-bugs mailing list