[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave in java
From: |
Ernst Reissner |
Subject: |
Re: octave in java |
Date: |
Fri, 5 Aug 2016 15:07:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
additional information:
If i try the following java code:
public static void main(String[] args) throws Exception {// NOPMD
System.load("/home/ernst/Octave/octave/.build/libinterp/.libs/liboctinterp.so");
org.octave.Octave o = new org.octave.Octave();
System.out.println("need threaded invocation: "
+ o.needThreadedInvocation());
o.doEvalString("sin(42);");
this results in
need threaded invocation: true
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fcacc4847ba, pid=23120, tid=140509548140288
#
# JRE version: OpenJDK Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.91-b14 mixed mode linux-amd64
compressed oops)
# Derivative: IcedTea 3.0.1
# Distribution: Custom build (Fri May 6 08:03:59 UTC 2016)
# Problematic frame:
# C [liboctinterp.so.3.0.0+0x31e7ba]
octave::application::interactive()+0xa
#
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ernst/Software/src/main/java/eu/simuline/octave/hs_err_pid23120.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process eu.simuline.octave.OctaveInterfaceTester aborted
so needThreadedInvocation() can still be invoked whereas doEvalString
can not.
Even o.doEvalString("42;");
does not work.
Any suggestions?
Ernst
- octave in java, Ernst Reissner, 2016/08/05
- Re: octave in java,
Ernst Reissner <=