Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Crash after installing MCR

Subject: Crash after installing MCR

From: David

Date: 13 Sep, 2011 17:21:14

Message: 1 of 1

Hi guys

I've been experimenting with deploying a complied Matlab application and made the mistake of installing the MCR on the machine on which I run Matlab.

After installing the (32 bit) MCR, running my uncompiled application within (32 bit) Matlab caused a segmentation violation. I've now uninstalled the MCR, but am still getting a segmentation violation (see below). Running the application in 64 bit Matlab still works fine (I never installed the 64 bit MCR), but I do need to get it running in the 32 bit version again.

Any suggestions?

Thanks

Dave



------------------------------------------------------------------------
       Segmentation violation detected at Tue Sep 13 18:17:45 2011
------------------------------------------------------------------------

Configuration:
  Crash Decoding : Disabled
  Default Encoding: windows-1252
  MATLAB License : 47192
  MATLAB Root : \\eng3\matlab\r2011a\w32
  MATLAB Version : 7.12.0.635 (R2011a)
  Operating System: Microsoft Windows 7
  Processor ID : x86 Family 6 Model 5 Stepping 5, GenuineIntel
  Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
  Window System : Version 6.1 (Build 7600)

Fault Count: 1



Abnormal termination:
Segmentation violation

Register State (from fault):
  EAX = 00000000 EBX = 713e9c40
  ECX = 800000b8 EDX = 800000b7
  ESP = 0125a8a0 EBP = 03cd027f
  ESI = 1ff72534 EDI = 03cd2878
 
  EIP = 0125a8df EFL = 00010202
 
   CS = 00000023 DS = 0000002b SS = 0000002b
   ES = 0000002b FS = 00000053 GS = 0000002b


