Items tagged with openmaple openmaple Tagged Items Feed

The program below coredumps once executed:

Engine mapleEngine = new Engine(new String[]{"java"}, new EngineCallBacksCustom(), null, null );

mapleEngine.evaluate("Groebner:-Basis(numer([lend2-lend2, lenh1-lenh1, trig7-lenh1/lenk1, degb1-degb1, degc1+degb1+degz1-180, degf1+degb1-degy1, degb1+degi1+degf1-180, degc1+degb1-degr1, degi1+degb1-degg1, degc2+degb1+dege1-180, degi2+dego1+degh2+degb1-360, lenl1-lenl1, lenb2/lenl1-lena2/lenn1, areat2-(1/2)*lenl1*lenh1, trig6-lenh1/lenj1, -lend1^2+lenh1^2+lenj1^2, lenb2/lenl1-lenl1/lend1, lend1+lend2-lenb2, lend1-lend1, lenl1/lend1-lena2/lenn1, trig2-lenj1/lend1, trig3-lenh1/lend1, trig4-lenh1/lend1, trig1-lenj1/lend1, areas2-(1/2)*lenh1*lenj1, lenj1+lenk1-lenl1, lenj1-lenj1, trig5-lenj1/lenh1, degb1+degi1-90, degz1-degm1-degi1, degi2-degx1-degm1-degi1, degi1-degi1, lenb2-lenb2, lena2-lena2, areaq2-(1/2)*lene2*lenn1, lene2^2+lenn1^2-lenp1^2, lenn1-lenn1, trig8-lenn1/lenp1, trig9-lenn1/lenp1, trig10-lene2/lenn1, trig11-lenn1/lene2, lenh1^2+lenk1^2-lenn1^2, lene2/lenk1-lenn1/lenh1, lene2/lenk1-lenp1/lenn1, lenn1/lenh1-lenp1/lenn1, trig12-lenk1/lenn1, trig13-lenh1/lenn1, trig14-lenh1/lenn1, trig15-lenk1/lenn1, arear2-(1/2)*lenh1*lenk1, lenk1-lenk1, trig16-lenk1/lenh1, degb1-45, degc1-60, lend1-3*2^(1/2)]), 'tord');");

 

The coredump Information:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x0000000012a53f47, pid=1860, tid=7456
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [fgbuni.dll+0xc3f47]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x0000000002d94800): JavaThread "main" [_thread_in_native, id=7456, stack(0x0000000002c90000,0x0000000002d90000)]

siginfo: ExceptionCode=0xc00000fd, ExceptionInformation=0x0000000000000001 0x0000000002c90000

Registers:
RAX=0x0000000000042f40, RBX=0x0000000000010bd0, RCX=0x00000000183ec740, RDX=0x0000000000010711
RSP=0x0000000002cc7c98, RBP=0x0000000002cc7cd0, RSI=0x0000000000000000, RDI=0x00000000183ec740
R8 =0x0000000000010bd0, R9 =0x0000000000042f40, R10=0x0000000002c84000, R11=0x0000000002c90000
R12=0x0000000019821178, R13=0x0000000000010711, R14=0x00000000132c9040, R15=0x0000000000010bd0
RIP=0x0000000012a53f47, EFLAGS=0x0000000000010206

Top of Stack: (sp=0x0000000002cc7c98)
0x0000000002cc7c98: 0000000000010bd0 0000000017ab3ec8
0x0000000002cc7ca8: 000000001299ff7c 000000000002783a
0x0000000002cc7cb8: 000000000002e025 00000000132c9050
0x0000000002cc7cc8: 0000000000000001 000000001345abac
0x0000000002cc7cd8: 0000000012997bdd 0000000000000018
0x0000000002cc7ce8: 00010bd000010bce 0000000000010711
0x0000000002cc7cf8: 00000000183ec740 000000001345abdc
0x0000000002cc7d08: 0000000000000000 00000000132c9050
0x0000000002cc7d18: 0000000000000000 0000000000000068
0x0000000002cc7d28: 0000000000010bd0 00007e5476285214
0x0000000002cc7d38: 0000000000010711 0000000000010bd0
0x0000000002cc7d48: 00000000132c9040 0000000000010711
0x0000000002cc7d58: 0000000019821178 0000000000000012
0x0000000002cc7d68: 00000000129a110a 0000000000010bd0
0x0000000002cc7d78: 0000000000000000 00000000183ec740
0x0000000002cc7d88: 000000001345abc4 00000000132c9040

