Hi !
Currently i have to develop an application that is based on a C++ Core.
For testing purpose i just called some C++-Functions that simply do some
cout stuff from within a selfwritten Java-GUI. The functions are called
succesfully but if i want proceed in the Java-Programm i ALWAYS get an:
SIGSEGV 11* segmentation violation
stackbase=0x413c5000, stackpointer=0x413c4a28
Full thread dump:
"Thread-5" (TID:0x4065e658, sys_thread_t:0x414fef04, state:MW) prio=5
[...and so on...]
The same kind of error happens also with a different C++ Library
but similar calls (it doesn't matter if the c++ calls are doing some cout
stuff ore anything else).
The C++ Calls are compiled with g++ 2.7.2 with the -shared switch.
The same type of Code (Java and C++) runs without any problems on a Sun
Solaris 2.5.1 System (also with gcc 2.7.2).
So my conclusion is that there is a (are some) serious bug(s) in the Java
Native Interface of the JDK-Linux-Port...
Does anyone have the same kind of problem with jdk1.1.6v2 and JNI Calls
(calls of C++ Methods from Java) or does anyone have some further
information or hints for me what to do ?
------
mfg.
Steffen Tacke
*****************************************************************************
** | *** Wilhelm-Schickardt-Insitut fuer Informatik ** **
** | *** Tuebingen ** **
** | *** Sand 13 ** **
** | *** email [EMAIL PROTECTED] ** **
** | *** [EMAIL PROTECTED] ** **
** | *** Member #402 of TeamOS/2 Germany ** **
** | *** HOMEPAGE: http://www-ti.informatik.uni-tuebingen.de/~tacke ** **
*****************************************************************************