MATLAB R2019a - segmentation fault on call to readtable() function

2 visualizaciones (últimos 30 días)
Nicolas Realini
Nicolas Realini el 25 de Nov. de 2020
Editada: Nicolas Realini el 26 de Nov. de 2020
Hello,
I am using MATLAB R2019a Update 5 on Ubuntu 14.04 LTS.
The following minimal reproducible code generates a segmentation fault error when run (from the command line, matlab -nosplash -nodesktop -r "minimal_ex"):
udp_file = "udp3DData.txt";
%% Setup the Import Options and import the data
opts = delimitedTextImportOptions("NumVariables", 7);
% Specify range and delimiter
opts.DataLines = [2, Inf];
opts.Delimiter = ",";
% Specify column names and types
opts.VariableNames = ["pktSizeB", "bitRatebps", "goodputbps", "loss", "avgLatencysec", "minLatencysec", "maxLatencysec"];
opts.VariableTypes = ["double", "double", "double", "double", "double", "double", "double"];
% Specify file level properties
opts.ExtraColumnsRule = "ignore";
opts.EmptyLineRule = "read";
readtable(udp_file, opts)
The file "udp3DData.txt" used is attached to this post.
The same code runs fine on MATLAB R2020b (which is not supported on Ubuntu 14.04).
Follows the stacktrace of the crash.
MATLAB crash file:/home/take/matlab_crash_dump.35971-1:
--------------------------------------------------------------------------------
Segmentation violation detected at Wed Nov 25 17:32:12 2020 +0100
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : US-ASCII
Deployed : false
GNU C Library : 2.19 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x15ad ( 0x15ad ) 0x405 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 4933785
MATLAB Root : /usr/local/MATLAB/R2019a
MATLAB Version : 9.6.0.1174912 (R2019a) Update 5
OpenGL : software
Operating System : Ubuntu 14.04.5 LTS
Process ID : 35971
Processor ID : x86 Family 6 Model 63 Stepping 0, GenuineIntel
Session Key : 2cec26a0-e43b-4823-a5fb-7309190e0159
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12009000), display localhost:12.0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000046 RBX = 000000000000047c
RCX = 0000000000000046 RDX = 00007f299bfef1d0
RSP = 00007f299bfef150 RBP = 00007f299bfef150
RSI = 0000000000000046 RDI = ffffffffffffffff
R8 = 0000000000000000 R9 = 00007f299bfef1d0
R10 = 00007f299a986422 R11 = 00007f29b669d310
R12 = 00007f2850e4c4d0 R13 = 00007f2992fc0e50
R14 = 00000000d52f1608 R15 = 0000000000000046
RIP = 00007f28e97b7b11 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f28e97b7b11 /usr/local/MATLAB/R2019a/sys/java/jre/glnxa64/jre/lib/amd64/libzip.so+00072465
[ 1] 0x00007f28e97b8c09 /usr/local/MATLAB/R2019a/sys/java/jre/glnxa64/jre/lib/amd64/libzip.so+00076809
[ 2] 0x00007f28e97a9e90 /usr/local/MATLAB/R2019a/sys/java/jre/glnxa64/jre/lib/amd64/libzip.so+00016016 Java_java_util_zip_ZipFile_getEntry+00000240
[ 3] 0x00007f28d13b22a5 <unknown-module>+00000000
[ 4] 0x00007f28d14bdb98 <unknown-module>+00000000
Any help is appreciated.
EDIT: It looks like upgrading to MATLAB R2019b Update 7 solved this issue.
  1 comentario
Fred Wagen
Fred Wagen el 25 de Nov. de 2020
Just in case ... no problem on a Mac (CATALINA) with MATLAB 2019b (or 2020b)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by