Instructions: (pc=0x0000000012a53f47)
0x0000000012a53f27: d0 4d 0f 42 d3 65 4c 8b 1c 25 10 00 00 00 4d 3b
0x0000000012a53f37: d3 73 16 66 41 81 e2 00 f0 4d 8d 9b 00 f0 ff ff
0x0000000012a53f47: 41 c6 03 00 4d 3b d3 75 f0 4c 8b 14 24 4c 8b 5c
0x0000000012a53f57: 24 08 48 83 c4 10 c3 cc cc 48 83 ec 28 ff 15 26


Register to memory mapping:

RAX=0x0000000000042f40 is an unknown value
RBX=0x0000000000010bd0 is an unknown value
RCX=0x00000000183ec740 is an unknown value
RDX=0x0000000000010711 is an unknown value
RSP=0x0000000002cc7c98 is pointing into the stack for thread: 0x0000000002d94800
RBP=0x0000000002cc7cd0 is pointing into the stack for thread: 0x0000000002d94800
RSI=0x0000000000000000 is an unknown value
RDI=0x00000000183ec740 is an unknown value
R8 =0x0000000000010bd0 is an unknown value
R9 =0x0000000000042f40 is an unknown value
R10=0x0000000002c84000 is an unknown value
R11=0x0000000002c90000 is an unknown value
R12=0x0000000019821178 is an unknown value
R13=0x0000000000010711 is an unknown value
R14=0x00000000132c9040 is an unknown value
R15=0x0000000000010bd0 is an unknown value


Stack: [0x0000000002c90000,0x0000000002d90000], sp=0x0000000002cc7c98, free space=223k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [fgbuni.dll+0xc3f47]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.maplesoft.openmaple.Engine.evaluate(Ljava/lang/String;)Lcom/maplesoft/openmaple/Algebraic;+0
j com.tsinghuabigdata.TestMaple.main([Ljava/lang/String;)V+29
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x000000000b214000 JavaThread "Service Thread" daemon [_thread_blocked, id=8032, stack(0x000000000c910000,0x000000000ca10000)]
0x0000000002e8e000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3304, stack(0x000000000c810000,0x000000000c910000)]
0x0000000002e89000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7072, stack(0x000000000c710000,0x000000000c810000)]
0x000000000b205800 JavaThread "Attach Listener" daemon [_thread_blocked, id=432, stack(0x000000000c610000,0x000000000c710000)]
0x000000000b1ae000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7280, stack(0x000000000c510000,0x000000000c610000)]
0x0000000002e7f000 JavaThread "Finalizer" daemon [_thread_blocked, id=8060, stack(0x000000000c410000,0x000000000c510000)]
0x0000000002e74000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4448, stack(0x000000000c310000,0x000000000c410000)]
=>0x0000000002d94800 JavaThread "main" [_thread_in_native, id=7456, stack(0x0000000002c90000,0x0000000002d90000)]

Other Threads:
0x000000000b183000 VMThread [stack: 0x000000000c210000,0x000000000c310000] [id=7992]
0x000000000b21e000 WatcherThread [stack: 0x000000000ce10000,0x000000000cf10000] [id=8124]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 38400K, used 2663K [0x00000007d5c80000, 0x00000007d8700000, 0x0000000800000000)
eden space 33280K, 8% used [0x00000007d5c80000,0x00000007d5f19db0,0x00000007d7d00000)
from space 5120K, 0% used [0x00000007d8200000,0x00000007d8200000,0x00000007d8700000)
to space 5120K, 0% used [0x00000007d7d00000,0x00000007d7d00000,0x00000007d8200000)
ParOldGen total 86016K, used 0K [0x0000000781600000, 0x0000000786a00000, 0x00000007d5c80000)
object space 86016K, 0% used [0x0000000781600000,0x0000000781600000,0x0000000786a00000)
PSPermGen total 21504K, used 2827K [0x000000077c400000, 0x000000077d900000, 0x0000000781600000)
object space 21504K, 13% used [0x000000077c400000,0x000000077c6c2c38,0x000000077d900000)

Card table byte_map: [0x0000000005f50000,0x0000000006370000] byte_map_base: 0x000000000236e000

Polling page: 0x0000000001080000

Code Cache [0x0000000002e90000, 0x0000000003100000, 0x0000000005e90000)
total_blobs=216 nmethods=26 adapters=143 free_code_cache=48704Kb largest_free_block=49836288

