Scilab crashes on startup segmentation fault core dump
Reported by i.khan1337
BUG DESCRIPTION:
----------------
scilab will not run anymore, scilab-cli functions fine. I have tried uninstalling and installing no dice.
ERROR LOG:
----------
Segmentation fault (core dumped)
HOW TO REPRODUCE THE BUG:
-------------------------
i@kr0n:~$ scilab
Segmentation fault (core dumped)
OTHER INFORMATION:
------------------
i@kr0n:~$ scilab -debug
Running debug of Scilab [gdb] : gdb --args /usr/bin/scilab-bin -debug
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/scilab-bin...(no debugging symbols found)...done.
(gdb) run -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce
Starting program: /usr/bin/scilab-bin -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce
Installing openjdk unwinder
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so-gdb.py", line 52, in <module>
class Types(object):
File "/usr/share/gdb/auto-load/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so-gdb.py", line 66, in Types
nmethodp_t = gdb.lookup_type('nmethod').pointer()
gdb.error: No type named nmethod.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Scilab startup function detected that the function proposed to the engine is the wrong one. Usually, it comes from a linker problem in your distribution/OS.
Here, Scilab should have 'libscijvm-disable' defined but gets 'libscijvm' instead.
If you do not know what it means, please report a bug on http://bugzilla.scilab.org/. If you do, you probably know that you should change the link order in SCI/modules/Makefile.am
[Inferior 1 (process 4201) exited with code 01]
(gdb) quit