Using imshow in Matlab 2015b on Linux Ubuntu 14.04 crash with Segmentation fault

1 visualizzazione (ultimi 30 giorni)
Dear all All comrades,
I just trying Matlab R2015b on my Ubuntu 14.04 system. The installation goes smoothly. But when I get down to the real work just run the imshow function to open a image, it crashed with a segmentation fault. The details are:
------------------------------------------------------------------------ Segmentation violation detected at Tue Feb 16 23:30:45 2016 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Crash Mode : continue (default) Current Graphics Driver: Unknown hardware Current Visual : 0x21 (class 4, depth 24) Default Encoding : UTF-8 GNU C Library : 2.19 stable Host Name : LatexWorkStation MATLAB Architecture : glnxa64 MATLAB Root : /usr/local/MATLAB/R2015b MATLAB Version : 8.6.0.267246 (R2015b) OpenGL : hardware Operating System : Linux 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 Processor ID : x86 Family 63 Model 1 Stepping 0, AuthenticAMD Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode Window System : The X.Org Foundation (11701000), display :0
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 0000000000000000 RBX = 0000000000000000 RCX = 0000000000000000 RDX = 0000000000000000 RSP = 00007fa21fffc350 RBP = 00007fa21fffc480 RSI = 00007fa18b855668 RDI = 00007fa18b855310
R8 = 00007fa18b855310 R9 = 00007fa218000078
R10 = 0000000000000032 R11 = 0000000000000246
R12 = 0000000000000000 R13 = 00007fa23cdc21c8
R14 = 0000000000000000 R15 = 00007fa18b855310
RIP = 00007fa23cbaa168 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault): [ 0] 0x00007fa23cbaa168 /lib64/ld-linux-x86-64.so.2+00049512 [ 1] 0x00007fa23cbb2ce1 /lib64/ld-linux-x86-64.so.2+00085217 [ 2] 0x00007fa23cbadff4 /lib64/ld-linux-x86-64.so.2+00065524 [ 3] 0x00007fa23cbb23bb /lib64/ld-linux-x86-64.so.2+00082875 [ 4] 0x00007fa23af9a02b /lib/x86_64-linux-gnu/libdl.so.2+00004139 [ 5] 0x00007fa23cbadff4 /lib64/ld-linux-x86-64.so.2+00065524 [ 6] 0x00007fa23af9a62d /lib/x86_64-linux-gnu/libdl.so.2+00005677 [ 7] 0x00007fa23af9a0c1 /lib/x86_64-linux-gnu/libdl.so.2+00004289 dlopen+00000049 [ 8] 0x00007fa2373c000a /usr/local/MATLAB/R2015b/bin/glnxa64/libut.so+00311306 [ 9] 0x00007fa2324cc7e5 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00456677 [ 10] 0x00007fa2324bf1af /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00401839 ZN13Mlm_MATLAB_fn8try_loadEv+00000031 [ 11] 0x00007fa2324b6ae5 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00367333 _ZN13Mlm_MATLAB_fn4loadEv+00000037 [ 12] 0x00007fa2324f5afd /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00625405 _Z29mdLoadModuleForPackageOrClassPKc+00000285 [ 13] 0x00007fa1a8eca2b7 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwhgbuiltins.so+00938679 [ 14] 0x00007fa1a8ecc572 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwhgbuiltins.so+00947570 [ 15] 0x00007fa1a8eccc3c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwhgbuiltins.so+00949308 [ 16] 0x00007fa1a8edbdde /usr/local/MATLAB/R2015b/bin/glnxa64/libmwhgbuiltins.so+01011166 [ 17] 0x00007fa2324cbf35 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00454453 [ 18] 0x00007fa2324b3c57 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00355415 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2+00000391 [ 19] 0x00007fa22cb888af /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+08612015 [ 20] 0x00007fa22ccac7ff /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09807871 [ 21] 0x00007fa22cca2254 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09765460 [ 22] 0x00007fa22cc6f901 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09558273 [ 23] 0x00007fa22c8d1d6c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05766508 [ 24] 0x00007fa22c8bc4c1 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05678273 [ 25] 0x00007fa22c8cb075 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05738613 [ 26] 0x00007fa22ca9c033 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07643187 [ 27] 0x00007fa22ca63c40 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07412800 [ 28] 0x00007fa22ca66078 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422072 [ 29] 0x00007fa22ca66140 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422272 [ 30] 0x00007fa22cadd6bc /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07911100 [ 31] 0x00007fa22caddb42 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07912258 [ 32] 0x00007fa22e1a22bc /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00168636 [ 33] 0x00007fa22e1a2ef7 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00171767 _Z8mnParserv+00000823 [ 34] 0x00007fa2327f4b4f /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00686927 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031 [ 35] 0x00007fa2327e1443 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00607299 [ 36] 0x00007fa2327e1a39 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00608825 _ZN5boost6detail11task_objectIvNS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEE6do_runEv+00000025 [ 37] 0x00007fa2327e2f47 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614215 _ZN5boost6detail9task_baseIvE3runEv+00000071 [ 38] 0x00007fa2327e2fa7 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614311 [ 39] 0x00007fa2327de2fa /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00594682 [ 40] 0x00007fa2261a46b6 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00313014 [ 41] 0x00007fa22618a862 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00206946 [ 42] 0x00007fa2331740df /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002591 [ 43] 0x00007fa23317424c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002956 [ 44] 0x00007fa233175d9f /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03009951 [ 45] 0x00007fa23317684c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03012684 _Z25svWS_ProcessPendingEventsiib+00000092 [ 46] 0x00007fa2327de9b8 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00596408 [ 47] 0x00007fa2327decd4 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00597204 [ 48] 0x00007fa2327cafed /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00516077 [ 49] 0x00007fa23b76b182 /lib/x86_64-linux-gnu/libpthread.so.0+00033154 [ 50] 0x00007fa23b49847d /lib/x86_64-linux-gnu/libc.so.6+01025149 clone+00000109 [ 51] 0x0000000000000000 unknown-module+00000000
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
Could anyone please help me? Thanks in advance!

Risposte (1)

Pratik
Pratik il 12 Giu 2024
Hi Chow,
From what I can understand, it seems that you are facing crash when using MATLAB on ubuntu.
This is a known issue that affects MATLAB R2015a through R2016a on Ubuntu 15.04 and newer.
The issue also affects Ubuntu derivatives (e.g. Kubuntu).
To work around this issue, please see the following external bug report: https://www.mathworks.com/support/bugreports/1297894
I hope this helps!

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by