Compilation events (10 events):
Event: 0.238 Thread 0x0000000002e8e000 nmethod 15 0x0000000002eff2d0 code [0x0000000002eff4e0, 0x0000000002f00240]
Event: 0.238 Thread 0x0000000002e8e000 23 sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (543 bytes)
Event: 0.252 Thread 0x0000000002e89000 nmethod 22 0x0000000002f01090 code [0x0000000002f01260, 0x0000000002f024e0]
Event: 0.252 Thread 0x0000000002e89000 24 java.lang.String::replace (127 bytes)
Event: 0.255 Thread 0x0000000002e8e000 nmethod 23 0x0000000002efb610 code [0x0000000002efb840, 0x0000000002efc3b8]
Event: 0.255 Thread 0x0000000002e8e000 25 sun.nio.cs.UTF_8$Encoder::encode (361 bytes)
Event: 0.261 Thread 0x0000000002e89000 nmethod 24 0x0000000002efd010 code [0x0000000002efd160, 0x0000000002efd598]
Event: 0.261 Thread 0x0000000002e89000 26 sun.net.www.ParseUtil::encodePath (336 bytes)
Event: 0.262 Thread 0x0000000002e8e000 nmethod 25 0x0000000002ef69d0 code [0x0000000002ef6b20, 0x0000000002ef7008]
Event: 0.278 Thread 0x0000000002e89000 nmethod 26 0x0000000002f071d0 code [0x0000000002f07400, 0x0000000002f084d8]

GC Heap History (0 events):
No events

Deoptimization events (1 events):
Event: 0.229 Thread 0x0000000002d94800 Uncommon trap: reason=unreached action=reinterpret pc=0x0000000002ef7c70 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 2

Internal exceptions (10 events):
Event: 0.033 Thread 0x0000000002d94800 Threw 0x00000007d5c90778 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:3991
Event: 0.161 Thread 0x0000000002d94800 Threw 0x00000007d5d5ca68 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.167 Thread 0x0000000002d94800 Threw 0x00000007d5d62858 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.200 Thread 0x0000000002d94800 Threw 0x00000007d5e000c0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.200 Thread 0x0000000002d94800 Threw 0x00000007d5e001e8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.236 Thread 0x0000000002d94800 Threw 0x00000007d5eb4ef8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.238 Thread 0x0000000002d94800 Threw 0x00000007d5ec5658 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.239 Thread 0x0000000002d94800 Threw 0x00000007d5ecfe40 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.243 Thread 0x0000000002d94800 Threw 0x00000007d5edb170 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.281 Thread 0x0000000002d94800 Threw 0x00000007d5ede4e8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244

Events (10 events):
Event: 0.243 loading class 0x0000000002e82650
Event: 0.243 loading class 0x0000000002e82650 done
Event: 0.281 loading class 0x0000000002e31450
Event: 0.281 loading class 0x0000000002e313f0
Event: 0.281 loading class 0x0000000002e313f0 done
Event: 0.281 loading class 0x0000000002e31450 done
Event: 0.281 loading class 0x000000000cdbc760
Event: 0.281 loading class 0x000000000cdbc760 done
Event: 4.173 Executing VM operation: EnableBiasedLocking
Event: 4.173 Executing VM operation: EnableBiasedLocking done