Stack Trace (from fault):
[ 0] 0x0125a8df
[ 1] 0x713e5202 //eng3/matlab/r2011a/w32/bin/win32/libmwcli.dll+00020994 ( ExportableDataType::getBaseDataType+010258 )
[ 2] 0x713fce1b //eng3/matlab/r2011a/w32/bin/win32/libmwcli.dll+00118299 ( ExportableDataType::LinkPointer+048587 )
[ 3] 0x713fd13f //eng3/matlab/r2011a/w32/bin/win32/libmwcli.dll+00119103 ( ExportableDataType::LinkPointer+049391 )
[ 4] 0x73081db5 //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00073141 ( mdLogging::log_function_entry+000229 )
[ 5] 0x73081d3b //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00073019 ( mdLogging::log_function_entry+000107 )
[ 6] 0x730817aa //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071594 ( Mfunction_handle::dispatch+000394 )
[ 7] 0x022213e6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00463846 ( in_is_matlab_function+323574 )
[ 8] 0x0221e200 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00451072 ( in_is_matlab_function+310800 )
[ 9] 0x0222f677 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00521847 ( in_is_matlab_function+381575 )
[ 10] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 11] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 12] 0x022242fb //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475899 ( in_is_matlab_function+335627 )
[ 13] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 14] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 15] 0x022213e6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00463846 ( in_is_matlab_function+323574 )
[ 16] 0x0221e200 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00451072 ( in_is_matlab_function+310800 )
[ 17] 0x0226461b //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00738843 ( inAssignInDesiredWS+001707 )
[ 18] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 19] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 20] 0x022242fb //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475899 ( in_is_matlab_function+335627 )
[ 21] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 22] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 23] 0x730850b4 //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00086196 ( Mdispatcher::get_sfuncname_to_funcidx+000340 )
[ 24] 0x7db7c204 //eng3/matlab/r2011a/w32/bin/win32/libmx.dll+00180740 ( mxFevalFunctionHandle+000036 )
[ 25] 0x73081db5 //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00073141 ( mdLogging::log_function_entry+000229 )
[ 26] 0x73081d3b //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00073019 ( mdLogging::log_function_entry+000107 )
[ 27] 0x730817aa //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071594 ( Mfunction_handle::dispatch+000394 )
[ 28] 0x022213e6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00463846 ( in_is_matlab_function+323574 )
[ 29] 0x0221e200 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00451072 ( in_is_matlab_function+310800 )
[ 30] 0x0222f677 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00521847 ( in_is_matlab_function+381575 )
[ 31] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 32] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 33] 0x022242fb //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475899 ( in_is_matlab_function+335627 )
[ 34] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 35] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 36] 0x022213e6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00463846 ( in_is_matlab_function+323574 )
[ 37] 0x0221e200 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00451072 ( in_is_matlab_function+310800 )
[ 38] 0x776642fd C:/Windows/SysWOW64/ntdll.dll+00213757 ( RtlInitializeCriticalSection+000037 )
[ 39] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 40] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 41] 0x022242fb //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475899 ( in_is_matlab_function+335627 )
[ 42] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 43] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 44] 0x0223bdb1 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00572849 ( in_is_matlab_function+432577 )
[ 45] 0x02223f1c //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00474908 ( in_is_matlab_function+334636 )
[ 46] 0x022bad46 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+01092934 ( inFunctionHandleInterface::getWorkspaceObj+183782 )
[ 47] 0x022195e2 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00431586 ( in_is_matlab_function+291314 )
[ 48] 0x0221b604 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00439812 ( in_is_matlab_function+299540 )
[ 49] 0x0221dfe9 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00450537 ( in_is_matlab_function+310265 )
[ 50] 0x0222f677 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00521847 ( in_is_matlab_function+381575 )
[ 51] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 52] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 53] 0x022242fb //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475899 ( in_is_matlab_function+335627 )
[ 54] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 55] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 56] 0x022213e6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00463846 ( in_is_matlab_function+323574 )
[ 57] 0x021b9a62 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00039522 ( inSim_findArray_for_variable+020290 )
[ 58] 0x0221f7a2 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00456610 ( in_is_matlab_function+316338 )
[ 59] 0x0222f677 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00521847 ( in_is_matlab_function+381575 )
[ 60] 0x0222f792 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00522130 ( in_is_matlab_function+381858 )
[ 61] 0x02226580 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00484736 ( in_is_matlab_function+344464 )
[ 62] 0x02224307 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00475911 ( in_is_matlab_function+335639 )
[ 63] 0x0222ac79 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00502905 ( in_is_matlab_function+362633 )
[ 64] 0x730818cf //eng3/matlab/r2011a/w32/bin/win32/m_dispatcher.dll+00071887 ( Mfunction_handle::dispatch+000687 )
[ 65] 0x0227d9d6 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00842198 ( inAnonymousFunction+000710 )
[ 66] 0x02287ccf //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00883919 ( init_cleaner+001679 )
[ 67] 0x022684b4 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00754868 ( inGetCurrentWS+003012 )
[ 68] 0x022800d0 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00852176 ( inEvalCmdWithLocalReturn+000144 )
[ 69] 0x02280079 //eng3/matlab/r2011a/w32/bin/win32/m_interpreter.dll+00852089 ( inEvalCmdWithLocalReturn+000057 )
[ 70] 0x7e1cb994 //eng3/matlab/r2011a/w32/bin/win32/libmwbridge.dll+00047508 ( mnParser+000484 )
[ 71] 0x00872a23 //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00207395 ( mcrInstance::mnParser_on_interpreter_thread+000051 )
[ 72] 0x00858252 //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00098898 ( DepfunRules::postWarning+029026 )
[ 73] 0x0085a525 //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00107813 ( DepfunRules::postWarning+037941 )
[ 74] 0x0085a5a6 //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00107942 ( DepfunRules::postWarning+038070 )
[ 75] 0x035a8c39 //eng3/matlab/r2011a/w32/bin/win32/uiw.dll+00298041 ( UIW_IsUserMessage+000121 )
[ 76] 0x035a91ee //eng3/matlab/r2011a/w32/bin/win32/uiw.dll+00299502 ( ws_ProcessPendingEventsWaitForWindows+000286 )
[ 77] 0x754e8e10 C:/Windows/syswow64/USER32.dll+00101904 ( RemovePropW+000174 )
[ 78] 0x754e8165 C:/Windows/syswow64/USER32.dll+00098661 ( GetMessageA+000074 )
[ 79] 0x72970dfc //eng3/matlab/r2011a/w32/bin/win32/libuij.dll+00134652 ( sysq::ws_ppeHook::~ws_ppeHook+008764 )
[ 80] 0x729725ab //eng3/matlab/r2011a/w32/bin/win32/libuij.dll+00140715 ( svWS_CommitDatabaseUpdates+004139 )
[ 81] 0x729727a6 //eng3/matlab/r2011a/w32/bin/win32/libuij.dll+00141222 ( svWS_CommitDatabaseUpdates+004646 )
[ 82] 0x7297288a //eng3/matlab/r2011a/w32/bin/win32/libuij.dll+00141450 ( svWS_CommitDatabaseUpdates+004874 )
[ 83] 0x729729f2 //eng3/matlab/r2011a/w32/bin/win32/libuij.dll+00141810 ( UIJ_WS_ProcessPendingEvents+000018 )
[ 84] 0x0085a85d //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00108637 ( DepfunRules::postWarning+038765 )
[ 85] 0x0085aaac //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00109228 ( DepfunRules::postWarning+039356 )
[ 86] 0x0085b936 //eng3/matlab/r2011a/w32/bin/win32/mcr.dll+00112950 ( mcr_invoke_on_interpreter_thread+001014 )
[ 87] 0x009f6202 //eng3/matlab/r2011a/w32/bin/win32/MATLAB.exe+00025090 ( ???+000000 )
[ 88] 0x009f62c5 //eng3/matlab/r2011a/w32/bin/win32/MATLAB.exe+00025285 ( ???+000000 )
[ 89] 0x009f638d //eng3/matlab/r2011a/w32/bin/win32/MATLAB.exe+00025485 ( ???+000000 )
[ 90] 0x009f6829 //eng3/matlab/r2011a/w32/bin/win32/MATLAB.exe+00026665 ( ???+000000 )
[ 91] 0x76d63677 C:/Windows/syswow64/kernel32.dll+00079479 ( BaseThreadInitThunk+000018 )
[ 92] 0x77669ed5 C:/Windows/SysWOW64/ntdll.dll+00237269 ( RtlInitializeExceptionChain+000054 )
[ 93] 0x009f6a08 //eng3/matlab/r2011a/w32/bin/win32/MATLAB.exe+00027144 ( ???+000000 )
[ 94] 0xfffde000 ( ???+000000 )

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us