Package: matlab-support
Version: 0.0.21
Severity: important
Dear Maintainer,
After starting matlab (from terminal `matlab`), in matlab, type `doc`.
In the terminal, we can see SegFault. There are files called
"matlab_crash_dump.*" created under $HOME for each crash, however, all
those files are empty; with zero size.
According to [1], it might be a recent update of ncurces library that
broke compatibility.
Starting MATLAB using `matlab -nojvm` does not crash when `doc` or
`optimtool` is called from the MATLAB command line, which throws a
normal error compaining about requiring Java Swing. However, `matlab
-nodesktop` crashes just as before.
I have attached version of MATLAB and all toolboxes, as well as a log
during `matlab -Dgdb` for GDB.
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'),
(500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages matlab-support depends on:
ii debconf [debconf-2.0] 1.5.58
ii sudo 1.8.12-1
Versions of packages matlab-support recommends:
ii libstdc++-5-dev [libstdc++-dev] 5.2.1-23
Versions of packages matlab-support suggests:
pn lsb-core <none>
-- debconf information:
* matlab-support/no-matlab-found:
* matlab-support/matlab-install-glob:
/usr/local/MATLAB/MATLAB_Production_Server/R2015a
* matlab-support/rename-libs: true
* matlab-support/mexbuild-user:
matlab-support/title:
* matlab-support/default-version: Matlab R2015a @
/usr/local/MATLAB/MATLAB_Production_Server/R2015a
>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: 161052
Operating System: Linux 4.2.0-1-amd64 #1 SMP Debian 4.2.6-1 (2015-11-10) x86_64
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit
Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 8.5
(R2015a)
Aerospace Toolbox Version 2.15
(R2015a)
Antenna Toolbox Version 1.0
(R2015a)
Bioinformatics Toolbox Version 4.5.1
(R2015a)
Communications System Toolbox Version 6.0
(R2015a)
Computer Vision System Toolbox Version 6.2
(R2015a)
Control System Toolbox Version 9.9
(R2015a)
Curve Fitting Toolbox Version 3.5.1
(R2015a)
DO Qualification Kit Version 2.5
(R2015a)
DSP System Toolbox Version 9.0
(R2015a)
Database Toolbox Version 5.2.1
(R2015a)
Datafeed Toolbox Version 5.1
(R2015a)
Econometrics Toolbox Version 3.2
(R2015a)
Embedded Coder Version 6.8
(R2015a)
Filter Design HDL Coder Version 2.9.7
(R2015a)
Financial Instruments Toolbox Version 2.1
(R2015a)
Financial Toolbox Version 5.5
(R2015a)
Fixed-Point Designer Version 5.0
(R2015a)
Fuzzy Logic Toolbox Version 2.2.21
(R2015a)
Global Optimization Toolbox Version 3.3.1
(R2015a)
HDL Coder Version 3.6
(R2015a)
HDL Verifier Version 4.6
(R2015a)
IEC Certification Kit Version 3.5
(R2015a)
Image Acquisition Toolbox Version 4.9
(R2015a)
Image Processing Toolbox Version 9.2
(R2015a)
Instrument Control Toolbox Version 3.7
(R2015a)
LTE System Toolbox Version 2.0
(R2015a)
MATLAB Coder Version 2.8
(R2015a)
MATLAB Compiler Version 6.0
(R2015a)
MATLAB Compiler SDK Version 6.0
(R2015a)
MATLAB Distributed Computing Server Version 6.6
(R2015a)
MATLAB Report Generator Version 4.1
(R2015a)
Mapping Toolbox Version 4.1
(R2015a)
Model Predictive Control Toolbox Version 5.0.1
(R2015a)
Neural Network Toolbox Version 8.3
(R2015a)
Optimization Toolbox Version 7.2
(R2015a)
Parallel Computing Toolbox Version 6.6
(R2015a)
Partial Differential Equation Toolbox Version 2.0
(R2015a)
Phased Array System Toolbox Version 3.0
(R2015a)
Polyspace Bug Finder Version 1.3
(R2015a)
Polyspace Code Prover Version 9.3
(R2015a)
Psychtoolbox Version 3.0.12 5
October
RF Toolbox Version 2.16
(R2015a)
Robotics System Toolbox Version 1.0
(R2015a)
Robust Control Toolbox Version 5.3
(R2015a)
Signal Processing Toolbox Version 7.0
(R2015a)
SimBiology Version 5.2
(R2015a)
Statistics and Machine Learning Toolbox Version 10.0
(R2015a)
Symbolic Math Toolbox Version 6.2
(R2015a)
System Identification Toolbox Version 9.2
(R2015a)
SystemTest Version 2.6.9
(R2015a)
Vision HDL Toolbox Version 1.0
(R2015a)
Wavelet Toolbox Version 4.14.1
(R2015a)
~ $ matlab -Dgdb
GNU gdb (Debian 7.10-1) 7.10
Copyright (C) 2015 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/local/MATLAB/MATLAB_Production_Server/R2015a/bin/glnxa64/MATLAB...(no
debugging symbols found)...done.
(gdb) r
Starting program:
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/bin/glnxa64/MATLAB
-prefersoftwareopengl
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe09c9700 (LWP 7975)]
[New Thread 0x7fffdbfff700 (LWP 7976)]
[New Thread 0x7fffd90c7700 (LWP 7981)]
[New Thread 0x7fffd88c6700 (LWP 7982)]
[Thread 0x7fffd88c6700 (LWP 7982) exited]
[New Thread 0x7fffd096b700 (LWP 7987)]
[New Thread 0x7fffd086a700 (LWP 7988)]
[New Thread 0x7fffd0769700 (LWP 7989)]
[New Thread 0x7fffd0668700 (LWP 7990)]
[New Thread 0x7fffca2f2700 (LWP 7991)]
[New Thread 0x7fffca1f1700 (LWP 7992)]
[New Thread 0x7fffca0f0700 (LWP 7993)]
[New Thread 0x7fffc9fef700 (LWP 7994)]
[New Thread 0x7fffc9eee700 (LWP 7995)]
[New Thread 0x7fffc9ded700 (LWP 7996)]
[New Thread 0x7fffc9cec700 (LWP 7997)]
[New Thread 0x7fffc9beb700 (LWP 7998)]
[New Thread 0x7fffc9528700 (LWP 7999)]
[New Thread 0x7fffc89a3700 (LWP 8001)]
[New Thread 0x7fff934b8700 (LWP 8002)]
[New Thread 0x7fff92fa6700 (LWP 8003)]
[New Thread 0x7fff92ea5700 (LWP 8004)]
[New Thread 0x7fff921d7700 (LWP 8005)]
[New Thread 0x7fff91dc8700 (LWP 8007)]
[New Thread 0x7fff91abf700 (LWP 8012)]
[New Thread 0x7fff919be700 (LWP 8013)]
[New Thread 0x7fff918bd700 (LWP 8017)]
[New Thread 0x7fff917bc700 (LWP 8018)]
[New Thread 0x7fff916bb700 (LWP 8019)]
[New Thread 0x7fff915ba700 (LWP 8020)]
[Thread 0x7fff918bd700 (LWP 8017) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdbfff700 (LWP 7976)]
0x00007fffd0a5d6ec in ?? ()
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.
[Thread 0x7fff919be700 (LWP 8013) exited]
[Thread 0x7fff91abf700 (LWP 8012) exited]
[Thread 0x7fff92ea5700 (LWP 8004) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffda49bec4 in ThreadInVMfromJava::~ThreadInVMfromJava() ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff92fa6700 (LWP 8003)]
0x00007fffda6f8a7c in JavaCallWrapper::JavaCallWrapper(methodHandle, Handle,
JavaValue*, Thread*) ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdbfff700 (LWP 7976)]
0x00007fffda74da7c in jni_GetObjectClass ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007fffda77ed4c in JVM_DoPrivileged ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
[New Thread 0x7fff92ea5700 (LWP 8045)]
[New Thread 0x7fff919be700 (LWP 8046)]
[New Thread 0x7fff91abf700 (LWP 8047)]
[New Thread 0x7fff918bd700 (LWP 8048)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff92ea5700 (LWP 8045)]
0x00007fffd0a5a8e0 in ?? ()
(gdb)
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd0a86f53 in ?? ()
(gdb)
Continuing.
[New Thread 0x7fff902b9700 (LWP 8049)]
[New Thread 0x7fff901b8700 (LWP 8050)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff916bb700 (LWP 8019)]
0x00007fffda4cbe74 in ThreadInVMfromNative::~ThreadInVMfromNative() ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff91abf700 (LWP 8047)]
0x00007fffda4cbe74 in ThreadInVMfromNative::~ThreadInVMfromNative() ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff916bb700 (LWP 8019)]
0x00007fffda74ae3c in jni_SetByteArrayRegion ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
[New Thread 0x7fff562ef700 (LWP 8063)]
BFD: reopening /tmp/jna-1375531569/jna8422068670954184526.tmp: No such file or
directory
BFD: reopening /tmp/jna-1375531569/jna8422068670954184526.tmp: No such file or
directory
Can't read data for section '.eh_frame' in file
'/tmp/jna-1375531569/jna8422068670954184526.tmp'
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff92ea5700 (LWP 8045)]
0x00007fffd0a4a699 in ?? ()
(gdb)
Continuing.
[New Thread 0x7fff4b84b700 (LWP 8068)]
[Thread 0x7fff4b84b700 (LWP 8068) exited]
[New Thread 0x7fff4b84b700 (LWP 8069)]
[New Thread 0x7fff4b74a700 (LWP 8070)]
[New Thread 0x7fff4b649700 (LWP 8075)]
[New Thread 0x7fff4b548700 (LWP 8076)]
[New Thread 0x7fff4b447700 (LWP 8077)]
[New Thread 0x7fff4b346700 (LWP 8078)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff901b8700 (LWP 8050)]
0x00007fffda91cbe4 in ThreadStateTransition::trans_and_fence(JavaThreadState,
JavaThreadState) ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
[Thread 0x7fff4b346700 (LWP 8078) exited]
[New Thread 0x7fff4b346700 (LWP 8079)]
[Thread 0x7fff4b346700 (LWP 8079) exited]
[New Thread 0x7fff4b346700 (LWP 8080)]
[Thread 0x7fff4b346700 (LWP 8080) exited]
[New Thread 0x7fff4b346700 (LWP 8081)]
[Thread 0x7fff4b346700 (LWP 8081) exited]
Atom was 0
Atom was 0
Atom was 0
Atom was 0
[New Thread 0x7fff4b346700 (LWP 8082)]
[New Thread 0x7fff40b30700 (LWP 8083)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff91abf700 (LWP 8047)]
0x00007fffda6f8a7c in JavaCallWrapper::JavaCallWrapper(methodHandle, Handle,
JavaValue*, Thread*) ()
from
/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so
(gdb)
Continuing.
fish: “matlab -Dgdb” terminated by signal SIGSEGV (Address boundary error)
~ $