Scilab 6.0.0 启动时出现分段错误(核心转储)

Scilab 6.0.0 启动时出现分段错误(核心转储)

我在 ubuntu 16.04 LTS 上安装了 Scilab 6.0.0,直到昨天它都运行良好。我尝试通过终端 ( ./bin/scilab) 执行该程序,但出现了错误“分段错误(核心转储)”。

我已经更新并升级了 ubuntu,这个 Scilab 的版本是最新版本。为了寻找问题的答案,我尝试在 gdb 中的调试会话中运行 Scilab,结果得到了以下信息:

> Running debug of Scilab [gdb]  :  gdb --args scilab-bin -debug gdb:
> /home/alexandregsoares/Scilab/lib/thirdparty/redist/libncurses.so.5:
> no version information available (required by gdb) gdb:
> /home/alexandregsoares/Scilab/lib/thirdparty/redist/libncurses.so.5:
> no version information available (required by gdb) 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
> //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"... Lendo símbolos de scilab-bin...(no debugging symbols
> found)...concluído. (gdb) run Starting program:
> /home/alexandregsoares/Scilab/bin/scilab-bin -debug warning: the debug
> information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/libtk8.5.so.debug" does
> not match "/home/alexandregsoares/Scilab/lib/thirdparty/libtk8.5.so"
> (CRC mismatch).
> 
> warning: the debug information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/libtcl8.5.so.debug" does
> not match "/home/alexandregsoares/Scilab/lib/thirdparty/libtcl8.5.so"
> (CRC mismatch).
> 
> warning: the debug information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/libhdf5.so.7.0.2.debug"
> does not match
> "/home/alexandregsoares/Scilab/lib/thirdparty/libhdf5.so.7" (CRC
> mismatch).
> 
> warning: the debug information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/libfftw3.so.3.3.2.debug"
> does not match
> "/home/alexandregsoares/Scilab/lib/thirdparty/libfftw3.so.3" (CRC
> mismatch).
> 
> warning: the debug information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/redist/libgfortran.so.3.0.0.debug"
> does not match
> "/home/alexandregsoares/Scilab/lib/thirdparty/redist/libgfortran.so.3"
> (CRC mismatch).
> 
> [Thread debugging using libthread_db enabled] Using host libthread_db
> library "/lib/x86_64-linux-gnu/libthread_db.so.1". warning: the debug
> information found in
> "/home/alexandregsoares/Scilab/lib/thirdparty/redist/libncurses.so.5.5.debug"
> does not match
> "/home/alexandregsoares/Scilab/lib/thirdparty/redist/libncurses.so.5"
> (CRC mismatch).
> 
> [New Thread 0x7fffea9fc700 (LWP 2267)] [New Thread 0x7fffdbfff700 (LWP
> 2268)] [New Thread 0x7fffe146f700 (LWP 2269)] [New Thread
> 0x7fffe136e700 (LWP 2270)] [New Thread 0x7fffe126d700 (LWP 2271)] [New
> Thread 0x7fffe116c700 (LWP 2272)] [New Thread 0x7fffbfdfd700 (LWP
> 2273)]
> 
> Thread 1 "scilab-bin" received signal SIGSEGV, Segmentation fault.
> 0x00007fffc500fe43 in ?? () (gdb) backtrace
> #0  0x00007fffc500fe43 in ?? ()
> #1  0x00007fffffffccd0 in ?? ()
> #2  0x00007fffc47ffca8 in ?? ()
> #3  0x00007fffffffcd18 in ?? ()
> #4  0x00007fffc48a8f38 in ?? ()
> #5  0x0000000000000000 in ?? ()

我只是一名普通用户,我不知道该怎么做。我不知道这是否重要,但我的这台电脑上也有 Windows 10,但我认为我没有在 Windows 或 Ubuntu 上更改任何东西来导致此问题。

编辑:我也使用了该SCIVERBOSE=y ./bin/scilab命令,这就是我得到的:

SCILABBIN : scilab-bin
DISABLE_JAVA_DETECTION : 0
SCILAB_MODE : gui
OS : Linux
MODEL : x86_64
IS_SCILAB_BINARY : 1
SCI : /home/alexandregsoares/Scilab/share/scilab
SCIBIN : 
PATH : Scilab/./bin:/opt/ros/kinetic/bin:/home/alexandregsoares/bin:/home/alexandregsoares/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/alexandregsoares/Scilab/share/scilab/modules/scicos/
CLASSPATH : /home/alexandregsoares/Scilab/share/scilab/modules/core/jar/org.scilab.modules.core.jar
EGL_DRIVER : 
LD_LIBRARY_PATH : /home/alexandregsoares/Scilab/share/scilab/bin:/home/alexandregsoares/Scilab/share/scilab/lib/scilab/:/home/alexandregsoares/Scilab/share/scilab/lib64/scilab/:.:/home/alexandregsoares/Scilab/lib/scilab:/home/alexandregsoares/Scilab/lib/thirdparty:/home/alexandregsoares/Scilab/thirdparty/java//lib/amd64/:/home/alexandregsoares/Scilab/thirdparty/java//lib/amd64/server/:/home/alexandregsoares/Scilab/thirdparty/java//lib/amd64/native_threads/:/opt/ros/kinetic/lib:/home/alexandregsoares/Scilab/lib/thirdparty/redist
Segmentation fault (core dumped)

答案1

在运行程序之前,在终端控制台中运行此代码:

export JAVA_TOOL_OPTIONS=-Xss1280k

来源: Eclipse 使用 Linux 内核 4.4.0-81-generic 崩溃

答案2

已知 4.4.0-81-generic 内核的回归。它影响许多使用 Java 的应用程序: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1699772. 使用以前的内核版本启动或者等待未来的内核版本。

相关内容