Matlab 2020a X11 forwarding crash
14 views (last 30 days)
Show older comments
Hi everyone,
I am using Matlab 2020a on the remote server with X11 forwarding that enables a GUI on my local machine.
If I run matlab, it will pop up the blue start-up window, and then the main window. After a few seconds, the window freezes and matlab crashes.
Since in the report libjvm appears repeatedly, I also tried the following: If I run either matlab -nojvm or matalb -nodesktop, the blue start-up windows shows, and I can use the command-line in the remote shell. However, I can not use GUI.
The specs of the remote server is in the crash report. If it helps, the local machine is running macOS 10.15.4 with XQuartz 2.7.11 (latest) as X11 client. Does anyone know how to resolve this issue? I have tried with both Matlab 2020a and 2019b, but the same problem occurs.
Many thanks in advance.
MATLAB crash file:/root/matlab_crash_dump.25858-1:
--------------------------------------------------------------------------------
Segmentation violation detected at Mon Aug 03 08:58:02 2020 +0000
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : US-ASCII
Deployed : false
GNU C Library : 2.23 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x1a03 ( 0x1a03 ) 0x2000 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 3436765
MATLAB Root : /usr/local/MATLAB/R2020a
MATLAB Version : 9.8.0.1417392 (R2020a) Update 4
OpenGL : software
Operating System : Ubuntu 16.04.4 LTS
Process ID : 25858
Processor ID : x86 Family 6 Model 79 Stepping 1, GenuineIntel
Session Key : 5dd6178a-97b9-49b7-8570-278f2c9d0065
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (11804000), display dingtj-admin:24.0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00007f48f36809f8
RCX = 00007f48f39a7bc8 RDX = 0000000000000009
RSP = 00007f48f3cf7e20 RBP = 00007f48f3cf7f40
RSI = 0000000000000000 RDI = 00007f48f366b150
R8 = 0000000000000048 R9 = 0000000000000004
R10 = 00007f48f39a6f20 R11 = 00007f48f3665000
R12 = 00007f4abc7cd0a0 R13 = 0000001000000006
R14 = 0000000000000006 R15 = 00007f48f366b2d0
RIP = 00007f4ba5eb973c EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f4ba5eb973c /lib64/ld-linux-x86-64.so.2+00051004
[ 1] 0x00007f4ba5ec2851 /lib64/ld-linux-x86-64.so.2+00088145
[ 2] 0x00007f4ba5ebd564 /lib64/ld-linux-x86-64.so.2+00066916
[ 3] 0x00007f4ba5ec1da9 /lib64/ld-linux-x86-64.so.2+00085417
[ 4] 0x00007f4ba48e7f09 /lib/x86_64-linux-gnu/libdl.so.2+00003849
[ 5] 0x00007f4ba5ebd564 /lib64/ld-linux-x86-64.so.2+00066916
[ 6] 0x00007f4ba48e8571 /lib/x86_64-linux-gnu/libdl.so.2+00005489
[ 7] 0x00007f4ba48e7fa1 /lib/x86_64-linux-gnu/libdl.so.2+00004001 dlopen+00000049
[ 8] 0x00007f4b85cb49e1 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09497057
[ 9] 0x00007f4b85aa2539 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07324985 JVM_LoadLibrary+00000153
[ 10] 0x00007f4b75fcf380 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/libjava.so+00058240 Java_java_lang_ClassLoader_00024NativeLibrary_load+00000416
[ 11] 0x00007f4b5d0186c7 <unknown-module>+00000000
[ 12] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 13] 0x00007f4b5d007a90 <unknown-module>+00000000
[ 14] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 15] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 16] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 17] 0x00007f4b5d0007a7 <unknown-module>+00000000
[ 18] 0x00007f4b85a2e39b /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 19] 0x00007f4b859ea084 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06570116
[ 20] 0x00007f4b859ea46e /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06571118
[ 21] 0x00007f4b859ea6b1 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06571697
[ 22] 0x00007f4b85a1bc35 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06773813
[ 23] 0x00007f4b5d025df9 <unknown-module>+00000000
[ 24] 0x00007f4b5d008040 <unknown-module>+00000000
[ 25] 0x00007f4b5d008040 <unknown-module>+00000000
[ 26] 0x00007f4b5d0007a7 <unknown-module>+00000000
[ 27] 0x00007f4b85a2e39b /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 28] 0x00007f4b85d3fda5 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10067365
[ 29] 0x00007f4b85d416e6 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10073830
[ 30] 0x00007f4b85aa33e2 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07328738 JVM_InvokeMethod+00000258
[ 31] 0x00007f4b5da04c2d <unknown-module>+00000000
[ 32] 0x00007f4b5da0eecc <unknown-module>+00000000
[ 33] 0x00007f4b5d008040 <unknown-module>+00000000
[ 34] 0x00007f4b5d008040 <unknown-module>+00000000
[ 35] 0x00007f4b5d008040 <unknown-module>+00000000
[ 36] 0x00007f4b5d008040 <unknown-module>+00000000
[ 37] 0x00007f4b5d008114 <unknown-module>+00000000
[ 38] 0x00007f4b5d008040 <unknown-module>+00000000
[ 39] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 40] 0x00007f4b5d008040 <unknown-module>+00000000
[ 41] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 42] 0x00007f4b5d008040 <unknown-module>+00000000
[ 43] 0x00007f4b5d008040 <unknown-module>+00000000
[ 44] 0x00007f4b5d007a90 <unknown-module>+00000000
[ 45] 0x00007f4b5d007ad5 <unknown-module>+00000000
[ 46] 0x00007f4b5d008040 <unknown-module>+00000000
[ 47] 0x00007f4b5d008040 <unknown-module>+00000000
[ 48] 0x00007f4b5d008040 <unknown-module>+00000000
[ 49] 0x00007f4b5d008040 <unknown-module>+00000000
[ 50] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 51] 0x00007f4b5d008040 <unknown-module>+00000000
[ 52] 0x00007f4b5d0007a7 <unknown-module>+00000000
[ 53] 0x00007f4b85a2e39b /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 54] 0x00007f4b859ea084 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06570116
[ 55] 0x00007f4b859ea46e /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06571118
[ 56] 0x00007f4b859ea6b1 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06571697
[ 57] 0x00007f4b85b7a170 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+08208752
[ 58] 0x00007f4b85b7ea0e /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+08227342
[ 59] 0x00007f4b85b81760 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+08238944
[ 60] 0x00007f4b85a21713 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06797075
[ 61] 0x00007f4b5d024d88 <unknown-module>+00000000
[ 62] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 63] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 64] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 65] 0x00007f4b5d0007a7 <unknown-module>+00000000
[ 66] 0x00007f4b85a2e39b /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 67] 0x00007f4b85d3fda5 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10067365
[ 68] 0x00007f4b85d416e6 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10073830
[ 69] 0x00007f4b85aa33e2 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07328738 JVM_InvokeMethod+00000258
[ 70] 0x00007f4b5da04c2d <unknown-module>+00000000
[ 71] 0x00007f4b5da0eecc <unknown-module>+00000000
[ 72] 0x00007f4b5d0082bd <unknown-module>+00000000
[ 73] 0x00007f4b5d008040 <unknown-module>+00000000
[ 74] 0x00007f4b5d008040 <unknown-module>+00000000
[ 75] 0x00007f4b5d008302 <unknown-module>+00000000
[ 76] 0x00007f4b5d0007a7 <unknown-module>+00000000
[ 77] 0x00007f4b85a2e39b /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 78] 0x00007f4b85a2bc63 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06839395
[ 79] 0x00007f4b85a2c227 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06840871
[ 80] 0x00007f4b85a9839c /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07283612
[ 81] 0x00007f4b85e219eb /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10992107
[ 82] 0x00007f4b85e21cf1 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10992881
[ 83] 0x00007f4b85cb38c2 /usr/local/MATLAB/R2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09492674
[ 84] 0x00007f4ba54546ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 85] 0x00007f4ba4bf241d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
4 Comments
Hisham bin Zubair Syed
on 25 Aug 2021
Was there any update to this issue. I seem to get the same problem.
Installed R2021a, and have no problem with the commandline version but Matlab-GUI crashes, with pretty much the same errors listed above @Tianjiao Ding. I checked that I had jdk16 installed, and matlab's internal java version was jdk8u202. Reverted to that -but in complete vain. It didn't solve my problem. Matlab R2021a GUI just won't start.
Bjorn Gustavsson
on 3 Sep 2021
@Hisham bin Zubair Syed, aren't you allowed to use a vncviewer/vncserver-server solution? It is a better principal to avoid trying to solve a problem with an improper tool and use the tools designed for that problem...
Answers (1)
Bjorn Gustavsson
on 18 Mar 2021
Perhaps the best solution is to run maltab in a VNC-vewer. That way you would avoid matlab having to rely on the X11 forwarding and let the VNC-viewer handle that part. This is what VNC-viewer/servers are designed to handle.
HTH
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!