Bug#926180: scilab: FTBFS on all
Rebecca N. Palmer
rebecca_palmer at zoho.com
Sat May 25 09:06:13 BST 2019
On 23/05/2019 22:35, Rebecca N. Palmer wrote:
> It now looks like these are actually "valgrind doesn't understand Java
> memory allocation"
The Valgrind documentation says --smc-check=all should fix this, but it
doesn't.
Ubuntu has a 6.0.2 package that builds in Debian, but it still has this
bug. (Same stacktrace as 6.0.1 under gdb; once a different one (below)
under valgrind --smc-check=all --error-limit=no
--log-file=scilab_valgrind%n .)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.scilab.modules.jvm.LibraryPath
(file:/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/jvm/jar/org.scilab.modules.jvm.jar)
to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of
org.scilab.modules.jvm.LibraryPath
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
terminate called after throwing an instance of
'GiwsException::JniCallMethodException'
what(): Exception when calling Java method :
at java.base/java.util.TreeMap.getEntry(TreeMap.java:350)
at java.base/java.util.TreeMap.containsKey(TreeMap.java:231)
at java.base/java.util.TreeSet.contains(TreeSet.java:234)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder$MenuBarConfigurationHandler.invoke(Unknown
Source)
at com.sun.proxy.$Proxy0.addMenus(Unknown Source)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder.buildMenuBar(Unknown
Source)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder.buildFigureMenuBar(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.buildFigureMenuBar(Unknown
Source)
at java.base/java.util.TreeMap.getEntry(TreeMap.java:350)
at java.base/java.util.TreeMap.containsKey(TreeMap.java:231)
at java.base/java.util.TreeSet.contains(TreeSet.java:234)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder$MenuBarConfigurationHandler.invoke(Unknown
Source)
at com.sun.proxy.$Proxy0.addMenus(Unknown Source)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder.buildMenuBar(Unknown
Source)
at
org.scilab.modules.graphic_objects.utils.MenuBarBuilder.buildFigureMenuBar(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.buildFigureMenuBar(Unknown
Source)
A fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones)
should they appear in the stack trace.
Otherwise you can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[rnpalmer-laptop:05275] Signal: Aborted (6)
[rnpalmer-laptop:05275] Signal code: (-6)
Call stack:
1: 0x377bb <gsignal>
(/lib/x86_64-linux-gnu/libc.so.6)
2: 0x22535 <abort>
(/lib/x86_64-linux-gnu/libc.so.6)
3: 0x8c983 < >
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
4: 0x928c6 < >
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
5: 0x92901 < >
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
6: 0x92b34 < >
(/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
7: 0x1e0d6
<org_scilab_modules_graphic_objects::CallGraphicController::buildFigureMenuBar(JavaVM_*,
int)>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/graphic_objects/.libs/libscigraphic_objects.so.6)
8: 0x6525e <InitFigureModel>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/graphics/.libs/libscigraphics.so.6)
9: 0x66180 <graphicsmodels_>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/graphics/.libs/libscigraphics.so.6)
10: 0x49c33 <loadGraphicModule>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/graphics/.libs/libscigraphics.so.6)
11: 0x1b9694 <StartScilabEngine>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/modules/.libs/libscilab-cli.so.6)
12: 0x2360 <main>
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/.libs/scilab-bin)
13: 0x2409b <__libc_start_main>
(/lib/x86_64-linux-gnu/libc.so.6)
14: 0x2dfa < >
(/home/rnpalmer/Debian/builds/stackbuild/scilab-6.0.2/.libs/scilab-bin)
End of stack
Last error (of ~10,000) in the Valgrind log:
==5275== Invalid write of size 4
==5275== at 0x2D810AE8: ???
==5275== by 0x5907680: ??? (in
/usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so)
==5275== by 0x5976F8C: ??? (in
/usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so)
==5275== by 0x597874D: ??? (in
/usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so)
==5275== by 0x4EA1C12: JNIEnv_::CallObjectMethod(_jobject*,
_jmethodID*, ...) (jni.h:906)
==5275== by 0x4EA0CBB:
GiwsException::JniException::retrieveExceptionName[abi:cxx11](JNIEnv_*)
(GiwsException.cpp:217)
==5275== by 0x4EA0F6F:
GiwsException::JniException::JniException(JNIEnv_*) (GiwsException.cpp:37)
==5275== by 0x4EA1830:
GiwsException::JniCallMethodException::JniCallMethodException(JNIEnv_*)
(GiwsException.cpp:288)
==5275== by 0x4FF50BF:
org_scilab_modules_graphic_objects::CallGraphicController::buildFigureMenuBar(JavaVM_*,
int) (CallGraphicController.cpp:792)
==5275== by 0x4F9025D: InitFigureModel (InitObjects.c:181)
==5275== by 0x4F9117F: graphicsmodels_ (InitObjects.c:203)
==5275== by 0x4F74C32: loadGraphicModule (graphicModuleLoad.c:48)
==5275== Address 0x1ffefe9f18 is on thread 1's stack
==5275== 81920 bytes below stack pointer
(but a second attempt after installing debug symbols reverted to the old
one)
More information about the debian-science-maintainers
mailing list