Error in MATLAB 2010

5 views (last 30 days)
DAD
DAD on 22 Jan 2012
I got the error like the following in Matlab 2010 while running the program.......Please guide me as soon as possible.
--------------------------------------------------------------------- Segmentation violation detected at Sun Jan 22 12:33:22 2012 ------------------------------------------------------------------------
Configuration: MATLAB Version: 7.10.0.499 (R2010a) MATLAB License: 161051 Operating System: Microsoft Windows Vista Window System: Version 6.0 (Build 6000) Processor ID: x86 Family 6 Model 5 Stepping 5, GenuineIntel Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot™ Client VM mixed mode Default Encoding: windows-1252
Fault Count: 1
Register State: EAX = 0000003c EBX = 00000011 ECX = 7c19e92a EDX = 00be4cab ESI = 2cdf41a0 EDI = e8d47853 EBP = 00be4cd4 ESP = 00be4c58 EIP = 7a732321 FLG = 00210286
Stack Trace: [0] m_interpreter.dll:public: static struct mxArray_tag * _cdecl inJitInterp::ResolveMatnum(class Mfh_mp *,int,bool,enum inJitInterp::MatnumResolutionType)(0x2d96c118, 17, 0, 1) + 161 bytes [1] m_interpreter.dll:public: static void __cdecl inJitInterp::MarshalOut(class _jitSegInfo *,struct _inJitAccelInfo *,enum inMarshalType,struct inWorkSpace_tag *,class mpsType *,class std::set<int,struct std::less<int>,class std::allocator<int> > *)(0x614d1888, 0x00c2c3a8, 63, 0x2cdf41a0) + 465 bytes [2] m_interpreter.dll:_catch$?inPartialReference@@YAPAUmxArray_tag@@PAU1@PAUBlkparam@@HPAPAU1@@Z$0(0x00c2c064, 0x72898ed7, 0x7aa369a0, 5) + 27426 bytes [3] m_interpreter.dll:__unwindfunclet$?ExecuteHotSegment@inJit@@SA_NPAU_inJitAccelInfo@@PAW4opcodes@@PAH2@Z$10(0x00c2c3a8, 0x00c2c4f8, 0x00c2c49c, 0x00c2c678) + 12 bytes [4] m_interpreter.dll:int _cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 2328, 94, 0) + 797 bytes [5] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 2328, 75, 0) + 39 bytes [6] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 2328, 75, 0) + 251 bytes [7] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x7fffff00, 0xffffffff, 0x2d96c118, 4) + 876 bytes [8] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(4, 0x00c2ca88, 5, 0x00c2c9f8) + 466 bytes [9] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 4, 0x00c2ca88, 5) + 23 bytes [10] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(4, 0x00c2ca88, 5, 0x00c2c9f8) + 25 bytes [11] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(4, 0x00c2ca88, 5, 0x00c2c9f8) + 249 bytes [12] m_dispatcher.dll:public: void __thiscall Mfunction_handle::dispatch(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(4, 0x00c2ca88, 5, 0x00c2c9f8) + 420 bytes [13] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(4, 0x00c2ca88, 5, 0x00c2d250 "dÕÂ") + 81 bytes [14] m_interpreter.dll:public: bool __thiscall Resolver::CallMFunction(int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *)(0x00c2cd18, 4, 4, 0x2d926028) + 1209 bytes [15] m_interpreter.dll:private: bool __thiscall accelImpl::MFunctionCall(struct _accelOp * *)(0x00c2d264, 0xffffffff, 0x2d8e9f20 "è!", 0xffffffff) + 545 bytes [16] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelImpl::Exec(void)(0x00c2d250 "dÕÂ", 0xffffffff, 0x2db53718, 0xffffffff) + 170 bytes [17] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelCode::Call(enum inMarshalType *,int *)const (0x00c2d528, 0xffffffff, 0, 0) + 133 bytes [18] m_interpreter.dll:public: static bool __cdecl inJit::ExecuteHotSegment(struct _inJitAccelInfo *,enum opcodes *,int *,int *)(0x00c2d6f0, 0x00c2d840, 0x00c2d7e4, 0x00c2d9c0) + 2529 bytes [19] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 4314, 390, 0) + 797 bytes [20] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 4314, 171, 0) + 39 bytes [21] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 4314, 171, 0) + 251 bytes [22] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x72874c00, 0xffffffff, 0x2d95a140 "|1 zòT", 2) + 876 bytes [23] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(2, 0x00c2dd14, 3, 0x00c2dd74) + 466 bytes [24] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 2, 0x00c2dd14, 3) + 23 bytes [25] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2dd14, 3, 0x00c2dd74) + 25 bytes [26] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2dd14, 3, 0x00c2dd74) + 249 bytes [27] m_dispatcher.dll:public: void __thiscall Mfunction_handle::dispatch(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2dd14, 3, 0x00c2dd74) + 420 bytes [28] m_interpreter.dll:int __cdecl inDispatchFromStack(int,char const *,int,int)(1160, 0x29613cac "mle", 2, 3) + 626 bytes [29] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 1581, 39, 0) + 1282 bytes [30] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 1581, 24, 0) + 39 bytes [31] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 1581, 24, 0) + 251 bytes [32] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x2d04f400 "Ðç`-", 0xffffffff, 0x2d9597b8 "|1 z]u", 2) + 876 bytes [33] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(2, 0x00c2e55c, 1, 0x00c2e5bc) + 466 bytes [34] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 2, 0x00c2e55c, 1) + 23 bytes [35] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2e55c, 1, 0x00c2e5bc) + 25 bytes [36] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2e55c, 1, 0x00c2e5bc) + 249 bytes [37] m_dispatcher.dll:public: void __thiscall Mfunction_handle::dispatch(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00c2e55c, 1, 0x00c2e5bc) + 420 bytes [38] m_interpreter.dll:int __cdecl inDispatchFromStack(int,char const *,int,int)(1158, 0x2a34b0fc "test", 2, 1) + 626 bytes [39] m_interpreter.dll:_inCallFcnFromReference(0x2b909b98, 0x2b7bb298, 0, 0x7a7bdcbb) + 86 bytes [40] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 0, 173, 0) + 6320 bytes [41] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 39 bytes [42] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 251 bytes [43] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x2b820801, 0xffffffff, 0x2afdc430, 0) + 876 bytes [44] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(0, 0x00c2edc4, 0, 0x00c2ee24) + 466 bytes [45] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00c2edc4, 0) + 23 bytes [46] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2edc4, 0, 0x00c2ee24) + 25 bytes [47] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2edc4, 0, 0x00c2ee24) + 249 bytes [48] m_dispatcher.dll:public: void __thiscall Mfunction_handle::dispatch(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2edc4, 0, 0x00c2ee24) + 420 bytes [49] m_interpreter.dll:int __cdecl inDispatchFromStack(int,char const *,int,int)(931, 0, 0, 0) + 626 bytes [50] m_interpreter.dll:_inCallFcnFromReference(0x2b3725a8, 0x2b4bf098, 0, 0x0195a188) + 86 bytes [51] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 0, 1, 0) + 6320 bytes [52] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 39 bytes [53] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 251 bytes [54] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x2b825f01 "Înz", 0xffffffff, 0x2afdc248, 0) + 876 bytes [55] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(0, 0x00c2f850, 0, 0) + 466 bytes [56] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00c2f850, 0) + 23 bytes [57] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2f850, 0, 0) + 25 bytes [58] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2f850, 0, 0) + 249 bytes [59] m_dispatcher.dll:public: void __thiscall Mfunction_handle::dispatch(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00c2f850, 0, 0) + 420 bytes [60] m_interpreter.dll:void __cdecl inEvalPcodeHeaderToWord(struct _memory_context *,int,struct mxArray_tag * * const,struct _pcodeheader *,class Mfh_mp *,unsigned int)(0x7b9dd604, 0, 0x00c2f850, 0x00c2f760) + 73 bytes [61] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_script_function(struct _memory_context *,struct _pcodeheader *,int,struct mxArray_tag * * const,unsigned int,bool)(0x7b9dd604, 0x00c2f760, 0, 0x00c2f850) + 70 bytes [62] m_interpreter.dll:_catch$?AnonymousFunction@InterpBridge@@UAEXHQAPAUmxArray_tag@@H0@Z$0(0x7b9dd604, 0x29334020 "NakagamiplusBayes\n", 0, 0) + 10886 bytes [63] m_interpreter.dll:enum inExecutionStatus _cdecl inEvalCmdWithLocalReturn(char const ,int *,bool,bool,bool (__cdecl)(void *,char const *))(0x29334020 "NakagamiplusBayes\n", 0, 0, 1) + 79 bytes [64] m_interpreter.dll:public: virtual enum inExecutionStatus __thiscall InterpBridge::EvalCmdWithLocalReturn(char const *,int *,bool,bool)(0x29334020 "NakagamiplusBayes\n", 0, 0, 1) + 25 bytes [65] m_interpreter.dll:_inEvalCmdWithLocalReturn(0x29334020 "NakagamiplusBayes\n", 0, 0, 1) + 30 bytes [66] libmwbridge.dll:enum inExecutionStatus __cdecl evalCommandWithLongjmpSafety(char const *)(0x29334020 "NakagamiplusBayes\n", 0, 0x20d227b0, 0) + 67 bytes [67] libmwbridge.dll:_catch$_mnParser$0(0x041d9a40, 0, 0x1b8ea501, 1) + 294 bytes [68] mcr.dll:private: void _thiscall mcrInstance::mnParser_on_interpreter_thread(void)(0x20d227e8, 0x043ff90c, 10, 0x00c2fb98) + 51 bytes [69] mcr.dll:public: void __thiscall boost::function0<void>::operator()(void)const (0, 0x20d227b0, 0, 0x20d227b0) + 63 bytes [70] mcr.dll:public: virtual void __thiscall mcr::runtime::InterpreterThread::Impl::NoResultInvocationRequest::run(void)(0x7a0ee820, 0x043ff000 "¬±Íy", 0x00c2fa20, 0) + 53 bytes [71] mcr.dll:private: static void __cdecl mcr::runtime::InterpreterThread::Impl::invocation_request_handler(int)(0x20d227b0, 0, 0x00030000 "Actx ", 0x00c2fb9c) + 40 bytes [72] uiw.dll:bool __cdecl UIW_DispatchUserMessage(int,int)(9224, 0x20d227b0, 0x00c2fb9c, 3) + 81 bytes [73] uiw.dll:long __stdcall HandleUserMsgHook(int,unsigned int,long)(0, 1, 0x00c2fb9c, 9224) + 95 bytes [74] USER32.dll:0x75a36e6e(0x00030000 "Actx ", 1, 0x00c2fb9c, 0x7b2563e0) [75] USER32.dll:0x75a131eb(0x00c2fb8c, 0x00c2fb9c, 0x00c2fbb8, 0) [76] USER32.dll:0x75a14260(0x00c2fb8c, 48, 0x00c2fc98 "ÔüÂ", 0x76f96230) [77] ntdll.dll:0x76f9627e(0x00c2fc08, 0, 0, 0) [78] uiw.dll:void __cdecl UIW_GetAndDispatchMessage(struct tagMSG *)(0x00c2fc08, 0x04258e70, 0, 0x00c2fc50 "hüÂ") + 20 bytes [79] uiw.dll:void __cdecl UIW_GetAndDispatchMessage(void)(0x2a9aa138, 0x2a9aa130, 0, 9224) + 15 bytes [80] uiw.dll:public: virtual void __thiscall uiw_ppeHook::pollingDuringFcn(bool)(0, 0, 0x00c2fcd2, 0x2a9aa130) + 53 bytes [81] libuij.dll:struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> __cdecl std::for_each<class std::_Vector_iterator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *,class std::allocator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> >,struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> >(class std::_Vector_iterator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *,class std::allocator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> >,class std::_Vector_iterator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *,class std::allocator<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> >,struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *>)(0x00c2fcd2, 0x2a9aa130, 0x2a9aa138, 0) + 41 bytes [82] libuij.dll:struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> __cdecl sysq::ppe_for_each<struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *> >(struct sysq::during_F<class sysq::wsfcn_proxy<class sysq::ws_ppeHook *> *>)(0x00c2fcd2, 0, 0x041dc548, 0x7b990f43) + 70 bytes [83] libuij.dll:void __cdecl sysq::ppeMainLoop(int,int,bool)(1, 0xffffffff, 0, 2) + 243 bytes [84] libuij.dll:void __cdecl sysq::ppeLoopIfOK(int,int,bool)(1, 0xffffffff, 0, 0) + 118 bytes [85] libuij.dll:void __cdecl sysq::processPendingEvents(int,int,bool)(1, 0xffffffff, 0, 0x00c2fd90 "ÐýÂ") + 100 bytes [86] libuij.dll:void __cdecl UIJ_WS_ProcessPendingEvents(int,int)(1, 0xffffffff, 0x041dc548, 0x041b29a8) + 18 bytes [87] mcr.dll:public: void __thiscall mcr::runtime::InterpreterThread::Impl::process_events(class boost::shared_ptr<class mcr::runtime::InterpreterThread::Impl> const &)(0x00c2fde8, 2, 0x041d8cb0, 0x04dadd60) + 138 bytes [88] mcr.dll:_catch$?run@Impl@InterpreterThread@runtime@mcr@@QAEKABV?$shared_ptr@VImpl@InterpreterThread@runtime@mcr@@@boost@@PAUinit_context@1234@@Z$0(0x00c2fde8, 0x09b12d70, 0x7a0f1940, 0x041b7df0) + 128 bytes [89] mcr.dll:unsigned long _cdecl run_init_and_handle_events(void *)(0x04dadd60, 0x0040b7cc, 2108262, 0) + 76 bytes [90] mcr.dll:private: void __thiscall mcr::runtime::InterpreterThreadFactory::runThreadFunction(void)(0x00c2fe98, 0x00c2fe54, 0x00c2fe58 "¸þÂ", 0x7b95c1bc) + 108 bytes [91] MATLAB.exe:public: void __thiscall boost::function0<void>::operator()(void)const (0, 0, 1, 0x041b7df0) + 63 bytes [92] MATLAB.exe:int __cdecl mcrMain(int,char const * * const)(1, 0x041c69f8, 4194304, 10) + 158 bytes [93] MATLAB.exe:_WinMain@16(4194304, 0, 2108262, 10) + 109 bytes [94] MATLAB.exe:__tmainCRTStartup(0x7ffd8000, 0x00c2ffd4 "ìÿÂ", 0x76fab429, 0x7ffd8000) + 320 bytes [95] kernel32.dll:0x75971194(0x7ffd8000, 0x776626a1, 0, 0) [96] ntdll.dll:0x76fab429(0x00406e06, 0x7ffd8000, 0, 0) [97] ntdll.dll:0x76fab3fc(0x00406e06, 0x7ffd8000, 0, 0x78746341)
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/ts/help_request_1.html
A technical support engineer might contact you with further information.
Thank you for your help. MATLAB may attempt to recover, but even if recovery appears successful, we recommend that you save your workspace and restart MATLAB as soon as possible.

Accepted Answer

Jan
Jan on 22 Jan 2012
We do not have the faintest chance to help you, if you only specify the cause of the problem by "while running the program". You can use the debugger to find out, which command causes the error.

More Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!