Clear Filters
Clear Filters

Matlab crushes when importing large point cloud in xyz

2 views (last 30 days)
I am running Matlab R2019b. When I import a large xyz point cloud from a file (just 3 fisrt columns) Matlab closes itslf with error bellow. I updated the drivers - so they display corrent versions but the error still happens - but after a longer time. The prcessor or intel graphic cart does not seem to be over used (the processor heats up but nothing critical).
but I do not see the anwser.
The computer I am running it on is a MSI gaming laptop with Windows 10
  1 Comment
Paulina Lewinska
Paulina Lewinska on 26 Jul 2021
ATLAB crash file:C:\Users\PL_LAP~1\AppData\Local\Temp\matlab_crash_dump.24040-1:
--------------------------------------------------------------------------------
Access violation detected at pt. lip 23 05:55:53 2021 +0200
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1250
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 530 Version 23.20.16.4982 (2018-3-8)
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 950M Version 27.21.14.6140 (2021-1-22)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 5652026
MATLAB Root : C:\Program Files\MATLAB\R2019b
MATLAB Version : 9.7.0.1261785 (R2019b) Update 3
OpenGL : hardware
Operating System : Microsoft Windows 10 Education
Process ID : 24040
Processor ID : x86 Family 6 Model 94 Stepping 3, GenuineIntel
Session Key : 93bbeb54-b48c-4829-9177-8a277792f90e
Window System : Version 10.0 (Build 19042)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 00000004616ea8a0 RBX = 0000000111ab8c60
RCX = 00000004616f7f90 RDX = fffffffff55b7f80
RSP = 00000000043f0518 RBP = 00000000043f06a0
RSI = 00000000b1c27080 RDI = 00000004616f8060
R8 = 0000000058e13830 R9 = 00000000009c7b1e
R10 = 00000004088d7060 R11 = 000000041331f0e0
R12 = 0000000111b14320 R13 = 0000000000000002
R14 = 000000000b1c2708 R15 = 00000000ed04d7c0
RIP = 00007fff0c44c67c EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007fff0c44c67c C:\Program Files\MATLAB\R2019b\bin\win64\VCRUNTIME140.dll+00050812 memmove+00000956
[ 1] 0x0000000060c41326 C:\Program Files\MATLAB\R2019b\bin\win64\dataread.dll+00070438
[ 2] 0x0000000060c4997d C:\Program Files\MATLAB\R2019b\bin\win64\dataread.dll+00104829
[ 3] 0x0000000060c31100 C:\Program Files\MATLAB\R2019b\bin\win64\dataread.dll+00004352
[ 4] 0x0000000060c111a8 C:\Program Files\MATLAB\R2019b\bin\win64\builtins\matlab_toolbox_iofun_builtins\mwdataread_builtinimpl.dll+00004520 us_set_bundle_context_instance_com_mathworks_dataread_builtinimpl+00000040
[ 5] 0x000000001bcbeb25 bin\win64\pgo\m_dispatcher.dll+00125733 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000137
[ 6] 0x000000001bcaed82 bin\win64\pgo\m_dispatcher.dll+00060802 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000770
[ 7] 0x000000001bcae1ad bin\win64\pgo\m_dispatcher.dll+00057773 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 8] 0x000000001ca522f5 bin\win64\pgo\m_lxe.dll+00598773 MathWorks::lxe::StartupLxeEngine+00429489
[ 9] 0x000000001caea39e bin\win64\pgo\m_lxe.dll+01221534 MathWorks::lxe::StartupLxeEngine+01052250
[ 10] 0x000000001caea21b bin\win64\pgo\m_lxe.dll+01221147 MathWorks::lxe::StartupLxeEngine+01051863
[ 11] 0x000000001ca5176c bin\win64\pgo\m_lxe.dll+00595820 MathWorks::lxe::StartupLxeEngine+00426536
[ 12] 0x000000001cb696e1 bin\win64\pgo\m_lxe.dll+01742561 MathWorks::lxe::StartupLxeEngine+01573277
[ 13] 0x000000001ca438bd bin\win64\pgo\m_lxe.dll+00538813 MathWorks::lxe::StartupLxeEngine+00369529
[ 14] 0x000000001ca45b3a bin\win64\pgo\m_lxe.dll+00547642 MathWorks::lxe::StartupLxeEngine+00378358
[ 15] 0x000000001ca46a2d bin\win64\pgo\m_lxe.dll+00551469 MathWorks::lxe::StartupLxeEngine+00382185
[ 16] 0x000000001ca4661f bin\win64\pgo\m_lxe.dll+00550431 MathWorks::lxe::StartupLxeEngine+00381147
[ 17] 0x000000001cb397f4 bin\win64\pgo\m_lxe.dll+01546228 MathWorks::lxe::StartupLxeEngine+01376944
[ 18] 0x000000001ca4f0fb bin\win64\pgo\m_lxe.dll+00585979 MathWorks::lxe::StartupLxeEngine+00416695
[ 19] 0x000000001ca44ec5 bin\win64\pgo\m_lxe.dll+00544453 MathWorks::lxe::StartupLxeEngine+00375169
[ 20] 0x000000001ca43fdc bin\win64\pgo\m_lxe.dll+00540636 MathWorks::lxe::StartupLxeEngine+00371352
[ 21] 0x000000001ca1799b bin\win64\pgo\m_lxe.dll+00358811 MathWorks::lxe::StartupLxeEngine+00189527
[ 22] 0x000000001e4750c4 bin\win64\pgo\m_lxe.dll+28004548 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00086776
[ 23] 0x000000001e473a29 bin\win64\pgo\m_lxe.dll+27998761 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00080989
[ 24] 0x000000001e4a37f7 bin\win64\pgo\m_lxe.dll+28194807 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00277035
[ 25] 0x000000001e4eb318 bin\win64\pgo\m_lxe.dll+28488472 FeatureTestObservableWorkspace+00036480
[ 26] 0x00000000f96daeda C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00306906 structuredoutput::hasExternalEventListeners+00031706
[ 27] 0x00000000f96db0e3 C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00307427 structuredoutput::hasExternalEventListeners+00032227
[ 28] 0x00000000f969f0d6 C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00061654 mwboost::serialization::singleton_module::unlock+00007462
[ 29] 0x00000000f969f22b C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00061995 mwboost::serialization::singleton_module::unlock+00007803
[ 30] 0x00000000f96dfd4d C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00326989 structuredoutput::hasExternalEventListeners+00051789
[ 31] 0x00000000f96e1bbb C:\Program Files\MATLAB\R2019b\bin\win64\structuredoutput.dll+00334779 structuredoutput::hasExternalEventListeners+00059579
[ 32] 0x000000002ce6dd4e bin\win64\pgo\mcos_impl.dll+00384334
[ 33] 0x000000002ce6d2a5 bin\win64\pgo\mcos_impl.dll+00381605
[ 34] 0x000000002ce6cf47 bin\win64\pgo\mcos_impl.dll+00380743
[ 35] 0x000000002ceb5f1e bin\win64\pgo\mcos_impl.dll+00679710
[ 36] 0x000000002ceb5d20 bin\win64\pgo\mcos_impl.dll+00679200
[ 37] 0x000000002d0dbfc5 bin\win64\pgo\mcos_impl.dll+02932677 mwboost::serialization::singleton_module::unlock+01625877
[ 38] 0x000000002d0e9d31 bin\win64\pgo\mcos_impl.dll+02989361 mwboost::serialization::singleton_module::unlock+01682561
[ 39] 0x0000000015285195 bin\win64\mcos.dll+00151957 omDirectCallMethod+00000069
[ 40] 0x000000001fbfafc6 bin\win64\pgo\libmwlxeindexing.dll+00372678 MathWorks::lxe::MatrixModuleImplementation::SetHeterogeneousArray+00013846
[ 41] 0x000000001fc79cb2 bin\win64\pgo\libmwlxeindexing.dll+00892082 MathWorks::lxe::assign_paren_shared_xvalue_ptr_uninitialized_to_struct+00007118
[ 42] 0x000000001fba5067 bin\win64\pgo\libmwlxeindexing.dll+00020583 MathWorks::lxe::at_rparen+00000715
[ 43] 0x000000001fba5067 bin\win64\pgo\libmwlxeindexing.dll+00020583 MathWorks::lxe::at_rparen+00000715
[ 44] 0x000000001fc1232b bin\win64\pgo\libmwlxeindexing.dll+00467755 MathWorks::lxe::DereferenceRplaceToXvalueZeroOutputs+00000035
[ 45] 0x000000001fbeba1d bin\win64\pgo\libmwlxeindexing.dll+00309789 MathWorks::lxe::at_rparen0+00000377
[ 46] 0x000000001ca5176c bin\win64\pgo\m_lxe.dll+00595820 MathWorks::lxe::StartupLxeEngine+00426536
[ 47] 0x000000001e5d2851 bin\win64\pgo\m_lxe.dll+29435985 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00664841
[ 48] 0x000000001ca438bd bin\win64\pgo\m_lxe.dll+00538813 MathWorks::lxe::StartupLxeEngine+00369529
[ 49] 0x000000001ca45b3a bin\win64\pgo\m_lxe.dll+00547642 MathWorks::lxe::StartupLxeEngine+00378358
[ 50] 0x000000001ca46a2d bin\win64\pgo\m_lxe.dll+00551469 MathWorks::lxe::StartupLxeEngine+00382185
[ 51] 0x000000001ca4661f bin\win64\pgo\m_lxe.dll+00550431 MathWorks::lxe::StartupLxeEngine+00381147
[ 52] 0x000000001cb397f4 bin\win64\pgo\m_lxe.dll+01546228 MathWorks::lxe::StartupLxeEngine+01376944
[ 53] 0x000000001ca4f0fb bin\win64\pgo\m_lxe.dll+00585979 MathWorks::lxe::StartupLxeEngine+00416695
[ 54] 0x000000001ca44ec5 bin\win64\pgo\m_lxe.dll+00544453 MathWorks::lxe::StartupLxeEngine+00375169
[ 55] 0x000000001ca43fdc bin\win64\pgo\m_lxe.dll+00540636 MathWorks::lxe::StartupLxeEngine+00371352
[ 56] 0x000000001c9f5271 bin\win64\pgo\m_lxe.dll+00217713 MathWorks::lxe::StartupLxeEngine+00048429
[ 57] 0x000000001ca43de0 bin\win64\pgo\m_lxe.dll+00540128 MathWorks::lxe::StartupLxeEngine+00370844
[ 58] 0x000000001cb6e109 bin\win64\pgo\m_lxe.dll+01761545 MathWorks::lxe::StartupLxeEngine+01592261
[ 59] 0x000000001bcb15d7 bin\win64\pgo\m_dispatcher.dll+00071127 mdWhichInfo::find+00000787
[ 60] 0x000000001bcb2065 bin\win64\pgo\m_dispatcher.dll+00073829 Mfh_file::dispatch+00000045
[ 61] 0x000000002ce8fe6d bin\win64\pgo\mcos_impl.dll+00523885
[ 62] 0x000000002ce8f7e6 bin\win64\pgo\mcos_impl.dll+00522214
[ 63] 0x000000002ce6d4f3 bin\win64\pgo\mcos_impl.dll+00382195
[ 64] 0x000000002ce6cf47 bin\win64\pgo\mcos_impl.dll+00380743
[ 65] 0x000000002ce7172a bin\win64\pgo\mcos_impl.dll+00399146
[ 66] 0x000000002ce7144a bin\win64\pgo\mcos_impl.dll+00398410
[ 67] 0x000000002ce713a8 bin\win64\pgo\mcos_impl.dll+00398248
[ 68] 0x000000002ce714ca bin\win64\pgo\mcos_impl.dll+00398538
[ 69] 0x000000001bcb107c bin\win64\pgo\m_dispatcher.dll+00069756 mdWhichInfo::fill_hidden_and_non_contextual+00004172
[ 70] 0x000000001bcb1259 bin\win64\pgo\m_dispatcher.dll+00070233 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 71] 0x000000001ca533fb bin\win64\pgo\m_lxe.dll+00603131 MathWorks::lxe::StartupLxeEngine+00433847
[ 72] 0x000000001ca507c2 bin\win64\pgo\m_lxe.dll+00591810 MathWorks::lxe::StartupLxeEngine+00422526
[ 73] 0x000000001caea731 bin\win64\pgo\m_lxe.dll+01222449 MathWorks::lxe::StartupLxeEngine+01053165
[ 74] 0x000000001caea5eb bin\win64\pgo\m_lxe.dll+01222123 MathWorks::lxe::StartupLxeEngine+01052839
[ 75] 0x000000001caea547 bin\win64\pgo\m_lxe.dll+01221959 MathWorks::lxe::StartupLxeEngine+01052675
[ 76] 0x000000001caea49f bin\win64\pgo\m_lxe.dll+01221791 MathWorks::lxe::StartupLxeEngine+01052507
[ 77] 0x000000001ca5176c bin\win64\pgo\m_lxe.dll+00595820 MathWorks::lxe::StartupLxeEngine+00426536
[ 78] 0x000000001cb674b5 bin\win64\pgo\m_lxe.dll+01733813 MathWorks::lxe::StartupLxeEngine+01564529
[ 79] 0x000000001ca438bd bin\win64\pgo\m_lxe.dll+00538813 MathWorks::lxe::StartupLxeEngine+00369529
[ 80] 0x000000001ca45b3a bin\win64\pgo\m_lxe.dll+00547642 MathWorks::lxe::StartupLxeEngine+00378358
[ 81] 0x000000001ca46a2d bin\win64\pgo\m_lxe.dll+00551469 MathWorks::lxe::StartupLxeEngine+00382185
[ 82] 0x000000001ca4661f bin\win64\pgo\m_lxe.dll+00550431 MathWorks::lxe::StartupLxeEngine+00381147
[ 83] 0x000000001cb397f4 bin\win64\pgo\m_lxe.dll+01546228 MathWorks::lxe::StartupLxeEngine+01376944
[ 84] 0x000000001ca4f0fb bin\win64\pgo\m_lxe.dll+00585979 MathWorks::lxe::StartupLxeEngine+00416695
[ 85] 0x000000001ca44ec5 bin\win64\pgo\m_lxe.dll+00544453 MathWorks::lxe::StartupLxeEngine+00375169
[ 86] 0x000000001ca43fdc bin\win64\pgo\m_lxe.dll+00540636 MathWorks::lxe::StartupLxeEngine+00371352
[ 87] 0x000000001c9f5271 bin\win64\pgo\m_lxe.dll+00217713 MathWorks::lxe::StartupLxeEngine+00048429
[ 88] 0x000000001ca43de0 bin\win64\pgo\m_lxe.dll+00540128 MathWorks::lxe::StartupLxeEngine+00370844
[ 89] 0x000000001cb6e109 bin\win64\pgo\m_lxe.dll+01761545 MathWorks::lxe::StartupLxeEngine+01592261
[ 90] 0x000000001bcb15d7 bin\win64\pgo\m_dispatcher.dll+00071127 mdWhichInfo::find+00000787
[ 91] 0x000000001bcb2065 bin\win64\pgo\m_dispatcher.dll+00073829 Mfh_file::dispatch+00000045
[ 92] 0x000000002ce8fe6d bin\win64\pgo\mcos_impl.dll+00523885
[ 93] 0x000000002ce8f7e6 bin\win64\pgo\mcos_impl.dll+00522214
[ 94] 0x000000002ce6d4f3 bin\win64\pgo\mcos_impl.dll+00382195
[ 95] 0x000000002ce6cf47 bin\win64\pgo\mcos_impl.dll+00380743
[ 96] 0x000000002ce7172a bin\win64\pgo\mcos_impl.dll+00399146
[ 97] 0x000000002ce7144a bin\win64\pgo\mcos_impl.dll+00398410
[ 98] 0x000000002ce713a8 bin\win64\pgo\mcos_impl.dll+00398248
[ 99] 0x000000002ce714ca bin\win64\pgo\mcos_impl.dll+00398538
[100] 0x000000001bcb107c bin\win64\pgo\m_dispatcher.dll+00069756 mdWhichInfo::fill_hidden_and_non_contextual+00004172
[101] 0x000000001bcb1259 bin\win64\pgo\m_dispatcher.dll+00070233 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[102] 0x000000001ca5287c bin\win64\pgo\m_lxe.dll+00600188 MathWorks::lxe::StartupLxeEngine+00430904
[103] 0x000000001ca55c4b bin\win64\pgo\m_lxe.dll+00613451 MathWorks::lxe::StartupLxeEngine+00444167
[104] 0x000000001ca79762 bin\win64\pgo\m_lxe.dll+00759650 MathWorks::lxe::StartupLxeEngine+00590366
[105] 0x000000001ca79618 bin\win64\pgo\m_lxe.dll+00759320 MathWorks::lxe::StartupLxeEngine+00590036
[106] 0x000000001cbc44f6 bin\win64\pgo\m_lxe.dll+02114806 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00144074
[107] 0x000000001cbc449d bin\win64\pgo\m_lxe.dll+02114717 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00143985
[108] 0x000000001cbc4424 bin\win64\pgo\m_lxe.dll+02114596 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00143864
[109] 0x000000001c54647b bin\win64\pgo\m_interpreter.dll+00091259 inCallFcnWithTrapInDesiredWSAndPublishEvents+00000095
[110] 0x00000000fd00c762 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00509794 iqm::BaseFEvalPlugin::inCallFcnWithTrap+00000066
[111] 0x00000000fd00c177 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00508279 iqm::BaseFEvalPlugin::execute+00000343
[112] 0x00000000fd00c002 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00507906 iqm::FEvalPlugin<cmddistributor::FEvalIIP>::execute+00000018
[113] 0x000000001b9f352e C:\Program Files\MATLAB\R2019b\bin\win64\mcr.dll+00537902 mcr::runtime::setInterpreterThreadSingletonToCurrent+00187694
[114] 0x00000000fd015863 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00546915 iqm::DelegateToAnotherIqmPlugin::execute+00000019
[115] 0x00000000fb0a226d C:\Program Files\MATLAB\R2019b\bin\win64\jmi.dll+00795245 LoadJAWTLibrary+00011341
[116] 0x00000000fcffca21 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00444961 iqm::Iqm::setupIqmFcnPtrs+00101969
[117] 0x00000000fcfd2ade C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00273118 iqm::Iqm::create+00005102
[118] 0x00000000fb607500 C:\Program Files\MATLAB\R2019b\bin\win64\libmwbridge.dll+00095488 ioReadLine+00000848
[119] 0x00000000fb6072da C:\Program Files\MATLAB\R2019b\bin\win64\libmwbridge.dll+00094938 ioReadLine+00000298
[120] 0x00000000fb61abbd C:\Program Files\MATLAB\R2019b\bin\win64\libmwbridge.dll+00175037 mnDebugPrompt+00001933
[121] 0x00000000fb61a567 C:\Program Files\MATLAB\R2019b\bin\win64\libmwbridge.dll+00173415 mnDebugPrompt+00000311
[122] 0x00000000fb61aeda C:\Program Files\MATLAB\R2019b\bin\win64\libmwbridge.dll+00175834 mnParser+00000506
[123] 0x000000001ba4d5f7 C:\Program Files\MATLAB\R2019b\bin\win64\mcr.dll+00906743 mcrInstance::releaseThread+00002647
[124] 0x000000001b98a0ca C:\Program Files\MATLAB\R2019b\bin\win64\mcr.dll+00106698 mcrOptions::set_use_license_manager+00068938
[125] 0x000000001b9aa334 C:\Program Files\MATLAB\R2019b\bin\win64\mcr.dll+00238388 mcrOptions::set_use_license_manager+00200628
[126] 0x00000000fd02047e C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00590974 iqm::PackagedTaskPlugin::execute+00000878
[127] 0x00000000fd020303 C:\Program Files\MATLAB\R2019b\bin\win64\iqm.dll+00590595 iqm::PackagedTaskPlugin::execute+00000499

Sign in to comment.

Answers (1)

Ayush Modi
Ayush Modi on 19 Apr 2024
Hi Paulina,
I am also encountering a similar issue that you have mentioned and received the same stack trace. I was able to resolve the issue by replacing the "textread" function to "textscan" function for reading large files, as suggested in the MathWorks documentation.
Please refer to the following MathWorks documentation for more information on the "textscan" function:

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!