Why is a segmentation violation produced when I click on the gui menu bar?

1 view (last 30 days)
Hi all,
I wrote a matlab program with a graphical user interface (gui). I am using matlab r2012a. The program works fine on windows 7, but when I switched to windows 8 the program terminates with the following error when I click on the gui menu bar. By the way, it is strange that the error information says "operating system:Microsoft Windows 7" (instead of windows 8). Would someone have a clue? Thanks in advance
Segmentation violation detected at Mon May 27 17:57:06 2013
------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Default Encoding: windows-1252 MATLAB Root : C:\Program Files\MATLAB\R2012a MATLAB Version : 7.14.0.739 (R2012a) Operating System: Microsoft Windows 7 Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 6.2 (Build 9200)
Fault Count: 2
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 0000000000000000 RBX = 000000009c05b290 RCX = 000000009c05b290 RDX = 0000000000000000 RSP = 00000000044b94d0 RBP = 000000007b5b9401 RSI = 000000007ea94440 RDI = 000000009c312890
R8 = 000000007b5b94e0 R9 = 0000000000000000
R10 = 000000009c1896e0 R11 = 0000000000000067
R12 = 000000005460b7d0 R13 = 0000000000000000
R14 = 0000000000000000 R15 = 00000000044b9a00
RIP = 0000000056e50c6d EFL = 00010246
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault): [ 0] 0x0000000056e50c6d C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00593005 ( win_to_figure+000029 ) [ 1] 0x0000000056e98fde C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00888798 ( hgUicontrol+002174 ) [ 2] 0x0000000056e332d1 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00471761 ( hgImage+056369 ) [ 3] 0x0000000056e96a27 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00879143 ( UpdateFactoryControlFont+002167 ) [ 4] 0x00000000571cc3c3 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04244419 ( hgConvertUDInterfaceToHandle+010867 ) [ 5] 0x00000000561ea2f5 C:\Program Files\MATLAB\R2012a\bin\win64\udd.dll+00172789 ( UDInterface::setE+000693 ) [ 6] 0x00000000561f4814 C:\Program Files\MATLAB\R2012a\bin\win64\udd.dll+00215060 ( udiSet+000068 ) [ 7] 0x00000000571c92de C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04231902 ( setupHGUDInterface+002974 ) [ 8] 0x00000000571c27ac C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04204460 ( addPropertiesToPropertyMap+007148 ) [ 9] 0x00000000571c5519 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04216089 ( goSetPointer+000009 ) [ 10] 0x0000000056e5d2c3 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00643779 ( uipanel::PanelBorder::printPoints+002707 ) [ 11] 0x0000000056e5ec5f C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00650335 ( uipanel::PanelBorder::setRect+004799 ) [ 12] 0x0000000056df8d2c C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00232748 ( CallingResizeFcnUserCallback::operator=+011164 ) [ 13] 0x00000000571aaf13 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04108051 ( GO_TransformObject+001571 ) [ 14] 0x0000000056e0949f C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00300191 ( FigureSetVisualAutoMode+001455 ) [ 15] 0x0000000056e094b4 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00300212 ( FigureSetVisualAutoMode+001476 ) [ 16] 0x0000000056e094b4 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00300212 ( FigureSetVisualAutoMode+001476 ) [ 17] 0x0000000056e094b4 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00300212 ( FigureSetVisualAutoMode+001476 ) [ 18] 0x0000000056e0f98d C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00326029 ( UIJ_CreatePeerWindow+001597 ) [ 19] 0x00000000571aaf13 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04108051 ( GO_TransformObject+001571 ) [ 20] 0x000000005719b028 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+04042792 ( RenderEngineBase::~RenderEngineBase+196648 ) [ 21] 0x0000000056e0b967 C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00309607 ( FigureSetVisualAutoMode+010871 ) [ 22] 0x0000000056e0b9ed C:\Program Files\MATLAB\R2012a\bin\win64\hg.dll+00309741 ( FigureSetVisualAutoMode+011005 ) [ 23] 0x00000000577d6496 C:\Program Files\MATLAB\R2012a\bin\win64\libmwgui.dll+00418966 ( wm_ExposeFcn_Pre_Optional+000374 ) [ 24] 0x000000005618c584 C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00181636 ( GetframeJava+001332 ) [ 25] 0x000000005618e2e6 C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00189158 ( UIJ_IsWindowShowing+000438 ) [ 26] 0x000000005618f87d C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00194685 ( UIJ_clearWaitForResize+002061 ) [ 27] 0x000000005618f98e C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00194958 ( UIJ_ExposeFcn+000142 ) [ 28] 0x000000005617063e C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00067134 ( UIJ_MarkEventFinished+005838 ) [ 29] 0x0000000056170690 C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00067216 ( UIJ_MarkEventFinished+005920 ) [ 30] 0x000000005618913c C:\Program Files\MATLAB\R2012a\bin\win64\libuij.dll+00168252 ( uij::JavaDraw2D::paintQuadStrip+001324 ) [ 31] 0x00000000561ebb98 C:\Program Files\MATLAB\R2012a\bin\win64\udd.dll+00179096 ( uddSetListenerRecursionWarning+000680 ) [ 32] 0x00000000561ec1fc C:\Program Files\MATLAB\R2012a\bin\win64\udd.dll+00180732 ( UDListenerManagerHost::notifyEvent+000076 ) [ 33] 0x00000000561e47cd C:\Program Files\MATLAB\R2012a\bin\win64\udd.dll+00149453 ( UDEventInfo::send+000093 ) [ 34] 0x00000000580ecedb C:\Program Files\MATLAB\R2012a\bin\win64\udd_mi.dll+00052955 ( MErrorException::operator=+047675 ) [ 35] 0x0000000004b1c556 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00378198 ( UIW_IsUserMessage+000086 ) [ 36] 0x0000000004b1cbd4 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00379860 ( ws_ProcessOneEventBlocking+001028 ) [ 37] 0x000007fba22e1802 C:\Windows\system32\USER32.dll+00202754 ( EnumDisplaySettingsExA+000674 ) [ 38] 0x000007fba22b17b5 C:\Windows\system32\USER32.dll+00006069 ( DispatchMessageW+000661 ) [ 39] 0x000007fba22b1826 C:\Windows\system32\USER32.dll+00006182 ( DispatchMessageW+000774 ) [ 40] 0x000007fba4564b67 C:\Windows\SYSTEM32\ntdll.dll+00019303 ( KiUserCallbackDispatcher+000031 ) [ 41] 0x000007fba22b1eba C:\Windows\system32\USER32.dll+00007866 ( ScrollDC+000986 ) [ 42] 0x000007fba22b5760 C:\Windows\system32\USER32.dll+00022368 ( GetMessageA+000064 ) [ 43] 0x0000000004af815f C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00229727 ( win_sleep+000735 ) [ 44] 0x0000000079fba879 C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00043129 ( ioCmdLineEditSave+001001 ) [ 45] 0x0000000079fbc3fa C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00050170 ( ioCmdLineEditSave+008042 ) [ 46] 0x0000000079fbc809 C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00051209 ( ioReadLine+000153 ) [ 47] 0x0000000079fbca35 C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00051765 ( ioReadLine+000709 ) [ 48] 0x0000000079fc0840 C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00067648 ( QueryMLFcnTable_libmwbridge+001328 ) [ 49] 0x0000000079fc126a C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00070250 ( mnInitializeParser+001626 ) [ 50] 0x0000000079fc1711 C:\Program Files\MATLAB\R2012a\bin\win64\libmwbridge.dll+00071441 ( mnParser+000305 ) [ 51] 0x00000000749f4164 C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00541028 ( mcrInstance::mnParser_on_interpreter_thread+000036 ) [ 52] 0x00000000749d6a6f C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00420463 ( DepfunRules::postWarning+029263 ) [ 53] 0x00000000749d6ad1 C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00420561 ( DepfunRules::postWarning+029361 ) [ 54] 0x0000000004b1c556 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00378198 ( UIW_IsUserMessage+000086 ) [ 55] 0x0000000004b1cbd4 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00379860 ( ws_ProcessOneEventBlocking+001028 ) [ 56] 0x000007fba22e1802 C:\Windows\system32\USER32.dll+00202754 ( EnumDisplaySettingsExA+000674 ) [ 57] 0x000007fba22b17b5 C:\Windows\system32\USER32.dll+00006069 ( DispatchMessageW+000661 ) [ 58] 0x000007fba22b1826 C:\Windows\system32\USER32.dll+00006182 ( DispatchMessageW+000774 ) [ 59] 0x000007fba4564b67 C:\Windows\SYSTEM32\ntdll.dll+00019303 ( KiUserCallbackDispatcher+000031 ) [ 60] 0x000007fba22b1eba C:\Windows\system32\USER32.dll+00007866 ( ScrollDC+000986 ) [ 61] 0x000007fba22b5760 C:\Windows\system32\USER32.dll+00022368 ( GetMessageA+000064 ) [ 62] 0x0000000004af7be7 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00228327 ( UIW_SetCurrentDialog+000855 ) [ 63] 0x0000000004b1dfa7 C:\Program Files\MATLAB\R2012a\bin\win64\uiw.dll+00384935 ( ws_FreeSystemFont+000519 ) [ 64] 0x000000007bf7e4f3 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00713971 ( sysq::removeCommitDatabaseUpdatesHook+002131 ) [ 65] 0x000000007bf7fc68 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00719976 ( sysq::removeCommitDatabaseUpdatesHook+008136 ) [ 66] 0x000000007bf81880 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00727168 ( sysq::addProcessPendingEventsUnitTestHook+000240 ) [ 67] 0x000000007bf81948 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00727368 ( sysq::addProcessPendingEventsUnitTestHook+000440 ) [ 68] 0x000000007bf81b03 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00727811 ( sysq::addProcessPendingEventsUnitTestHook+000883 ) [ 69] 0x000000007bf81bd6 C:\Program Files\MATLAB\R2012a\bin\win64\libmwservices.dll+00728022 ( sysq::addProcessPendingEventsUnitTestHook+001094 ) [ 70] 0x00000000749d7cff C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00425215 ( DepfunRules::postWarning+034015 ) [ 71] 0x00000000749d8024 C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00426020 ( DepfunRules::postWarning+034820 ) [ 72] 0x00000000749d84be C:\Program Files\MATLAB\R2012a\bin\win64\mcr.dll+00427198 ( DepfunRules::postWarning+035998 ) [ 73] 0x000007f7f062b8f9 C:\Program Files\MATLAB\R2012a\bin\win64\MATLAB.exe+00047353 ( ???+000000 ) [ 74] 0x000007f7f062bbd6 C:\Program Files\MATLAB\R2012a\bin\win64\MATLAB.exe+00048086 ( ???+000000 ) [ 75] 0x000007f7f062c133 C:\Program Files\MATLAB\R2012a\bin\win64\MATLAB.exe+00049459 ( ???+000000 ) [ 76] 0x000007fba1f9167e C:\Windows\system32\KERNEL32.DLL+00005758 ( BaseThreadInitThunk+000026 ) [ 77] 0x000007fba45bd609 C:\Windows\SYSTEM32\ntdll.dll+00382473 ( RtlUserThreadStart+000033 )

Answers (1)

Image Analyst
Image Analyst on 28 May 2013

Categories

Find more on Introduction to Installation and Licensing 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!