- Open the file \<matlabroot>\toolbox\local\pathdef.m. Here 'matlabroot' is the directory on which MATLAB is installed on your machine
- Search for the mex file 'caffe_.mexa64' and delete those lines.
I got this abort() error when trying to use caffe.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
------------------------------------------------------------------------ abort() detected at Tue Sep 4 03:00:25 2018 ------------------------------------------------------------------------
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.27 stable Host Name : ming-VirtualBox MATLAB Architecture : glnxa64 MATLAB Root : /usr/local/MATLAB/R2015a MATLAB Version : 8.5.0.197613 (R2015a) OpenGL : hardware Operating System : Linux 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 Processor ID : x86 Family 6 Model 142 Stepping 9, GenuineIntel 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 (11906000), display :0
Fault Count: 1
Abnormal termination: abort()
Register State (from fault): RAX = 0000000000000000 RBX = 00007f0480030420 RCX = 00007f050b090e97 RDX = 0000000000000000 RSP = 00007f04f528b350 RBP = 00007f04f528b720 RSI = 00007f04f528b350 RDI = 0000000000000002
R8 = 0000000000000000 R9 = 00007f04f528b350
R10 = 0000000000000008 R11 = 0000000000000246
R12 = 00007f0480030420 R13 = 00000000000000b0
R14 = 00007f04f528b790 R15 = 00007f0480037de0
RIP = 00007f050b090e97 EFL = 0000000000000246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault): [ 0] 0x00007f050b090e97 /lib/x86_64-linux-gnu/libc.so.6+00257687 gsignal+00000199 [ 1] 0x00007f050b092801 /lib/x86_64-linux-gnu/libc.so.6+00264193 abort+00000321 [ 2] 0x00007f047fe1a1f9 /usr/lib/x86_64-linux-gnu/libglog.so.0+00041465 [ 3] 0x00007f047fe1c0cd /usr/lib/x86_64-linux-gnu/libglog.so.0+00049357 [ 4] 0x00007f047fe1df33 /usr/lib/x86_64-linux-gnu/libglog.so.0+00057139 ZN6google10LogMessage9SendToLogEv+00000643 [ 5] 0x00007f047fe1bc28 /usr/lib/x86_64-linux-gnu/libglog.so.0+00048168 _ZN6google10LogMessage5FlushEv+00000184 [ 6] 0x00007f047fe1e999 /usr/lib/x86_64-linux-gnu/libglog.so.0+00059801 _ZN6google15LogMessageFatalD2Ev+00000009 [ 7] 0x00007f0480d9dd81 /root/files/fashion-detection/fast-rcnn/caffe-fast-rcnn/matlab/+caffe/private/caffe.mexa64+01686913 [ 8] 0x00007f0480d8f88f /root/files/fashion-detection/fast-rcnn/caffe-fast-rcnn/matlab/+caffe/private/caffe_.mexa64+01628303 [ 9] 0x00007f0480c3533d /root/files/fashion-detection/fast-rcnn/caffe-fast-rcnn/matlab/+caffe/private/caffe_.mexa64+00209725 [ 10] 0x00007f0480c35672 /root/files/fashion-detection/fast-rcnn/caffe-fast-rcnn/matlab/+caffe/private/caffe_.mexa64+00210546 mexFunction+00000336 [ 11] 0x00007f05005d6cea /usr/local/MATLAB/R2015a/bin/glnxa64/libmex.so+00150762 mexRunMexFile+00000090 [ 12] 0x00007f05005d3a74 /usr/local/MATLAB/R2015a/bin/glnxa64/libmex.so+00137844 [ 13] 0x00007f05005d4684 /usr/local/MATLAB/R2015a/bin/glnxa64/libmex.so+00140932 [ 14] 0x00007f04ff90caea /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00813802 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000762 [ 15] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 16] 0x00007f04fed56784 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06129540 [ 17] 0x00007f04fed58099 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06135961 [ 18] 0x00007f04fed588cc /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06138060 [ 19] 0x00007f04febccfd3 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04517843 [ 20] 0x00007f04febda69e /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04572830 [ 21] 0x00007f04febda783 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04573059 [ 22] 0x00007f04fed11b54 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+05847892 [ 23] 0x00007f04feb3086a /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03876970 [ 24] 0x00007f04feba62ce /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862 [ 25] 0x00007f04ff90caea /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00813802 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000762 [ 26] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 27] 0x00007f04eebecedd /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02473693 [ 28] 0x00007f04eeb825c2 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02037186 [ 29] 0x00007f04eeb83ddf /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02043359 [ 30] 0x00007f04eeb898e0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02066656 [ 31] 0x00007f04eeb85053 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02048083 [ 32] 0x00007f04eebf3bb6 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02501558 [ 33] 0x00007f04eec7871b /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+03045147 [ 34] 0x00007f04ff8b5744 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00456516 ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2+00000244 [ 35] 0x00007f04eec76451 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+03036241 [ 36] 0x00007f04feb7cd20 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04189472 [ 37] 0x00007f04feb2c432 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03859506 [ 38] 0x00007f04feb2e612 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03868178 [ 39] 0x00007f04feb34597 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631 [ 40] 0x00007f04feb2fcff /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047 [ 41] 0x00007f04feb30934 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172 [ 42] 0x00007f04feba62ce /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862 [ 43] 0x00007f04ff90caea /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00813802 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000762 [ 44] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 45] 0x00007f04eebecedd /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02473693 [ 46] 0x00007f04eebed152 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02474322 [ 47] 0x00007f04eeb81edb /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02035419 [ 48] 0x00007f04eeb8254e /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02037070 [ 49] 0x00007f04eeb83ddf /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02043359 [ 50] 0x00007f04eeb898e0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02066656 [ 51] 0x00007f04eeb84d20 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02047264 [ 52] 0x00007f04eeb84e39 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02047545 [ 53] 0x00007f04eeb8543c /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02049084 [ 54] 0x00007f04eeb85608 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02049544 [ 55] 0x00007f04eebf6e27 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+02514471 [ 56] 0x00007f04eec78ccb /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+03046603 [ 57] 0x00007f04ff8b5744 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00456516 ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2+00000244 [ 58] 0x00007f04eec76451 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcos_impl.so+03036241 [ 59] 0x00007f04feb7cd20 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04189472 [ 60] 0x00007f04feb2c432 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03859506 [ 61] 0x00007f04feb2e612 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03868178 [ 62] 0x00007f04feb34597 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631 [ 63] 0x00007f04feb2fcff /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047 [ 64] 0x00007f04feb30934 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172 [ 65] 0x00007f04feba62ce /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862 [ 66] 0x00007f04ff90caea /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00813802 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000762 [ 67] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 68] 0x00007f04fed56784 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06129540 [ 69] 0x00007f04fed58099 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06135961 [ 70] 0x00007f04fed588cc /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+06138060 [ 71] 0x00007f04febccfd3 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04517843 [ 72] 0x00007f04febda69e /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04572830 [ 73] 0x00007f04febda783 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04573059 [ 74] 0x00007f04fed11b54 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+05847892 [ 75] 0x00007f04feb2e9b9 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03869113 [ 76] 0x00007f04feb34597 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631 [ 77] 0x00007f04feb2fcff /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047 [ 78] 0x00007f04feb30934 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172 [ 79] 0x00007f04feba62ce /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862 [ 80] 0x00007f04ff90cc39 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00814137 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00001097 [ 81] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 82] 0x00007f04feb7cd20 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04189472 [ 83] 0x00007f04feafd4b3 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03667123 [ 84] 0x00007f04feb2d6ee /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03864302 [ 85] 0x00007f04feb34597 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631 [ 86] 0x00007f04feb2fcff /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047 [ 87] 0x00007f04feb30934 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172 [ 88] 0x00007f04feba62ce /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862 [ 89] 0x00007f04ff90cc39 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00814137 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00001097 [ 90] 0x00007f04ff90cfb0 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000032 [ 91] 0x00007f04feb65495 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04093077 [ 92] 0x00007f04feb25fb9 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03833785 [ 93] 0x00007f04feb223f5 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03818485 [ 94] 0x00007f04feb22ad3 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03820243 [ 95] 0x00007f0500818b6c /usr/local/MATLAB/R2015a/bin/glnxa64/libmwbridge.so+00228204 [ 96] 0x00007f0500819751 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwbridge.so+00231249 _Z8mnParserv+00000737 [ 97] 0x00007f050c37d3af /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00799663 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031 [ 98] 0x00007f050c35d133 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00667955 [ 99] 0x00007f050c35efd9 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00675801 _ZN5boost6detail11task_objectIvNS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEE6do_runEv+00000025 [100] 0x00007f050c35f9a7 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00678311 _ZN5boost6detail9task_baseIvE3runEv+00000071 [101] 0x00007f050c35fa07 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00678407 [102] 0x00007f050c35ad8a /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00658826 [103] 0x00007f04fdeb8a56 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwuix.so+00334422 [104] 0x00007f04fdea03a2 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwuix.so+00234402 [105] 0x00007f050cb4bf1f /usr/local/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02621215 [106] 0x00007f050cb4c08c /usr/local/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02621580 [107] 0x00007f050cb4dbdf /usr/local/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02628575 [108] 0x00007f050cb4e61c /usr/local/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02631196 _Z25svWS_ProcessPendingEventsiib+00000092 [109] 0x00007f050c35b408 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00660488 [110] 0x00007f050c35b724 /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00661284 [111] 0x00007f050c347b0d /usr/local/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00580365 [112] 0x00007f050b44a6db /lib/x86_64-linux-gnu/libpthread.so.0+00030427 [113] 0x00007f050b17388f /lib/x86_64-linux-gnu/libc.so.6+01185935 clone+00000063 [114] 0x0000000000000000 unknown-module+00000000
======================================================================================================================== 1. I tried to remove startup.m. But in my directory there is no 'startup.m' file. 2. and i installed matlab-support, and this doesn't work.
0 comentarios
Respuestas (1)
Amal George M
el 6 de Sept. de 2018
Decoded Stack trace shows that the MEX file 'caffe_.mexa64' is not found.
Line 10 of the stack trace is shown below
[ 10] 0x00007f0480c35672 mexFunction+00000336 at /root/files/fashion-detection/fast-rcnn/caffe-fast-rcnn/matlab/+caffe/private/caffe_.mexa64+210541 (file not found)
Please make sure if you have access to the mex file and it is present in the directory. If you are using a virtual machine make sure the machine has access to the location.
Follow the steps from the ’Build MatCaffe' section of the following link
Other possible workarounds are
1. If the mex file is in a git folder or network directory, remove it and place it in a separate directory on the local machine
2. Change to the directory containing the mex file using the 'cd' command in MATLAB and execute your function or script.
If MATLAB is crashing even before you could run any commands, please try the following steps
3. Remove the mex file from the MATLAB path if it exists.
You can do this by,
4. Follow steps 1 to 3
If the issue still exists, please reach out to the author of the mex file for support. Since this is a third party mex file and is not supported by MathWorks, any further questions related to it should be directed to the author of the mex file.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!