Dynamic libraries:
0x00007ff66ea10000 - 0x00007ff66ea43000 C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
0x00007ffc4d3d0000 - 0x00007ffc4d57c000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffc4c160000 - 0x00007ffc4c29e000 C:\Windows\system32\KERNEL32.DLL
0x00007ffc4a2c0000 - 0x00007ffc4a3d5000 C:\Windows\system32\KERNELBASE.dll
0x00007ffc48d50000 - 0x00007ffc48dde000 C:\Windows\system32\apphelp.dll
0x00007ffc33070000 - 0x00007ffc330c3000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x00007ffc4cb80000 - 0x00007ffc4cc2a000 C:\Windows\system32\msvcrt.dll
0x00007ffc49f40000 - 0x00007ffc49f6e000 C:\Windows\SYSTEM32\SspiCli.dll
0x00007ffc4cc30000 - 0x00007ffc4cc84000 C:\Windows\system32\SHLWAPI.dll
0x00007ffc4d090000 - 0x00007ffc4d207000 C:\Windows\system32\USER32.dll
0x00007ffc4c630000 - 0x00007ffc4c7c4000 C:\Windows\system32\ole32.dll
0x00007ffc4a750000 - 0x00007ffc4bc68000 C:\Windows\system32\SHELL32.dll
0x00007ffc49720000 - 0x00007ffc49741000 C:\Windows\SYSTEM32\USERENV.dll
0x00007ffc4c9a0000 - 0x00007ffc4ca4a000 C:\Windows\system32\ADVAPI32.dll
0x00007ffc3fe10000 - 0x00007ffc3fe2e000 C:\Windows\SYSTEM32\MPR.dll
0x00007ffc4c4d0000 - 0x00007ffc4c611000 C:\Windows\system32\RPCRT4.dll
0x00007ffc4cca0000 - 0x00007ffc4ccf9000 C:\Windows\SYSTEM32\sechost.dll
0x00007ffc4bc70000 - 0x00007ffc4be81000 C:\Windows\SYSTEM32\combase.dll
0x00007ffc4d270000 - 0x00007ffc4d3c1000 C:\Windows\system32\GDI32.dll
0x00007ffc4a130000 - 0x00007ffc4a145000 C:\Windows\SYSTEM32\profapi.dll
0x00007ffc48990000 - 0x00007ffc48a42000 C:\Windows\SYSTEM32\SHCORE.dll
0x00007ffc4be90000 - 0x00007ffc4bec6000 C:\Windows\system32\IMM32.DLL
0x00007ffc4c370000 - 0x00007ffc4c4c2000 C:\Windows\system32\MSCTF.dll
0x00007ffc480b0000 - 0x00007ffc4832b000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17415_none_6240486fecbd8abb\COMCTL32.dll
0x00000000521a0000 - 0x0000000052272000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\msvcr100.dll
0x00000000519d0000 - 0x0000000052199000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\server\jvm.dll
0x00007ffc43dd0000 - 0x00007ffc43dd9000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffc4a720000 - 0x00007ffc4a742000 C:\Windows\system32\WINMM.dll
0x00007ffc4ca50000 - 0x00007ffc4ca57000 C:\Windows\system32\PSAPI.DLL
0x00007ffc4d210000 - 0x00007ffc4d26a000 C:\Windows\system32\WS2_32.dll
0x00007ffc4a210000 - 0x00007ffc4a23a000 C:\Windows\system32\WINMMBASE.dll
0x00007ffc4cc90000 - 0x00007ffc4cc99000 C:\Windows\system32\NSI.dll
0x00007ffc4a490000 - 0x00007ffc4a4df000 C:\Windows\SYSTEM32\cfgmgr32.dll
0x00007ffc4a1e0000 - 0x00007ffc4a208000 C:\Windows\system32\DEVOBJ.dll
0x00000000527f0000 - 0x00000000527ff000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\verify.dll
0x00000000519a0000 - 0x00000000519c8000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\java.dll
0x0000000051980000 - 0x0000000051995000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\zip.dll
0x00007ffc30810000 - 0x00007ffc3082d000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\jopenmaple.dll
0x00007ffc293b0000 - 0x00007ffc293c1000 C:\Windows\SYSTEM32\maplec.dll
0x00007ffc24060000 - 0x00007ffc249a1000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\maple.dll
0x00007ffc46bf0000 - 0x00007ffc46c06000 C:\Windows\SYSTEM32\NETAPI32.dll
0x00007ffc4c120000 - 0x00007ffc4c136000 C:\Windows\system32\imagehlp.dll
0x00007ffc40ea0000 - 0x00007ffc40ea8000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\libhf.dll
0x0000000180000000 - 0x000000018000e000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\pthreadVC2.dll
0x00007ffc4cac0000 - 0x00007ffc4cb76000 C:\Windows\system32\COMDLG32.dll
0x00007ffc493c0000 - 0x00007ffc493cc000 C:\Windows\SYSTEM32\netutils.dll
0x00007ffc49d60000 - 0x00007ffc49d86000 C:\Windows\SYSTEM32\srvcli.dll
0x00007ffc46bb0000 - 0x00007ffc46bc7000 C:\Windows\SYSTEM32\wkscli.dll
0x000000000d710000 - 0x000000000da54000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\libmmd.dll
0x0000000052d60000 - 0x0000000052e29000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_88dcdb0b2fb19957\MSVCR80.dll
0x00007ffc49990000 - 0x00007ffc499e9000 C:\Windows\system32\mswsock.dll
0x00007ffc40280000 - 0x00007ffc40295000 C:\Windows\system32\napinsp.dll
0x00007ffc402a0000 - 0x00007ffc402ba000 C:\Windows\system32\pnrpnsp.dll
0x00007ffc46c80000 - 0x00007ffc46c9b000 C:\Windows\system32\NLAapi.dll
0x00007ffc49790000 - 0x00007ffc49834000 C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffc40270000 - 0x00007ffc4027d000 C:\Windows\System32\winrnr.dll
0x00007ffc402c0000 - 0x00007ffc402d4000 C:\Windows\system32\wshbth.dll
0x00007ffc40ed0000 - 0x00007ffc40eda000 C:\Windows\System32\rasadhlp.dll
0x00000000669c0000 - 0x0000000066a4a000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\libmaplegmp-10.dll
0x00007ffc37130000 - 0x00007ffc37133000 C:\Windows\SYSTEM32\icmp.Dll
0x00007ffc43d50000 - 0x00007ffc43d7a000 C:\Windows\SYSTEM32\iphlpapi.DLL
0x00007ffc43d30000 - 0x00007ffc43d3a000 C:\Windows\SYSTEM32\WINNSI.DLL
0x00007ffc43590000 - 0x00007ffc435fb000 C:\Windows\System32\fwpuclnt.dll
0x00007ffc22c70000 - 0x00007ffc24051000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\mstring.dll
0x00007ffc25f40000 - 0x00007ffc26026000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\modLA.dll
0x00007ffc26e70000 - 0x00007ffc26e87000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\arraytools.dll
0x0000000012990000 - 0x0000000012d69000 C:\Program Files\Maple 18\bin.X86_64_WINDOWS\fgbuni.dll
0x00007ffc364a0000 - 0x00007ffc3662a000 C:\Windows\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\Program Files\Maple 18\bin.X86_64_WINDOWS;D:\smartmatch\autojudge_V3\dll -Dfile.encoding=UTF-8
java_command: com.tsinghuabigdata.TestMaple
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45
CLASSPATH=.;C:\Program Files\Java\jdk1.6.0_45\lib;C:\Program Files\Java\jdk1.6.0_45\lib\tools.jar;D:\JAVA_PATH
PATH=C:\Program Files\Maple 18\jre\bin\client;C:\Program Files\Maple 18\bin.X86_64_WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\NetSarang;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;JAVA_HOME\bin;JAVA_HOME\jre\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\Java\jdk1.6.0_45\jre\bin;D:\Program Files\maven\bin;C:\Python27;C:\Python27\Scripts
USERNAME=bq
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel

 

--------------- S Y S T E M ---------------

OS: Windows 8 , 64 bit Build 9200

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 69 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc, tscinvbit

Memory: 4k page, physical 8290760k(3738828k free), swap 9601480k(3195268k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.51-b03) for windows-amd64 JRE (1.7.0_51-b13), built on Dec 18 2013 18:40:56 by "java_re" with unknown MS VC++:1600

time: Fri Apr 24 13:48:05 2015
elapsed time: 5 seconds

 

This is a question I have also submitted to the technical support, I am worried that it is a bit too technical for them, however:)

I am debugging a C program which links against the OpenMaple API library (under Linux and with Maple 17 and 18). I am using valgrind memcheck, because I am experiencing strange behavior which could be due to writes beyond allocated blocks of memory.  

The first thing which jumps to my eye, are many errors of the types

Use of uninitialised value of size (4/8/16)

Invalid read of size (4/8/16)

Conditional jump or move depends on uninitialised value(s)

The same errors are also printed when I use the examples that ship with Maple. For instance, I compile "simple.c" with

gcc  -Wl,--no-as-needed -lmaple -lmaplec -lrt -L /usr/lib -L $MAPLEDIR/bin.X86_64_LINUX -I $MAPLEDIR/extern/include -o simple simple.c

and run valgrind as

valgrind --tool=memcheck --error-limit=no --log-file=memcheck.log ./simple

memcheck.txt 

Some, but not all, of the errors occur in __intel_sse2_strcpy or __intel_sse2_strlen. Furthermore, according to valgrind there are definite memory leaks. which appear in the library. 

Practically this makes it hard for me to identify my potential own errors. I am a bit surprised to see so many warnings because I tend to fix my own programs until memcheck does not print these anymore (before I give it away at least). The question is: Can I consider these errors as safe to ignore? How would I distinguish real errors which may appear in my application?

