my matlab keeps crashing
235 views (last 30 days)
Show older comments
matlab keeps crashing when i run a specific code, this code works perfectly on other computers. my computer is not old or anything like that. i do not have eny errors in the code.
4 Comments
Image Analyst
on 10 Nov 2015
If MATLAB itself crashes and says that "MATLAB has encountered and internal error and needs to close", then you really need to read my answer below again.
Answers (2)
Image Analyst
on 7 Nov 2015
If it's MATLAB that's actually crashing, rather than your program throwing an error, see the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
0 Comments
Shameem Hasan
on 14 Oct 2018
How can I solve this crash problem and run my codes?
3 Comments
Walter Roberson
on 2 Nov 2022
The user's (2018) crash dumps all reported
Assertion in void __cdecl `anonymous-namespace'::mwJavaAbort(void) at b:\matlab\src\jmi\javainit.cpp line 1346:
[ 0] 0x000000001111462a C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\libmwfl.dll+00083498
and their hs_error_pid files all reported a java crash in
jogamp.nativewindow.windows.GDI.DescribePixelFormat1
This was a problem that happened to a number of people in different programs, in the 2017 / 2018 time frame.
According to one user, the key was to remove one of AMD driver management programs and install the driver manually; https://community.amd.com/t5/drivers-software/amd-driver-problem/td-p/474097
That fits in with the report at http://forum.salemthegame.com/viewtopic.php?f=10&t=6422 in which a user said that the AMD software was lying about the drivers being completely up to date, and that the problem was fixed for them by updating AMD graphics drivers.
@Patrick Vianello: @Image Analyst did provide an answer, above, namely to call Mathworks Support. The volunteers cannot be expected to debug Mathworks crashes -- we do not have access to the source code, and we probably do not run the same hardware and software combinations as the users that have the crash problems.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!