LINUX.ORG.RU

Matlab R2014a segmentation violation

 


0

1

Доброе время суток.

Скачал я Matlab R2014a с thepiratebay, а он во время выполнения разнообразных функций (реализующих методы машинного обучения (в том числе, и сторонних)) падает с сегфолтом. Причем, на игрушечных примерах все работает.

Например, вот это вываливается при вызове fitctree

------------------------------------------------------------------------
       Segmentation violation detected at Tue Oct 21 16:58:50 2014
------------------------------------------------------------------------

Configuration:
  Crash Decoding     : Disabled
  Current Visual     : 0x21 (class 4, depth 24)
  Default Encoding   : US-ASCII
  GNU C Library      : 2.20 stable
  MATLAB Architecture: glnxa64
  MATLAB Root        : /usr/local/MATLAB/R2014a
  MATLAB Version     : 8.3.0.532 (R2014a)
  Operating System   : Linux 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64
  Processor ID       : x86 Family 6 Model 26 Stepping 5, GenuineIntel
  Virtual Machine    : Java 1.8.0_25-b17 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  Window System      : The X.Org Foundation (11601000), display :0

Fault Count: 1


Abnormal termination:
Segmentation violation

Register State (from fault):
  RAX = 00007fd473e8a300  RBX = 00007fd471ec0a40
  RCX = 0000000000000000  RDX = 00000000000003a0
  RSP = 00007fd5c887dae0  RBP = 00007fd5c887db00
  RSI = 00007fd471ecb540  RDI = 00007fd471ebed40

   R8 = 00007fd471ebed40   R9 = 0000000001189720
  R10 = 00000000000010a7  R11 = 00007fd5da485a40
  R12 = 00007fd5c887db20  R13 = 0000000000000558
  R14 = 00007fd471ecb540  R15 = 00007fd471ecb540

  RIP = 00007fd45b9664ef  EFL = 0000000000010202

   CS = 0033   FS = 0000   GS = 0000

