从Matlab函数返回时分割违反

2视图(30天)
我有一个c共享库由matlab函数。函数执行正确直到结束但分割违反发生在返回。
不正常的终止:
分割违反
注册从故障状态():
EAX ac14 = 00000004 EBX = 0026
连成一片= b4400010 EDX = bff83428
ESP = bff810f0 EBP = bff81108
ESI = 00000000 EDI = 00000004
EIP = 0020355 e英语= 00210202
c = 00000073 d = 0000007 b SS = 0000007 b
ES = ffff007b FS = c05c0000 GS = 00000033
堆栈从断层Trace ():
[0]0 x06610099 /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwfl。linux + 00450713 fl:: sysdep:::: unwind_stack(空白const * *, unsigned int, unsigned int, fl::诊断接头::thread_context const) + 000036
[1]0 x065c124a /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwfl。所以+ 00127562 fl::诊断接头::stacktrace_base:捕获(fl::诊断接头::thread_context const, unsigned int) + 000180
[2]0 x065cb473 /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwfl.so + 00169075
[3]0 x065cb845 /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwfl。所以+ 00170053 fl::诊断接头::terminate_log (const char *, fl::诊断接头::thread_context const, bool) + 000115
[4]0 x095bca0f /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwmcr。所以+ 00375311 fl::诊断接头::terminate_log (const char *, ucontext const *, bool) + 000096
[5]0 x095b98a6 /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwmcr.so + 00362662
[6]0 x095bb56e /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwmcr.so + 00370030
[7]0 x095bc154 /home/ashish/MATLABR2011a / bin / glnx86 / . . / . . / bin / glnx86 / libmwmcr.so + 00373076
0 x00fef40c [8]__kernel_rt_sigreturn + 000000
[9]0 x0020355e /home/ashish/MATLABR2011a / bin / glnx86 / libmx。所以+ 00111966 mxDestroyArray + 000027
[10]0 x01f68d31 /home/ashish/MATLABR2011a / bin / glnx86 / libmwmclmcr。所以+ 00564529 mclMlfVFeval + 000889
[11]0 x00d33dea /home/ashish/MATLABR2011a /运行/ glnx86 / libmwmclmcrrt.so.7.15 + 00060906 mclMlfVFevalInternal_proxy + 000071
[12]0 x00d33e4f /home/ashish/MATLABR2011a /运行/ glnx86 / libmwmclmcrrt.so.7.15 + 00061007 mclMlfFeval_proxy + 000070
0 x00148a00。/ libtraining [13]。所以+ 00002560 mlfRecognizeface + 000184
[14]0 x0804e020。/ z + 00024608
[15]0 x08056a19。/ z + 00059929
[16]0 x08051b12。/ z + 00039698
[17]0 x080512b5。/ z + 00037557
[18]0 x0074ace7 /lib/libc.so.6 + 00093415__libc_start_main + 000231
[19]0 x0804a081。/ z + 00008321
我打电话在c:
mlfRecognizeface(1 *被* mat1 LeftEyeFilterAverage, RightEyeFilterAverage, NormImgSize, BunchGraph, BunchGraphPolar, GaborMask,面具,DatabaseFaceGraphFront, DatabaseFaceGraphPolarFront, SimilarityThreshold, DatabaseFaceGraphRight, DatabaseFaceGraphPolarRight, DatabaseFaceGraphLeft, DatabaseFaceGraphPolarLeft,边);
在哪里 公认的 是唯一的输出和这些都是类型的mxArray吗

答案(3)



弗里德里希
弗里德里希 2011年7月14日
你好,
似乎您正在运行的应用程序文件夹没有读权限。请尝试运行您的程序从一个文件夹有读权限。

类别

找到更多的在性能和内存帮助中心文件交换

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!