Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Runtime Error on Solaris

open
nobody
None
5
2005-06-17
2005-06-17
Anonymous
No

Trying to access Java class from C++ application on
Solaris 9. I am using latest Jace. I have used proxy
generator and autoproxy tools to generate the proxy c++
classes for the Java classes in use by the application.
I have written wrapper C++ classes for the c++ proxies
and compiled both of these into two shared libraries -
libjaceproxy.so and libjacewrappers.so.
Also compiled jace c++/source into a shared library -
libJACECore.so and compiled source form jace/proxy
directory as libJTProxy.so. Application is linking to
these libraries. When I execute the application I get the
following run time error.

What is it that I am doing wrong here?
Please help me. Thanks!!

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 10 occurred at PC=0xFF3889E8
Function=__1cEjaceFproxyHJObjectQsetJavaJniObject6
MpnI_jobject__v_+0x50
Library=/vobs/acrew_core/mylib/libJTProxy.so

Current Java thread:

Dynamic libraries:
0x10000 JaceTestDriver
0xfec00000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libjvm.so
0xff380000 /vobs/acrew_core/mylib/libJTProxy.so
0xff2f0000 /vobs/acrew_core/mylib/libJACECore.so
0xff080000 ./libjaceproxy.so
0xff040000 ./libjacewrappers.so
0xff2c0000 /usr/lib/libCrun.so.1
0xfebb0000 /usr/lib/libm.so.1
0xff3b0000 /usr/lib/libw.so.1
0xfea80000 /usr/lib/libc.so.1
0xff030000 /usr/lib/libdl.so.1
0xfeb70000 /usr/lib/libthread.so.1
0xfea60000 /usr/lib/libsocket.so.1
0xfe980000 /usr/lib/libnsl.so.1
0xfea40000 /usr/lib/libsched.so.1
0xfe960000 /usr/lib/libmp.so.2
0xfeba0000 /usr/platform/SUNW,Sun-Fire-
480R/lib/libc_psr.so.1
0xfe910000 /usr/lib/librt.so.1
0xfe8e0000 /usr/lib/libaio.so.1
0xfe8c0000 /usr/lib/libmd5.so.1
0xfe890000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/native_threads
0xfe850000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libverify.so
0xfe3c0000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libjava.so
0xfe820000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libzip.so
0xfe1b0000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libjdwp.so
0xfc7e0000 /project/aircrews/packages/sun/j2sdk1.4.
2_04/jre/lib/sparc/libdt_socket.s
0xfc7c0000 /usr/lib/nss_nis.so.1

Heap at VM Abort:
Heap
def new generation total 2112K, used 285K
[0xf4800000, 0xf4a20000, 0xf4a20000)
eden space 2048K, 11% used [0xf4800000,
0xf483c958, 0xf4a00000)
from space 64K, 67% used [0xf4a00000, 0xf4a0ad30,
0xf4a10000)
to space 64K, 0% used [0xf4a10000, 0xf4a10000,
0xf4a20000)
tenured generation total 1408K, used 186K
[0xf4a20000, 0xf4b80000, 0xf5800000)
the space 1408K, 13% used [0xf4a20000,
0xf4a4eb08, 0xf4a4ec00, 0xf4b80000)
compacting perm gen total 4096K, used 2331K
[0xf5800000, 0xf5c00000, 0xf9800000)
the space 4096K, 56% used [0xf5800000,
0xf5a46fe8, 0xf5a47000, 0xf5c00000)

Local Time = Fri Jun 17 19:53:36 2005
Elapsed Time = 1
#
# The exception above was detected in native code
outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05
mixed mode)
#
# An error report file has been saved as
hs_err_pid17459.log.
# Please refer to the file for further information.
#

[1] Abort JaceTestDriver

Thanks!!
SReddy

Discussion