Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab internal Error after running rcnn_exp_cache_features('train'); #24

Open
teruun opened this issue Oct 7, 2014 · 3 comments
Open

Comments

@teruun
Copy link

teruun commented Oct 7, 2014

I was trying to extract features from PASCAL VOC 2007 datasets according to the tutorial, everything is normal until matlab throwed a System Error: 'MATLAB has encountered an internal problem and needs to close'. I use ubuntu 14.04 and the matlab edition is 2013b. The R-CNN is runned in CPU mode.

The error was thrown while excuting line 36: 'rcnn_model.cnn.layers = caffe('get_weights')' in rcnn_load_model.m:

Some details of the error:


          abort() detected at Mon Oct  6 22:23:35 2014

Configuration:
Crash Decoding : Disabled
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.19 stable
MATLAB Architecture: glnxa64
MATLAB Root : /usr/local/MATLAB/R2013b
MATLAB Version : 8.2.0.701 (R2013b)
Operating System : Linux 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11501000), display :0

Fault Count: 1

Abnormal termination:
abort()

Register State (from fault):
RAX = 0000000000000000 RBX = 00007f6036652620
RCX = ffffffffffffffff RDX = 0000000000000006
RSP = 00007f60799f0b68 RBP = 00007f60799f0ca0
RSI = 0000000000002a9a RDI = 0000000000002a67

R8 = 000000000000ff08 R9 = 00007f604d342fa0
R10 = 0000000000000008 R11 = 0000000000000202
R12 = 00007f5fff3a7660 R13 = 0000000000000000
R14 = 0000000000000000 R15 = 00007f606f65a980

