MATLAB crashes trying to open a saved .fig file

5 visualizaciones (últimos 30 días)
Azadeh Sharafi
Azadeh Sharafi el 18 de Dic. de 2018
Comentada: Adam Danz el 30 de Jun. de 2021
I used the "tight_subplot" functionto draw 5 subplots and saved the figure as .fig. later on MATLAB crashed when I tried to open the figure by double clicking on the .fig file.
Here is the crash report:
MATLAB crash file:\AppData\Local\Temp\matlab_crash_dump.2960-1:
--------------------------------------------------------------------------------
Access violation detected at Tue Dec 18 09:31:20 2018 -0500
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : NVIDIA Corporation NVS 310/PCIe/SSE2 Version 4.5.0 NVIDIA 382.59
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA NVS 310 Version 22.21.13.8259 (2017-6-11)
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 1144771
MATLAB Root : C:\Program Files\MATLAB\R2018b
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Microsoft Windows 10 Enterprise
Process ID : 2960
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Session Key : 90b4fdb4-35c2-4df7-931b-812c3440b833
Window System : Version 10.0 (Build 15063)
Fault Count: 1
Abnormal termination
Register State (from fault):
RAX = 000000002a879f20 RBX = 0000000000000000
RCX = 0000000000000000 RDX = 0000000000000000
RSP = 00000000043ef9e0 RBP = 00000000043efad0
RSI = 0000000000000000 RDI = 0000000000000000
R8 = 000000000f8208d0 R9 = 0000000000000002
R10 = 00000000043efb00 R11 = 00000001ca3aff78
R12 = 000000000f8208d0 R13 = 00000000165308e0
R14 = 0000000000000000 R15 = 0000000000000000
RIP = 000000001466b637 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000000001466b637 bin\win64\mcos.dll+00112183 mcos::COSInterfacePtr::operator*+00000023
[ 1] 0x000000002a59fdc9 bin\win64\pgo\mcos_impl.dll+00392649
[ 2] 0x000000000edf26bd bin\win64\libmwchart.dll+00206525 scribe::TipDirectionType::isUp+00026621
[ 3] 0x000000000edf25f1 bin\win64\libmwchart.dll+00206321 scribe::TipDirectionType::isUp+00026417
[ 4] 0x000000000ee5532f bin\win64\libmwchart.dll+00611119 scribe::TipOrientationType::isTopright+00161087
[ 5] 0x000000002a5a3c60 bin\win64\pgo\mcos_impl.dll+00408672
[ 6] 0x000000002a5a3232 bin\win64\pgo\mcos_impl.dll+00406066
[ 7] 0x000000002a5a234b bin\win64\pgo\mcos_impl.dll+00402251
[ 8] 0x000000002a5a0d12 bin\win64\pgo\mcos_impl.dll+00396562
[ 9] 0x000000002a5f6f30 bin\win64\pgo\mcos_impl.dll+00749360
[ 10] 0x000000002a7f3585 bin\win64\pgo\mcos_impl.dll+02831749 mwboost::serialization::singleton_module::unlock+01534417
[ 11] 0x000000002a7fcf01 bin\win64\pgo\mcos_impl.dll+02871041 mwboost::serialization::singleton_module::unlock+01573709
[ 12] 0x0000000014673655 bin\win64\mcos.dll+00144981 omDirectCallMethod+00000069
[ 13] 0x000000001ad175c2 bin\win64\pgo\libmwlxeindexing.dll+00357826 MathWorks::lxe::MatrixModuleImplementation::SetHeterogeneousArray+00014702
[ 14] 0x000000001ad98936 bin\win64\pgo\libmwlxeindexing.dll+00887094 MathWorks::lxe::assign_paren_shared_xvalue_ptr_uninitialized_to_struct+00006890
[ 15] 0x000000001accc70f bin\win64\pgo\libmwlxeindexing.dll+00050959 MathWorks::lxe::at_rbrace_nargout+00006831
[ 16] 0x000000001accc70f bin\win64\pgo\libmwlxeindexing.dll+00050959 MathWorks::lxe::at_rbrace_nargout+00006831
[ 17] 0x000000001acd00ee bin\win64\pgo\libmwlxeindexing.dll+00065774 MathWorks::lxe::concatenate+00001810
[ 18] 0x000000001acd02ef bin\win64\pgo\libmwlxeindexing.dll+00066287 MathWorks::lxe::at_rparen+00000159
[ 19] 0x0000000018115c46 bin\win64\pgo\m_lxe.dll+02317382 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,std::vector<MathWorks::utl::attach_ptr<ir::IrTree>,std::allocator<MathWorks::utl::attach_ptr<ir::IrTree> > > >::load_object_data+00140922
[ 20] 0x000000001802fd3c bin\win64\pgo\m_lxe.dll+01375548 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00493568
[ 21] 0x000000001803091c bin\win64\pgo\m_lxe.dll+01378588 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00496608
[ 22] 0x0000000018031c92 bin\win64\pgo\m_lxe.dll+01383570 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501590
[ 23] 0x00000000180328f8 bin\win64\pgo\m_lxe.dll+01386744 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00504764
[ 24] 0x0000000018031ddf bin\win64\pgo\m_lxe.dll+01383903 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501923
[ 25] 0x0000000018031ede bin\win64\pgo\m_lxe.dll+01384158 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00502178
[ 26] 0x0000000017f39a7d bin\win64\pgo\m_lxe.dll+00367229
[ 27] 0x0000000017f4b265 bin\win64\pgo\m_lxe.dll+00438885
[ 28] 0x0000000017f4a88c bin\win64\pgo\m_lxe.dll+00436364
[ 29] 0x0000000017f49535 bin\win64\pgo\m_lxe.dll+00431413
[ 30] 0x0000000017f48f72 bin\win64\pgo\m_lxe.dll+00429938
[ 31] 0x0000000017f48a49 bin\win64\pgo\m_lxe.dll+00428617
[ 32] 0x00000000172ae007 bin\win64\pgo\m_dispatcher.dll+00057351 Mfh_file::dispatch_fh_impl+00001111
[ 33] 0x00000000172ada9e bin\win64\pgo\m_dispatcher.dll+00055966 Mfh_file::dispatch_fh+00000062
[ 34] 0x000000002a5a9d31 bin\win64\pgo\mcos_impl.dll+00433457
[ 35] 0x000000002a5a4826 bin\win64\pgo\mcos_impl.dll+00411686
[ 36] 0x000000002a5a347f bin\win64\pgo\mcos_impl.dll+00406655
[ 37] 0x000000002a5a234b bin\win64\pgo\mcos_impl.dll+00402251
[ 38] 0x000000002a5a0d12 bin\win64\pgo\mcos_impl.dll+00396562
[ 39] 0x000000002a59fb7d bin\win64\pgo\mcos_impl.dll+00392061
[ 40] 0x00000000146750d7 bin\win64\mcos.dll+00151767 omCallMethod+00000087
[ 41] 0x00000000fd3d0408 bin\win64\hgutils.dll+00656392 hgutils::MCOSMethodInvoker::invokeImpl+00000680
[ 42] 0x00000000fd3d0150 bin\win64\hgutils.dll+00655696 hgutils::MCOSMethodInvoker::invoke+00000032
[ 43] 0x0000000004a73420 bin\win64\handle_graphics.dll+02503712 graphics::primitive::world::SceneNode::testLegendDirty+00001632
[ 44] 0x0000000004a73707 bin\win64\handle_graphics.dll+02504455 graphics::primitive::world::SceneNode::update+00000343
[ 45] 0x000000000485da7c bin\win64\handle_graphics.dll+00318076 graphics::primitive::world::LightSource::operator=+00016236
[ 46] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 47] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 48] 0x000000000485dc9b bin\win64\handle_graphics.dll+00318619 graphics::primitive::world::LightSource::operator=+00016779
[ 49] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 50] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 51] 0x000000000485cdf0 bin\win64\handle_graphics.dll+00314864 graphics::primitive::world::LightSource::operator=+00013024
[ 52] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 53] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 54] 0x000000000485d240 bin\win64\handle_graphics.dll+00315968 graphics::primitive::world::LightSource::operator=+00014128
[ 55] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 56] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 57] 0x000000000485c63b bin\win64\handle_graphics.dll+00312891 graphics::primitive::world::LightSource::operator=+00011051
[ 58] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 59] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 60] 0x000000000485dc9b bin\win64\handle_graphics.dll+00318619 graphics::primitive::world::LightSource::operator=+00016779
[ 61] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 62] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 63] 0x000000000485dc9b bin\win64\handle_graphics.dll+00318619 graphics::primitive::world::LightSource::operator=+00016779
[ 64] 0x0000000004a64247 bin\win64\handle_graphics.dll+02441799 graphics::primitive::world::Group::visitChildren+00000407
[ 65] 0x000000000486e9ad bin\win64\handle_graphics.dll+00387501 hg::DownVisitor::traverse+00000109
[ 66] 0x000000000485dc9b bin\win64\handle_graphics.dll+00318619 graphics::primitive::world::LightSource::operator=+00016779
[ 67] 0x0000000004a8a598 bin\win64\handle_graphics.dll+02598296 graphics::primitive::canvas::Canvas::visitChildren+00000232
[ 68] 0x000000000486e91d bin\win64\handle_graphics.dll+00387357 hg::DownVisitor::traverse+00000109
[ 69] 0x000000000485c9c0 bin\win64\handle_graphics.dll+00313792 graphics::primitive::world::LightSource::operator=+00011952
[ 70] 0x0000000004a86ff4 bin\win64\handle_graphics.dll+02584564 graphics::primitive::canvas::Canvas::performUpdateTraversal+00000116
[ 71] 0x0000000004acd667 bin\win64\handle_graphics.dll+02872935 hg::test::NullUpdateState::setScreenResolution+00073287
[ 72] 0x0000000004a898f1 bin\win64\handle_graphics.dll+02595057 graphics::primitive::canvas::Canvas::updateImpl+00002545
[ 73] 0x0000000004a86866 bin\win64\handle_graphics.dll+02582630 graphics::primitive::canvas::Canvas::initiateUpdate+00000294
[ 74] 0x0000000004837f84 bin\win64\handle_graphics.dll+00163716 graphics::primitive::canvas::JavaCanvas::startUpdate+00000964
[ 75] 0x000000011176a1d6 bin\win64\hg.dll+02662870 UIClientComponentInterface::requestFocus+01675062
[ 76] 0x0000000111735c76 bin\win64\hg.dll+02448502 UIClientComponentInterface::requestFocus+01460694
[ 77] 0x00000001115b74f5 bin\win64\hg.dll+00881909 gbtutils::MixedModeFigure::operator=+00362021
[ 78] 0x0000000111769fa6 bin\win64\hg.dll+02662310 UIClientComponentInterface::requestFocus+01674502
[ 79] 0x00000001115176eb bin\win64\hg.dll+00227051 FigureButtonPressedObserver::keyPressed+00095787
[ 80] 0x0000000111735c4f bin\win64\hg.dll+02448463 UIClientComponentInterface::requestFocus+01460655
[ 81] 0x00000001115b74f5 bin\win64\hg.dll+00881909 gbtutils::MixedModeFigure::operator=+00362021
[ 82] 0x00000001115b72c1 bin\win64\hg.dll+00881345 gbtutils::MixedModeFigure::operator=+00361457
[ 83] 0x000000011170f8ac bin\win64\hg.dll+02291884 UIClientComponentInterface::requestFocus+01304076
[ 84] 0x00000001117115f1 bin\win64\hg.dll+02299377 UIClientComponentInterface::requestFocus+01311569
[ 85] 0x000000010022183e bin\win64\libmwservices.dll+02299966 svWS_CommitDatabaseUpdates+00000158
[ 86] 0x00000000fd3c0b3e bin\win64\hgutils.dll+00592702 hgutils::drawnow+00000254
[ 87] 0x000000002a5a3c60 bin\win64\pgo\mcos_impl.dll+00408672
[ 88] 0x000000002a5a3232 bin\win64\pgo\mcos_impl.dll+00406066
[ 89] 0x000000002a5a234b bin\win64\pgo\mcos_impl.dll+00402251
[ 90] 0x000000002a5a14ea bin\win64\pgo\mcos_impl.dll+00398570
[ 91] 0x000000002a5a8faa bin\win64\pgo\mcos_impl.dll+00429994
[ 92] 0x000000002a5a9081 bin\win64\pgo\mcos_impl.dll+00430209
[ 93] 0x000000002a5a1aba bin\win64\pgo\mcos_impl.dll+00400058
[ 94] 0x00000000172acbe7 bin\win64\pgo\m_dispatcher.dll+00052199 Mfh_MATLAB_fn_impl::dispatch_fh+00000343
[ 95] 0x0000000017f34ead bin\win64\pgo\m_lxe.dll+00347821
[ 96] 0x00000000180c62dc bin\win64\pgo\m_lxe.dll+01991388 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+01109408
[ 97] 0x00000000180c623a bin\win64\pgo\m_lxe.dll+01991226 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+01109246
[ 98] 0x00000000180c614d bin\win64\pgo\m_lxe.dll+01990989 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+01109009
[ 99] 0x000000001802fd3c bin\win64\pgo\m_lxe.dll+01375548 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00493568
[100] 0x000000001803091c bin\win64\pgo\m_lxe.dll+01378588 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00496608
[101] 0x0000000018031c92 bin\win64\pgo\m_lxe.dll+01383570 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501590
[102] 0x00000000180328f8 bin\win64\pgo\m_lxe.dll+01386744 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00504764
[103] 0x0000000018031ddf bin\win64\pgo\m_lxe.dll+01383903 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501923
[104] 0x0000000018031ede bin\win64\pgo\m_lxe.dll+01384158 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00502178
[105] 0x0000000017f39a7d bin\win64\pgo\m_lxe.dll+00367229
[106] 0x0000000017f4b265 bin\win64\pgo\m_lxe.dll+00438885
[107] 0x0000000017f48e26 bin\win64\pgo\m_lxe.dll+00429606
[108] 0x0000000017f48a24 bin\win64\pgo\m_lxe.dll+00428580
[109] 0x00000000172ae007 bin\win64\pgo\m_dispatcher.dll+00057351 Mfh_file::dispatch_fh_impl+00001111
[110] 0x00000000172adaf2 bin\win64\pgo\m_dispatcher.dll+00056050 Mfh_file::dispatch_fh_with_reuse+00000066
[111] 0x0000000017f3bc5d bin\win64\pgo\m_lxe.dll+00375901
[112] 0x0000000017f4478f bin\win64\pgo\m_lxe.dll+00411535
[113] 0x00000000180033a5 bin\win64\pgo\m_lxe.dll+01192869 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00310889
[114] 0x0000000017ccbab1 bin\win64\pgo\m_interpreter.dll+00047793 inFullFevalFcn+00000705
[115] 0x00000000172ab724 bin\win64\pgo\m_dispatcher.dll+00046884 Mdispatcher::getDispatcher+00002228
[116] 0x00000000172acbe7 bin\win64\pgo\m_dispatcher.dll+00052199 Mfh_MATLAB_fn_impl::dispatch_fh+00000343
[117] 0x0000000017f34ead bin\win64\pgo\m_lxe.dll+00347821
[118] 0x00000000180ce9b6 bin\win64\pgo\m_lxe.dll+02025910 MathWorks::lxe::ShutdownLxeEngine+00004034
[119] 0x000000001802fd3c bin\win64\pgo\m_lxe.dll+01375548 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00493568
[120] 0x000000001803091c bin\win64\pgo\m_lxe.dll+01378588 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00496608
[121] 0x0000000018031c92 bin\win64\pgo\m_lxe.dll+01383570 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501590
[122] 0x00000000180328f8 bin\win64\pgo\m_lxe.dll+01386744 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00504764
[123] 0x0000000018031ddf bin\win64\pgo\m_lxe.dll+01383903 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00501923
[124] 0x0000000018031ede bin\win64\pgo\m_lxe.dll+01384158 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,MathWorks::lxe::function_descriptor>::load_object_data+00502178
[125] 0x0000000017f39a7d bin\win64\pgo\m_lxe.dll+00367229
[126] 0x0000000017f4b265 bin\win64\pgo\m_lxe.dll+00438885
[127] 0x0000000017f4a88c bin\win64\pgo\m_lxe.dll+00436364
  6 comentarios
