asaa

15 Reputation

One Badge

2 years, 275 days

MaplePrimes Activity


These are replies submitted by asaa

@tomleslie Perfect!!! Many thanks. 

@Rouben Rostamian  Many thanks. I have tested many heap sizes, and the problem persists. Sometimes the error message is simply

double free or corruption (!prev)
Aborted (core dumped)

According to the Eclipse Temurin folks, it is a known bug, and maplesoft should bundle a new release with Eclipse Temurin OpenJDK 17.0.3 to fix it. 

I reported the bug to the Eclipse Temurin people 

https://github.com/adoptium/adoptium-support/issues/510

and the answer from a developer is: "Please tell the maple folks to bundle 17.0.3 with the fix."

So, it is a known bug that must be solved by the maple people. Do they read this posts? 

I managed to have an error message running maple -x from an terminal. It is a JRE problem.

/opt/maple2021/bin/maple -x
Picked up JAVA_TOOL_OPTIONS: 

(java:14397): Gdk-WARNING **: 07:42:36.827: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f433289faf0, pid=14397, tid=14411
#
# JRE version: OpenJDK Runtime Environment Temurin-17+35 (17.0+35) (build 17+35)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17+35 (17+35, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x644af0]  DependencyContext::add_dependent_nmethod(nmethod*)+0x180
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /tmp/core.14397)
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid14397.log
Compiled method (c1)  239878 15895       3       javax.swing.KeyboardManager::fireKeyboardAction (461 bytes)
 total in heap  [0x00007f43156d6210,0x00007f43156da990] = 18304
 relocation     [0x00007f43156d6370,0x00007f43156d6708] = 920
 main code      [0x00007f43156d6720,0x00007f43156d9ac0] = 13216
 stub code      [0x00007f43156d9ac0,0x00007f43156d9c90] = 464
 oops           [0x00007f43156d9c90,0x00007f43156d9c98] = 8
 metadata       [0x00007f43156d9c98,0x00007f43156d9d58] = 192
 scopes data    [0x00007f43156d9d58,0x00007f43156da370] = 1560
 scopes pcs     [0x00007f43156da370,0x00007f43156da8b0] = 1344
 dependencies   [0x00007f43156da8b0,0x00007f43156da8e0] = 48
 handler table  [0x00007f43156da8e0,0x00007f43156da910] = 48
 nul chk table  [0x00007f43156da910,0x00007f43156da990] = 128
Compiled method (c1)  239878 15895       3       javax.swing.KeyboardManager::fireKeyboardAction (461 bytes)
 total in heap  [0x00007f43156d6210,0x00007f43156da990] = 18304
 relocation     [0x00007f43156d6370,0x00007f43156d6708] = 920
 main code      [0x00007f43156d6720,0x00007f43156d9ac0] = 13216
 stub code      [0x00007f43156d9ac0,0x00007f43156d9c90] = 464
 oops           [0x00007f43156d9c90,0x00007f43156d9c98] = 8
 metadata       [0x00007f43156d9c98,0x00007f43156d9d58] = 192
 scopes data    [0x00007f43156d9d58,0x00007f43156da370] = 1560
 scopes pcs     [0x00007f43156da370,0x00007f43156da8b0] = 1344
 dependencies   [0x00007f43156da8b0,0x00007f43156da8e0] = 48
 handler table  [0x00007f43156da8e0,0x00007f43156da910] = 48
 nul chk table  [0x00007f43156da910,0x00007f43156da990] = 128
Compiled method (c1)  239878 15895       3       javax.swing.KeyboardManager::fireKeyboardAction (461 bytes)
 total in heap  [0x00007f43156d6210,0x00007f43156da990] = 18304
 relocation     [0x00007f43156d6370,0x00007f43156d6708] = 920
 main code      [0x00007f43156d6720,0x00007f43156d9ac0] = 13216
 stub code      [0x00007f43156d9ac0,0x00007f43156d9c90] = 464
 oops           [0x00007f43156d9c90,0x00007f43156d9c98] = 8
 metadata       [0x00007f43156d9c98,0x00007f43156d9d58] = 192
 scopes data    [0x00007f43156d9d58,0x00007f43156da370] = 1560
 scopes pcs     [0x00007f43156da370,0x00007f43156da8b0] = 1344
 dependencies   [0x00007f43156da8b0,0x00007f43156da8e0] = 48
 handler table  [0x00007f43156da8e0,0x00007f43156da910] = 48
 nul chk table  [0x00007f43156da910,0x00007f43156da990] = 128
Compiled method (c1)  239880 15895       3       javax.swing.KeyboardManager::fireKeyboardAction (461 bytes)
 total in heap  [0x00007f43156d6210,0x00007f43156da990] = 18304
 relocation     [0x00007f43156d6370,0x00007f43156d6708] = 920
 main code      [0x00007f43156d6720,0x00007f43156d9ac0] = 13216
 stub code      [0x00007f43156d9ac0,0x00007f43156d9c90] = 464
 oops           [0x00007f43156d9c90,0x00007f43156d9c98] = 8
 metadata       [0x00007f43156d9c98,0x00007f43156d9d58] = 192
 scopes data    [0x00007f43156d9d58,0x00007f43156da370] = 1560
 scopes pcs     [0x00007f43156da370,0x00007f43156da8b0] = 1344
 dependencies   [0x00007f43156da8b0,0x00007f43156da8e0] = 48
 handler table  [0x00007f43156da8e0,0x00007f43156da910] = 48
 nul chk table  [0x00007f43156da910,0x00007f43156da990] = 128
Compiled method (c1)  239880 15895       3       javax.swing.KeyboardManager::fireKeyboardAction (461 bytes)
 total in heap  [0x00007f43156d6210,0x00007f43156da990] = 18304
 relocation     [0x00007f43156d6370,0x00007f43156d6708] = 920
 main code      [0x00007f43156d6720,0x00007f43156d9ac0] = 13216
 stub code      [0x00007f43156d9ac0,0x00007f43156d9c90] = 464
 oops           [0x00007f43156d9c90,0x00007f43156d9c98] = 8
 metadata       [0x00007f43156d9c98,0x00007f43156d9d58] = 192
 scopes data    [0x00007f43156d9d58,0x00007f43156da370] = 1560
 scopes pcs     [0x00007f43156da370,0x00007f43156da8b0] = 1344
 dependencies   [0x00007f43156da8b0,0x00007f43156da8e0] = 48
 handler table  [0x00007f43156da8e0,0x00007f43156da910] = 48
 nul chk table  [0x00007f43156da910,0x00007f43156da990] = 128
#
# Compiler replay data is saved as:
# /tmp/replay_pid14397.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)
 

@acer Thanks for the answer. I'm sorry, the question's title is wrong, I am using and referring to the 2021.2 release, which I believe is the latest one. I didn't change anything and didn't know maple has a bundled JRE, I thought it used the system's default. Anyway, the problem persists. I guessed it was something related to JRE because it only affects the GUI, I can run everything on terminal mode without any problem. Perhaps some incompatibility between openjdk 17 and the latest ubuntu 20.04 updates? 

@Rouben Rostamian  

Could please let me know your java version? ( java --version ) Mine  is 

openjdk 11.0.15 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+10-Ubuntu-0ubuntu0.20.04.1)
OpenJDK 64-Bit Server VM (build 11.0.15+10-Ubuntu-0ubuntu0.20.04.1, mixed mode, sharing)

I guess it is a java related problem here. Thanks! 

Page 1 of 1