Stack Trace (from fault):
[  0] 0x00007fd45b9664ef /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00169199
[  1] 0x00007fd45b9665d9 /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00169433
[  2] 0x00007fd45b97a560 /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00251232
[  3] 0x00007fd45b9acd7b /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00458107
[  4] 0x00007fd45b9adb63 /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00461667
[  5] 0x00007fd45b9adfc5 /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00462789
[  6] 0x00007fd45b9514fd /usr/local/MATLAB/R2014a/toolbox/stats/classreg/+classreg/+learning/+treeutils/growTree.mexa64+00083197 mexFunction+00002061
[  7] 0x00007fd5d224872a     /usr/local/MATLAB/R2014a/bin/glnxa64/libmex.so+00120618 mexRunMexFile+00000090
[  8] 0x00007fd5d2244a94     /usr/local/MATLAB/R2014a/bin/glnxa64/libmex.so+00105108
[  9] 0x00007fd5d2245fb4     /usr/local/MATLAB/R2014a/bin/glnxa64/libmex.so+00110516
[ 10] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[ 11] 0x00007fd5d12776e8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01566440
[ 12] 0x00007fd5d1221482  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01213570
[ 13] 0x00007fd5d1223465  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01221733
[ 14] 0x00007fd5d1225e50  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01232464
[ 15] 0x00007fd5d122373d  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01222461
[ 16] 0x00007fd5d127a126  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01577254
[ 17] 0x00007fd5d12e655b  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02020699
[ 18] 0x00007fd5d15ee874 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00338036 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000244
[ 19] 0x00007fd5d12e6031  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02019377
[ 20] 0x00007fd5d071620e /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02601486
[ 21] 0x00007fd5d06d11d0 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02318800
[ 22] 0x00007fd5d06d31ea /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02327018
[ 23] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[ 24] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[ 25] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[ 26] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[ 27] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[ 28] 0x00007fd5d12776e8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01566440
[ 29] 0x00007fd5d1221a02  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01214978
[ 30] 0x00007fd5d122338e  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01221518
[ 31] 0x00007fd5d1225e50  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01232464
[ 32] 0x00007fd5d122373d  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01222461
[ 33] 0x00007fd5d127a126  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01577254
[ 34] 0x00007fd5d06faaef /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02489071
[ 35] 0x00007fd5d1601de3 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00417251
[ 36] 0x00007fd5d15ee874 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00338036 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000244
[ 37] 0x00007fd5d071620e /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02601486
[ 38] 0x00007fd5d06d11d0 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02318800
[ 39] 0x00007fd5d06d31ea /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02327018
[ 40] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[ 41] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[ 42] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[ 43] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[ 44] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[ 45] 0x00007fd5d12776e8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01566440
[ 46] 0x00007fd5d1221a02  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01214978
[ 47] 0x00007fd5d122338e  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01221518
[ 48] 0x00007fd5d1225e50  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01232464
[ 49] 0x00007fd5d122373d  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01222461
[ 50] 0x00007fd5d12e51f0  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02015728
[ 51] 0x00007fd5d15ee874 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00338036 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000244
[ 52] 0x00007fd5d12e6031  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02019377
[ 53] 0x00007fd5d071620e /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02601486
[ 54] 0x00007fd5d06d11d0 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02318800
[ 55] 0x00007fd5d06d31ea /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02327018
[ 56] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[ 57] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[ 58] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[ 59] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[ 60] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[ 61] 0x00007fd5d12776e8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01566440
[ 62] 0x00007fd5d1277995  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01567125
[ 63] 0x00007fd5d1221236  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01212982
[ 64] 0x00007fd5d122198c  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01214860
[ 65] 0x00007fd5d122338e  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01221518
[ 66] 0x00007fd5d1225e50  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01232464
[ 67] 0x00007fd5d1223a9c  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01223324
[ 68] 0x00007fd5d1223be9  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01223657
[ 69] 0x00007fd5d1223dcf  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01224143
[ 70] 0x00007fd5d1223ff1  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01224689
[ 71] 0x00007fd5d127f717  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01599255
[ 72] 0x00007fd5d12e61f8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02019832
[ 73] 0x00007fd5d15ee874 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00338036 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000244
[ 74] 0x00007fd5d12e6031  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02019377
[ 75] 0x00007fd5d15f8d82 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00380290
[ 76] 0x00007fd5d15fe867 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00403559
[ 77] 0x00007fd5d06b496a /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02201962
[ 78] 0x00007fd5d06fa742 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02488130
[ 79] 0x00007fd5d06bc17a /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02232698
[ 80] 0x00007fd5d0729fb5 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02682805
[ 81] 0x00007fd5d072a9d6 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02685398
[ 82] 0x00007fd5d06bc046 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02232390
[ 83] 0x00007fd5d06b6a15 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02210325
[ 84] 0x00007fd5d06d2233 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02322995
[ 85] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[ 86] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[ 87] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[ 88] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[ 89] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[ 90] 0x00007fd5d12776e8  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01566440
[ 91] 0x00007fd5d1221a02  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01214978
[ 92] 0x00007fd5d122338e  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01221518
[ 93] 0x00007fd5d1225e50  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01232464
[ 94] 0x00007fd5d122373d  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+01222461
[ 95] 0x00007fd5d12e51f0  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02015728
[ 96] 0x00007fd5d15ee874 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00338036 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000244
[ 97] 0x00007fd5d12e6031  /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcos.so+02019377
[ 98] 0x00007fd5d071620e /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02601486
[ 99] 0x00007fd5d06d11d0 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02318800
[100] 0x00007fd5d06d31ea /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02327018
[101] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[102] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[103] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[104] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[105] 0x00007fd5d163fad9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670425 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000697
[106] 0x00007fd5d071620e /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02601486
[107] 0x00007fd5d06b71b0 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02212272
[108] 0x00007fd5d06d225f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02323039
[109] 0x00007fd5d06d6167 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02339175
[110] 0x00007fd5d06d426f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02331247
[111] 0x00007fd5d06d4ec4 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02334404
[112] 0x00007fd5d073230b /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02716427
[113] 0x00007fd5d163fc5f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_dispatcher.so+00670815 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00001087
[114] 0x00007fd5d0705135 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02531637
[115] 0x00007fd5d06cc0d9 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02298073
[116] 0x00007fd5d06c8dc7 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02284999
[117] 0x00007fd5d06c9193 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwm_interpreter.so+02285971
[118] 0x00007fd5d2472afc /usr/local/MATLAB/R2014a/bin/glnxa64/libmwbridge.so+00142076
[119] 0x00007fd5d2473791 /usr/local/MATLAB/R2014a/bin/glnxa64/libmwbridge.so+00145297 _Z8mnParserv+00000721
[120] 0x00007fd5db73392f   /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcr.so+00489775 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031
[121] 0x00007fd5db714b6d   /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcr.so+00363373
[122] 0x00007fd5db714be9   /usr/local/MATLAB/R2014a/bin/glnxa64/libmwmcr.so+00363497
[123] 0x00007fd5cfdfed46   /usr/local/MATLAB/R2014a/bin/glnxa64/libmwuix.so+00343366
[124] 0x00007fd5cfde1382   /usr/local/MATLAB/R2014a/bin/glnxa64/libmwuix.so+00222082
[125] 0x00007fd5dbe8950f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwservices.so+02323727
[126] 0x00007fd5dbe8967c /usr/local/MATLAB/R2014a/bin/glnxa64/libmwservices.so+02324092
[127] 0x00007fd5dbe8557f /usr/local/MATLAB/R2014a/bin/glnxa64/libmwservices.so+02307455


This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

Запускаю на Arch (3.16.4-1-ARCH), то же самое сообщение вываливается на поддерживаемой mathworks ubuntu 14.04 LTS.

Вероятно, следует отметить, что libmwservices.so была патчена добрыми дядями-пиратами (возможно, криво.).

Идеи?

inb4: R, scikitlearn не могут в машинку на разреженных матрицах. Octave просто не может.

Службы поддержки mathworks/thepiratebay всегда будут рады тебе помочь.

init_6 ★★★★★
()
Ответ на: комментарий от anonymous

то же самое сообщение вываливается на поддерживаемой mathworks ubuntu 14.04 LTS

Там ядро 3,13.

И если проблема в ядре, не должен был бы сегфолт упасть на системном вызове или чем-то таком?

akopich
() автор топика
31 октября 2015 г.
Ответ на: комментарий от akopich

Это проблема с MESA (opengl),у меня такое было с Матлаб под Ubuntu 15.10

Поставил MESA 11.1 и все прошло

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.