drdozer

0 Reputation

One Badge

14 years, 169 days

MaplePrimes Activity


These are answers submitted by drdozer

It bombs for me after printing the evaluation. Also, to get it to run at all, I have to launch the application with bin.X86_64_LINUX as the working directory, as it seems to be looking for gmp.so in the working directory, not the LD_LIBRARY_PATH.

>uname -a
Linux tawaif 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
>scala -classpath "../java/*"
Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_22).
Type in expressions to have them evaluated.
Type :help for more information.
scala> import com.maplesoft.externalcall._
import com.maplesoft.externalcall._
scala> import com.maplesoft.openmaple._
import com.maplesoft.openmaple._
scala>  val t = new Engine(Array("java"), new EngineCallBacksDefault(), null, null)
t: com.maplesoft.openmaple.Engine = com.maplesoft.openmaple.Engine@7004ba66
scala> t.evaluate("2+3;")
5
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2438f08915, pid=27068, tid=139794017273600
#
# JRE version: 6.0_22-b04# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
# Problematic frame:
# C  [libmaple.so+0x37d915]
#
# An error report file with more information is saved as:
# /home/nmrp3/maple14/bin.X86_64_LINUX/hs_err_pid27068.log## If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.
#Aborted
Page 1 of 1