RIP = 00007f608c91fbb9 EFL = 0000000000000202

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f608c91fbb9 /lib/x86_64-linux-gnu/libc.so.6+00224185 gsignal+00000057
[ 1] 0x00007f608c922fc8 /lib/x86_64-linux-gnu/libc.so.6+00237512 abort+00000328
[ 2] 0x00007f603642cd81 /usr/lib/x86_64-linux-gnu/libglog.so.0+00068993 _ZN6google22InstallFailureFunctionEPFvvE+00000000
[ 3] 0x00007f603642cdaa /usr/lib/x86_64-linux-gnu/libglog.so.0+00069034 _ZN6google10LogMessage10SendToSinkEv+00000000
[ 4] 0x00007f603642cce4 /usr/lib/x86_64-linux-gnu/libglog.so.0+00068836 _ZN6google10LogMessage9SendToLogEv+00001224
[ 5] 0x00007f603642c6e6 /usr/lib/x86_64-linux-gnu/libglog.so.0+00067302 _ZN6google10LogMessage5FlushEv+00000414
[ 6] 0x00007f603642f687 /usr/lib/x86_64-linux-gnu/libglog.so.0+00079495 _ZN6google15LogMessageFatalD1Ev+00000025
[ 7] 0x00007f60366d4650 /home/teruun/Documents/rcnn-master/external/caffe/matlab/caffe/caffe.mexa64+00525904
[ 8] 0x00007f603669f872 /home/teruun/Documents/rcnn-master/external/caffe/matlab/caffe/caffe.mexa64+00309362
[ 9] 0x00007f603666f849 /home/teruun/Documents/rcnn-master/external/caffe/matlab/caffe/caffe.mexa64+00112713
[ 10] 0x00007f603666ef13 /home/teruun/Documents/rcnn-master/external/caffe/matlab/caffe/caffe.mexa64+00110355 mexFunction+00000203
[ 11] 0x00007f6084d5efca /usr/local/MATLAB/R2013b/bin/glnxa64/libmex.so+00118730 mexRunMexFile+00000090
[ 12] 0x00007f6084d5b2f4 /usr/local/MATLAB/R2013b/bin/glnxa64/libmex.so+00103156
[ 13] 0x00007f6084d5b464 /usr/local/MATLAB/R2013b/bin/glnxa64/libmex.so+00103524
[ 14] 0x00007f6084193643 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_dispatcher.so+00669251 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000691
[ 15] 0x00007f60821bb154 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04333908
[ 16] 0x00007f60821bcaa9 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04340393
[ 17] 0x00007f60821bd33c /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04342588
[ 18] 0x00007f6082041543 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02786627
[ 19] 0x00007f60820525ce /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02856398
[ 20] 0x00007f60820526b3 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02856627
[ 21] 0x00007f608217c762 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04077410
[ 22] 0x00007f6081fb3139 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02203961
[ 23] 0x00007f6081fb5e67 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02215527
[ 24] 0x00007f6081fb3f4f /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02207567
[ 25] 0x00007f6081fb4ba4 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02210724
[ 26] 0x00007f608201a5bb /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02627003
[ 27] 0x00007f6084193643 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_dispatcher.so+00669251 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000691
[ 28] 0x00007f6081ffbaee /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02501358
[ 29] 0x00007f6081fb0e50 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02195024
[ 30] 0x00007f6081fb2caa /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02202794
[ 31] 0x00007f6081fb5e67 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02215527
[ 32] 0x00007f6081fb3f4f /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02207567
[ 33] 0x00007f6081fb4ba4 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02210724
[ 34] 0x00007f608201a5bb /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02627003
[ 35] 0x00007f6084193643 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_dispatcher.so+00669251 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000691
[ 36] 0x00007f6081ffbaee /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02501358
[ 37] 0x00007f6081fb0e50 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02195024
[ 38] 0x00007f6081fb2caa /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02202794
[ 39] 0x00007f6081fb5e67 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02215527
[ 40] 0x00007f6081fb3f4f /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02207567
[ 41] 0x00007f6081fb4ba4 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02210724
[ 42] 0x00007f608201a5bb /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02627003
[ 43] 0x00007f6084193643 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_dispatcher.so+00669251 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000691
[ 44] 0x00007f60821bb154 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04333908
[ 45] 0x00007f60821bcaa9 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04340393
[ 46] 0x00007f60821bd33c /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04342588
[ 47] 0x00007f6082041543 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02786627
[ 48] 0x00007f60820525ce /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02856398
[ 49] 0x00007f60820526b3 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02856627
[ 50] 0x00007f608217c762 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+04077410
[ 51] 0x00007f6081fb4ad8 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02210520
[ 52] 0x00007f608201a5bb /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02627003
[ 53] 0x00007f6084193643 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_dispatcher.so+00669251 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000691
[ 54] 0x00007f6081fe69a5 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02415013
[ 55] 0x00007f6081fabc49 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02174025
[ 56] 0x00007f6081fa88d7 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02160855
[ 57] 0x00007f6081fa8c33 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwm_interpreter.so+02161715
[ 58] 0x00007f6084f8808c /usr/local/MATLAB/R2013b/bin/glnxa64/libmwbridge.so+00139404
[ 59] 0x00007f6084f886d9 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwbridge.so+00141017 _Z8mnParserv+00000697
[ 60] 0x00007f608dd1e4ff /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00468223 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031
[ 61] 0x00007f608dd0297d /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00354685
[ 62] 0x00007f608dd02a00 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00354816
[ 63] 0x00007f60812bc836 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwuix.so+00346166
[ 64] 0x00007f60812c4862 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwuix.so+00378978
[ 65] 0x00007f608e45aac1 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02271937
[ 66] 0x00007f608e45acfc /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02272508
[ 67] 0x00007f608e45668f /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02254479
[ 68] 0x00007f608e45b845 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02275397
[ 69] 0x00007f608e45bd34 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02276660
[ 70] 0x00007f608e45c370 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwservices.so+02278256 _Z25svWS_ProcessPendingEventsiib+00000080
[ 71] 0x00007f608dd02c47 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00355399
[ 72] 0x00007f608dd03408 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00357384
[ 73] 0x00007f608dcfd538 /usr/local/MATLAB/R2013b/bin/glnxa64/libmwmcr.so+00333112
[ 74] 0x00007f608ccb7182 /lib/x86_64-linux-gnu/libpthread.so.0+00033154
[ 75] 0x00007f608c9e3fbd /lib/x86_64-linux-gnu/libc.so.6+01028029 clone+00000109

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.

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.

Any help or suggestion is very approciated. Thanks.

@zhaohuaihuai
Copy link

I have a similar problem, but it happens on f = caffe('forward', batches(j));,let me know if you solve this.thanks

@zhaohuaihuai
Copy link

I solved this by setting use_gpu=false in rcnn_load_model function. I notice that when error is caused by cuda , it is sometimes about choosing cpu and gpu.

@Se-Ch
Copy link

Se-Ch commented Jul 6, 2016

https://www.mathworks.com/support/bugreports/1297894 May be it help to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants