Matlab Crashing on startup

57 views (last 30 days)
Scott Wilson
Scott Wilson on 1 Aug 2016
Commented: yash vardhan on 28 Jun 2021
Hi, My matlab was running a few days ago, however has since stopped running on my machine. When i run the application, the matlab loading screen appears and then after a few seconds (when it is normally loaded), the program closes with no error. I have found the error crash report in my Appdata\Local\Temp files and have pasted it below. Any ideas on what has caused this and how to fix it?
I have tried uninstalling and reinstalling matlab, updated my graphics drivers, and changed the preference files in Appdata\Roaming\Mathworks
Any help is very much appreciated
Kind regards
Scott
------------------------------------------------------------------------
Access violation detected at Sun Jul 31 22:39:32 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Default Encoding : windows-1252
Host Name : MININT-CLCJMQ9
MATLAB Architecture : win64
MATLAB Root : E:\Scott\Programs\Matlab
MATLAB Version : 9.0.0.341360 (R2016a)
Operating System : Microsoft Windows 10 Pro
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 10586)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 0000000000000000 RBX = ffffffffffffffff
RCX = 000000003874fd98 RDX = 000000003874fd98
RSP = 00000000045fced0 RBP = 00007ff99fe80000
RSI = 00000000045fd4e0 RDI = 0000000000000000
R8 = 000000003846fd60 R9 = 0000000000000009
R10 = 0000000000000000 R11 = 0000000015cef820
R12 = 0000000000000000 R13 = 00007ff9d62a5030
R14 = 00007ff99fec83c0 R15 = 00007ff9d6298a18
RIP = 00007ff99ff42f2b EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ff99ff42f2b C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00798507 DllGetClassObject+00093755
[ 1] 0x00007ff99ff431e4 C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00799204 DllGetClassObject+00094452
[ 2] 0x00007ff99ff4f856 C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00850006 DllGetClassObject+00145254
[ 3] 0x00007ff99feac340 C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00181056 DrvDeviceCapabilities+00047488
[ 4] 0x00007ff99fea21bb C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00139707 DrvDeviceCapabilities+00006139
[ 5] 0x00007ff99feb5f6b C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00221035 DrvDeviceCapabilities+00087467
[ 6] 0x00007ff99fed000d C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00327693 DrvDocumentPropertySheets+00031821
[ 7] 0x00007ff99fec8440 C:\WINDOWS\system32\spool\DRIVERS\x64\3\hpb6sy2917_x64gui.dll+00296000 DrvDocumentPropertySheets+00000128
[ 8] 0x00007ff9d624c8bd C:\WINDOWS\SYSTEM32\WINSPOOL.DRV+00051389 DocumentPropertySheets+00000221
[ 9] 0x00007ff9d624c087 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV+00049287 DocumentPropertiesW+00002615
[ 10] 0x00007ff9d624b6d5 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV+00046805 DocumentPropertiesW+00000133
[ 11] 0x00007ff9dc67f0cd C:\WINDOWS\system32\COMDLG32.dll+00127181 PrintDlgW+00000989
[ 12] 0x00007ff9dc67ef73 C:\WINDOWS\system32\COMDLG32.dll+00126835 PrintDlgW+00000643
[ 13] 0x00007ff9dc67ee65 C:\WINDOWS\system32\COMDLG32.dll+00126565 PrintDlgW+00000373
[ 14] 0x00007ff9dc6addde C:\WINDOWS\system32\COMDLG32.dll+00318942 PrintDlgA+00000094
[ 15] 0x0000000018bdc44e E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00115790 UIW_get_printer_setup+00000366
[ 16] 0x0000000018bd7495 E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00095381 GetCommandHWND+00001349
[ 17] 0x0000000018bd8b04 E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00101124 GetCommandHWND+00007092
[ 18] 0x00007ff99e2487b6 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02525110
[ 19] 0x00007ff99e248400 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02524160
[ 20] 0x00007ff99e245cd2 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02514130
[ 21] 0x00007ff99e246054 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02515028
[ 22] 0x0000000018c4ca4e E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00576078 ws_destroy_ColortablePtr_wsd+00008878
[ 23] 0x00007ff9da9b1169 C:\WINDOWS\system32\USER32.dll+00069993 DispatchMessageW+00001673
[ 24] 0x00007ff9da9b0ee2 C:\WINDOWS\system32\USER32.dll+00069346 DispatchMessageW+00001026
[ 25] 0x00007ff9da9c347d C:\WINDOWS\system32\USER32.dll+00144509 RealGetWindowClassW+00000221
[ 26] 0x00007ff9dc878ba4 C:\WINDOWS\SYSTEM32\ntdll.dll+00691108 KiUserCallbackDispatcher+00000036
[ 27] 0x00007ff9da9d2fb4 C:\WINDOWS\system32\USER32.dll+00208820 UnhookWindowsHookEx+00000212
[ 28] 0x00007ff9da9abef0 C:\WINDOWS\system32\USER32.dll+00048880 CreateWindowExW+00002576
[ 29] 0x00007ff9da9ab728 C:\WINDOWS\system32\USER32.dll+00046888 CreateWindowExW+00000584
[ 30] 0x00007ff9da9c8d22 C:\WINDOWS\system32\USER32.dll+00167202 CreateWindowExA+00000130
[ 31] 0x00007ff99e24de10 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02547216
[ 32] 0x00007ff99e24678b E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02516875
[ 33] 0x00007ff99e25749e E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02585758
[ 34] 0x0000000018bd898d E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00100749 GetCommandHWND+00006717
[ 35] 0x00007ff99e1e86be E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02131646
[ 36] 0x00007ff99e1e7aa0 E:\Scott\Programs\Matlab\bin\win64\mfc120.dll+02128544
[ 37] 0x0000000018bea8f3 E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00174323 uiwSetPainting+00001667
[ 38] 0x0000000018bd5623 E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00087587 uiw_SimHandleToWinHandle+00018083
[ 39] 0x0000000018bd59ab E:\Scott\Programs\Matlab\bin\win64\uiw.dll+00088491 uiwSetupWindows+00000107
[ 40] 0x0000000015e9bdb0 E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00572848 mcr::mvm::detail::activateMcr+00005696
[ 41] 0x0000000015e8e76c E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00517996 mcr::unittest::is_lxe_mode+00001884
[ 42] 0x0000000015e5c9ac E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00313772 mcr_init_std_output+00003260
[ 43] 0x0000000015e4a33e E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00238398 mcr::runtime::setInterpreterThreadToCurrent+00027998
[ 44] 0x0000000015e41a05 E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00203269 mcr_process_events+00008629
[ 45] 0x0000000015e43462 E:\Scott\Programs\Matlab\bin\win64\mcr.dll+00210018 mcr_process_events+00015378
[ 46] 0x0000000015d893be E:\Scott\Programs\Matlab\bin\win64\MVMLocal.dll+00234430 mvm_server::inproc::LocalFactory::terminate+00071182
[ 47] 0x00000000fa93cd89 E:\Scott\Programs\Matlab\bin\win64\mvm.dll+01101193 mvm::detail::initLocalMvmHack+00000521
[ 48] 0x00000000fa93d355 E:\Scott\Programs\Matlab\bin\win64\mvm.dll+01102677 mvm::detail::SessionImpl::privateSession+00000373
[ 49] 0x00000000fa93d561 E:\Scott\Programs\Matlab\bin\win64\mvm.dll+01103201 mvm::detail::SessionImpl::privateSession+00000897
[ 50] 0x0000000140006fd5 E:\Scott\Programs\Matlab\bin\win64\MATLAB.exe+00028629
[ 51] 0x0000000140007661 E:\Scott\Programs\Matlab\bin\win64\MATLAB.exe+00030305
[ 52] 0x00007ff9da758102 C:\WINDOWS\system32\KERNEL32.DLL+00098562 BaseThreadInitThunk+00000034
[ 53] 0x00007ff9dc82c5b4 C:\WINDOWS\SYSTEM32\ntdll.dll+00378292 RtlUserThreadStart+00000052
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.
Thank you for your help.

Accepted Answer

Walter Roberson
Walter Roberson on 1 Aug 2016
  3 Comments
Abdlhafiz Oumer
Abdlhafiz Oumer on 28 Jan 2020
Yep
it worked !!! Never expected this was the issue!
I uninstalled and reinstalled many times! I was close to format my PC
Thanks
yash vardhan
yash vardhan on 28 Jun 2021
Thanks for the suggestion..
Same problem happened with me. Never expected such issue.

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 1 Aug 2016
I suggest tomorrow morning you do what both the error message and the FAQ say: submit a service request. Personally I'd call them rather than do it via the web or email.
  5 Comments
Walter Roberson
Walter Roberson on 2 Oct 2018
I am not positive but that trace would tend to suggest corrupted preferences to me.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!