Azadeh Sharafi
Azadeh Sharafi el 29 de Jun. de 2021
Hi @Adam Danz, Thank you for your prompt response. in your code th input x is a 1xm cell array and each element of x is a matrix with n columns for n boxes per group. so each boxes are plot from a column , and the array length per each column is the number of rows.
here's the example. I have two groups, each has three boxes. so x would be a 1x2 cell array and each element is a 3xp matrix. but if I have data with unequal length , let's say
group 1: a,b,c
size(a)= 1x20;
size(b)= 1x30;
size(c) = 1x15
I cannot packed them into a 3 column matrix with p rows.
I hope the explanation is clear.
Adam Danz
Adam Danz el 30 de Jun. de 2021
> in your code th input x is a 1xm cell array and each element of x is a matrix with n columns for n boxes per group
The underlined section above is incorrect.
From the documentation, boxplotGroup(x) receives a 1xm cell array where each element is a matrix with n columns and produces n groups of boxplot boxes with m boxes per group.
From the first example within the example file, the following input is a 1x3 cell array and each element contains 4 column. That results in 4 groups with 3 members per group.
x = {rand(100,4), rand(20,4)*.8, rand(1000,4)+.2};
Maybe this illustration will help
>I have two groups, each has three boxes.
So your input will be a 1x3 cell array and each element will have 2 columns.
data = {[a, x], [b, y], [c, z]}
If a b and c have 20 30 and 15 element but x y z do not have 20 30 and 15 elements, you'll need to pad the shorter vectors with NaNs.

Iniciar sesión para comentar.

Respuestas (2)

Garry
Garry el 6 de Oct. de 2019
This is STILL not fixed. Pathetic. Clearly this has been going on now for 5 years.
  1 comentario
Steven Lord
Steven Lord el 6 de Oct. de 2019
You're assuming that the crash (I assume you're receiving a crash) is caused by the same problem that caused the crash last December. That's not necessarily the case.
Please send the crash log file and the figure file to Technical Support so they can investigate what's causing your MATLAB to crash and potentially how to fix the figure file and/or avoid the crash.

Iniciar sesión para comentar.


Azadeh Sharafi
Azadeh Sharafi el 7 de Oct. de 2019
I sent the error and figures to MathWorks technical support . It was a bug which is solved in 2019 version. I had data tips on the saved figures which caused the crash. It was fine without saving the data tip.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by