I am considering options to access Maple features from within a Fortran program using the OpenMaple API. I do not find any examples illustrating this (or even precise statements if this is possible in principle). (Quite surprising to me considering the presence of Fortran in scientific computing).

Is the only way to go to write a C wrapper for the API? If yes, is there an example for such a wrapper which performs common conversions between Fortran and C data types.

Thanks!

Hi all,

I tried to create the*.exe file by C and call the kernel of maple for calculation.

To understand the OpenMaple, I ran the OpenMaple C code sample, “simple.c” in “<Maple>\ samples\OpenMaple\simple” through Microsoft Visual C++ 2008 but got the incorrect result:

 

It’s seems that the error is happen due to the wrong maple directory. But according to the description of "kernelopts" in help, the value of mapledir cannot be set.

 

Refer to the description of  "OpenMaple,Examples" in help , both header file path and library file path had been set:

O/S: Windows (32-bit)

Header file Directories: "C:\Program Files\Maple 17\extern\include"

Library Directories: "C:\Program Files\Maple 17\bin.win"

Environment Variable: "C:\program files\Maple 17\bin.win"

 

I'd appreciate any help on this topic. Thank a lot.

how to use c# check whether maple is installed

1.

Actually the goal is to output a numeric to c# variable after run a procedure

i use EvalMapleStatement to run the procedure body and then

use another EvalMapleStatement to call this procedure

it do not know the procedure or variable in last EvalMapleStatement

2.

then i think whether i can run it once with one EvalMapleStatment

however i got maple warning about declared local variables to procedure

so, the output...

i copy the example to run in a new project, it can run successfully

however, after copy part of code such as static class MapleEngine into my old console program, it return error unable to find maplec.dll when run at StartMaple

this old project is created with Visual Studio 2008 and migrated to 2010

 

then i do backward, i succeed when i copy old console code to new project which can run maple

this project is newly created in Visual Studio 2010

if i uninstall maple and keep some dll,  Is it possible to use openmaple without install maple?

 

Hello,

I have currently trouble running existing C-code in a new Linux (64 bit) system with Maple16. I have code that used work just fine, now it fails to evaluate. As an example, statements like

EvalMapleStatement(kv,"1+1+2^3;");

still work as expected and return a number. However, code like

EvalMapleStatement(kv,"int(x, x=0..1);");

returns int(x, x=0..1), i.e. a string, which causes my program to crash, because a number is expected.

(This question applies to the Win32 version of Maple 15.)

I've got a python wrapper for the OpenMaple interface, and I've managed to get most of the callback functions in the MCallBackVector structure passed in to StartMaple to work, but I've never (ever) seen the queryInterrupt callback called.

 

To investigate this, I modified the 'omexample.c' example (found in the <Maple install Dir>\samples\OpenMaple\cmaple directory installed with the product...

When I use Openmaple with C#, if the command line involves "MapleEngine.StopMaple" or "restart", or the command line including "MapleEngine.EvalMapleStatement" is executed twice (sometimes more), it always cause a crash. Can anybody help me out with this problem? Thank you in advance!

The following is the crash report:

unhandled System.AccessViolationException
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I would like to know if it is possible in an external program (C or Python) to create a Maple function ( Not a one liner, maybe a number of lines of Maple code ). Then call Maple to execute a separate Maple function and get the result back.

After first tests with my brandnew Maple 16 (64bit) installation on Ubuntu Linux (12.04 Ubuntu Precise) I encountered the following error:

    `evalf/int`, "external hardware float library could not be found/used"

when I run e.g.

     evalf(Int(BesselJ(3,x),x=1..13,digits = 4,method = _d01ajc));

with OpenMaple

I wonder how to fix it.

I have

    export MAPLE=...

and

    export LD_LIBRARY_PATH=......

First,a Maple file is exported as the html file,but it took too much time to load the applet(com.maplesoft.applets.MathMLViewer)to display the mathematical symbols,such as the symbols of integral and differential,as shown in Figs.1 and 2.How to accelerate
loading rate of Java applet?
Second,the problem will occur in the browsers of IE and firefox that the equation is incomplete display as shown in Figs3.Is there a method can handle the problem?
The last,using the...

Hi,

 

I have a quick question. I'm using OpenMaple under C and I am calling the "latex" function. I cannot get its output :( When checking the textCallback function, I get the command back as output (latex(%)). How could I solve this issue?

 

Regards,

Remus.

1 2 Page 1 of 2