This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]