JNI Error: Ever seen this?

W

winbatch

Hi All,
Wondering if any of you have seen this when running a simple JNI program. I
can provide more details if necessary.
java -classpath . Dan
Assertion failed: 0, file
/set/nozomi/builds.sparc-S2/twofifteen/sparc-S2/lang/cafe/lib/libCrun/exthro
w.cc, line 316
Abort (core dumped)
 
G

Gordon Beaton

Assertion failed: 0, file
/set/nozomi/builds.sparc-S2/twofifteen/sparc-S2/lang/cafe/lib/libCrun/exthro
w.cc, line 316
Abort (core dumped)

Look at line 316 in exthow.cc, you'll find the following:

assert(0);

and hopefully a comment telling you why the author decided that if
that line was reached the program should abort and dump core rather
than return failure to the caller.

This doesn't have much to do with JNI.

/gordon
 
W

winbatch

Unfortunately, that file (or anything to do with that path) doesn't exist on
any server that I have..
 
G

Gordon Beaton

Unfortunately, that file (or anything to do with that path) doesn't
exist on any server that I have..

Judging from the error message, it's part of libCrun.

/gordon
 
R

Robert Olofsson

winbatch ([email protected]) wrote:
: Assertion failed: 0, file
: /set/nozomi/builds.sparc-S2/twofifteen/sparc-S2/lang/cafe/lib/libCrun/exthro
: w.cc, line 316
: Abort (core dumped)

Well if you have a core file (which your system tells you it has
created) then why not use gdb or any other debugger that can read core
files to check the backtrace for this error.

crash cours :)
computer# gdb
(gdb) core core
(gdb) bt

/robo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top