You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "sgilmore10 (via GitHub)" <gi...@apache.org> on 2024/06/06 14:32:23 UTC
[I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
sgilmore10 opened a new issue, #42015:
URL: https://github.com/apache/arrow/issues/42015
### Describe the bug, including details regarding any error messages, version, and platform.
After syncing `mathworks/arrow:main` branch to be up to date with apache/arrow:main`, the MATLAB GitHub Action now crashes when executing `tfeather.m` on Windows.
Here's the stack trace:
```
--------------------------------------------------------------------------------
Access violation detected at 2024-06-06 14:07:37 +0000
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized software
Graphics card 1 : Microsoft ( 0x0 ) Microsoft Hyper-V Video Version 10.0.20348.1 (2006-6-21)
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 : 11174667
MATLAB Root : D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64
MATLAB Version : 24.1.0.2603908 (R2024a) Update 3
OpenGL : software
Operating System : Microsoft Windows Server 2022 Datacenter
Process ID : 2440
Processor ID : x86 Family 25 Model 1 Stepping 1, AuthenticAMD
Session Key : f82730dc-7c01-4341-92d1-4b40d7e9a0ba
Window System : Version 10.0 (Build 20348)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 4596
Register State (from fault):
RAX = 0000000000000000 RBX = 000001d2e6896ef8
RCX = 000001d2e6896f00 RDX = 0000000000000000
RSP = 000000713b9ec1f0 RBP = 000000713b9ec2a9
RSI = 000001d2e6896ef8 RDI = 000000713b9ec[38](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:40)0
R8 = 00007ffde534e5c0 R9 = 0000000000000004
R10 = 0000000000000000 R11 = 000000713b9ec860
R12 = 000000713b9edf00 R13 = 0000000000000004
R14 = 0000000000000000 R15 = 000001d2e6896f40
RIP = 00007ffe1bdd2f58 EFL = 00010282
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffe1bdd2f58 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\MSVCP140.dll+00077656 Thrd_yield+00000184
[ 1] 0x00007ffde50ad0fa D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrow.dll+03[39](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:41)5834 arrow::io::MemoryMappedFile::Write+00000474
[ 2] 0x00007ffde50acf12 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrow.dll+03395346 arrow::io::FileOutputStream::Write+00000018
[ 3] 0x00007ffde50d21df D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrow.dll+03547615 arrow::SparseCOOIndex::ValidateShape+00005695
[ 4] 0x00007ffde50d14f2 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrow.dll+03544306 arrow::SparseCOOIndex::ValidateShape+00002386
[ 5] 0x00007ffde50d23d7 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrow.dll+03548119 arrow::ipc::feather::WriteTable+00000071
[ 6] 0x00007ffde560110a D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00856330 arrow::matlab::io::feather::proxy::Writer::write+00001754
[ 7] 0x00007ffde5602bfc D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00863228 std::invoke<void (__cdecl arrow::matlab::io::feather::proxy::Writer::*&)(libmexclass::proxy::method::Context &),arrow::matlab::io::feather::proxy::Writer * &,libmexclass::proxy::method::Context &>+00000060
[ 8] 0x00007ffde5602138 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00860472 std::_Invoker_ret<std::_Unforced>::_Call<void (__cdecl arrow::matlab::io::feather::proxy::Writer::*&)(libmexclass::proxy::method::Context &),arrow::matlab::io::feather::proxy::Writer * &,libmexclass::proxy::method::Context &>+000000[40](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:42)
[ 9] 0x00007ffde56021e5 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00860645 std::_Call_binder<std::_Unforced,0,1,void (__cdecl arrow::matlab::io::feather::proxy::Writer::*)(libmexclass::proxy::method::Context &),std::tuple<arrow::matlab::io::feather::proxy::Writer *,std::_Ph<1> >,std::tuple<libmexclass::proxy::method::Context &> >+00000149
[ 10] 0x00007ffde560203d D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00860221 std::_Binder<std::_Unforced,void (__cdecl arrow::matlab::io::feather::proxy::Writer::*)(libmexclass::proxy::method::Context &),arrow::matlab::io::feather::proxy::Writer *,std::_Ph<1> const &>::operator()<libmexclass::proxy::method::Context &,0>+00000173
[ 11] 0x00007ffde5602c3e D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00863294 std::invoke<std::_Binder<std::_Unforced,void (__cdecl arrow::matlab::io::feather::proxy::Writer::*)(libmexclass::proxy::method::Context &),arrow::matlab::io::feather::proxy::Writer *,std::_Ph<1> const &> &,libmexclass::proxy::method::Context &>+00000030
[ 12] 0x00007ffde5603e1a D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\arrowproxy.dll+00867866 std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl arrow::matlab::io::feather::proxy::Writer::*)(libmexclass::proxy::method::Context &),arrow::matlab::io::feather::proxy::Writer *,std::_Ph<1> const &>,void,libmexclass::proxy::method::Context &>::_Do_call+00000042
[ 13] 0x00007ffde592ac53 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\mexclass.dll+00109651 std::_Func_class<void,libmexclass::proxy::method::Context &>::operator()+00000099
[ 14] 0x00007ffde5929327 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\mexclass.dll+00103207 libmexclass::proxy::Proxy::invoke+00000087
[ 15] 0x00007ffde5927c25 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\mexclass.dll+00097317 libmexclass::action::MethodCall::execute+00000565
[ 16] 0x00007ffde59bff96 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\gateway.mexw64+00130966 libmexclass::mex::gateway<arrow::matlab::proxy::Factory>+00000406
[ 17] 0x00007ffde59e0775 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\gateway.mexw64+00264053 MexFunction::operator()+00000197
[ 18] 0x00007ffde59aca00 D:\a\arrow\arrow\matlab\install\arrow_matlab\+libmexclass\+proxy\gateway.mexw64+00051712 mexFunctionAdapter+00000464
[ 19] 0x00007ffe10c3a63e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmex.dll+00697918 MexRetrieveVersion+00008862
[ 20] 0x00007ffe10c3aa38 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmex.dll+00698936 MexRetrieveVersion+00009880
[ 21] 0x00007ffe10c1c788 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmex.dll+00575368 mexUnlock+00018024
[ 22] 0x00007ffe113c75b8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209784 Mfh_file::dispatch_file_common+00000152
[ 23] 0x00007ffe113c617a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01204602 Mfh_error::lookup+00011498
[ 24] 0x00007ffe113c74cd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209549 Mfh_file::dispatch+00000045
[ 25] 0x00007ffdf3fbf5d9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04060633 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00317529
[ 26] 0x00007ffdf3ee4a07 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03164679 mcos::heterogeneous::mcosIsHeterogeneousArray+00050327
[ 27] 0x00007ffdf3ee4fa1 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03166113 mcos::heterogeneous::mcosIsHeterogeneousArray+00051761
[ 28] 0x00007ffdf3ee543f D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03167295 mcos::heterogeneous::mcosIsHeterogeneousArray+00052943
[ 29] 0x00007ffdf3ee929e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03183262 mcos::heterogeneous::mcosIsHeterogeneousArray+00068910
[ 30] 0x00007ffdf3ffd746 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04314950 namedArgsToCell+00000870
[ 31] 0x00007ffdf[41](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:43)07a3a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+054052[42](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:44) musBeA+00338634
[ 32] 0x00007ffdf4105746 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+05396294 musBeA+00329686
[ 33] 0x00007ffe112acbfb D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+00052219
[ 34] 0x00007ffe112cdedd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+00188125 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 35] 0x00007ffe106c7a7d D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00424573 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00311741
[ 36] 0x00007ffe106d6e3e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00486974 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00374142
[ 37] 0x00007ffe03151746 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+06231878 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006966
[ 38] 0x00007ffe0314c559 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+06210905 MathWorks::lxe::LXEConstants::NewIrMacro+00008633
[ 39] 0x00007ffe0315[43](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:45)5a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+06243162 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00018250
[ 40] 0x00007ffe03082d58 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05385560 MathWorks::lxe::function_handle::invoke_with_adaptor+00016024
[ 41] 0x00007ffe030a1a69 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05511785 MathWorks::lxe::function_handle::invoke_with_adaptor+00142249
[ 42] 0x00007ffe02f53277 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04141687 MathWorks::lxe::GetTag+00006727
[ 43] 0x00007ffe02f3d0b4 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04051124 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00042340
[ [44](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:46)] 0x00007ffe02f412d5 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04068053 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059269
[ [45](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:47)] 0x00007ffe107c7c06 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+01473542 FeatureTestObservableWorkspace+00211910
[ [46](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:48)] 0x00007ffe106bf77e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00391038 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278206
[ [47](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:49)] 0x00007ffe106bf50c D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00390412 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00277580
[ [48](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:50)] 0x00007ffe106c2012 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00401426 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288594
[ [49](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:51)] 0x00007ffe113c75b8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209784 Mfh_file::dispatch_file_common+00000152
[ [50](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:52)] 0x00007ffe113c617a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01204602 Mfh_error::lookup+00011498
[ [51](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:53)] 0x00007ffe113c74cd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209549 Mfh_file::dispatch+00000045
[ [52](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:54)] 0x00007ffdf3fbf5d9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04060633 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00317529
[ [53](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:55)] 0x00007ffdf3ee4a07 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03164679 mcos::heterogeneous::mcosIsHeterogeneousArray+00050327
[ [54](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:56)] 0x00007ffdf3ee4fa1 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03166113 mcos::heterogeneous::mcosIsHeterogeneousArray+00051761
[ [55](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:57)] 0x00007ffdf3ee543f D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03167295 mcos::heterogeneous::mcosIsHeterogeneousArray+00052943
[ [56](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:58)] 0x00007ffdf3ee8e20 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03182112 mcos::heterogeneous::mcosIsHeterogeneousArray+00067760
[ [57](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:59)] 0x00007ffdf3ee9116 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03182870 mcos::heterogeneous::mcosIsHeterogeneousArray+00068518
[ [58](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:60)] 0x00007ffdf3fff96d D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04323693 namedArgsToCell+00009613
[ [59](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:61)] 0x00007ffdf4019851 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04429905 updateClassAlias+00062129
[ [60](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:62)] 0x00007ffe142f33a8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos.dll+00144296 omDirectCallMethod+00000072
[ [61](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:63)] 0x00007ffe05f3ee35 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+00716341 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00029925
[ [62](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:64)] 0x00007ffe05f3db14 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+00711444 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00025028
[ [63](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:65)] 0x00007ffe05f423dd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x[64](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:66)\bin\win64\libmwlxeindexing.dll+00730077 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00043661
[ 64] 0x00007ffe05f9f285 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+01110661 MathWorks::lxe::at_rparen_nargout_mcos_method_rplace+00000149
[ [65](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:67)] 0x00007ffe03082d08 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05385480 MathWorks::lxe::function_handle::invoke_with_adaptor+00015944
[ [66](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:68)] 0x00007ffe030918b9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05445817 MathWorks::lxe::function_handle::invoke_with_adaptor+00076281
[ [67](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:69)] 0x00007ffe02e4837b D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03048315 MathWorks::lxe::LXEConstants::IsIfElse+00533291
[ [68](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:70)] 0x00007ffe02e4c4a2 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03064994 MathWorks::lxe::LXEConstants::IsY+00011986
[ [69](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:71)] 0x00007ffe02e49ce3 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03054819 MathWorks::lxe::LXEConstants::IsY+00001811
[ [70](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:72)] 0x00007ffe02e4d585 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03069317 MathWorks::lxe::LXEConstants::IsY+00016309
[ [71](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:73)] 0x00007ffe02e4d833 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03070003 MathWorks::lxe::LXEConstants::IsY+00016995
[ [72](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:74)] 0x00007ffe02e4d19e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03068318 MathWorks::lxe::LXEConstants::IsY+00015310
[ [73](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:75)] 0x00007ffe02e49426 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03052582 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000262
[ [74](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:76)] 0x00007ffe02f3da5a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04053594 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044810
[ [75](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:77)] 0x00007ffe02f412d5 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04068053 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059269
[ [76](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:78)] 0x00007ffe107c7c06 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+01473542 FeatureTestObservableWorkspace+00211910
[ [77](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:79)] 0x00007ffe106bf77e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00391038 mwboost::archive::codecvt_null<wchar_t>::do_max_length+002[78](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:80)206
[ 78] 0x00007ffe106bf50c D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00390412 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00277580
[ [79](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:81)] 0x00007ffe106c2012 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00401426 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288594
[ [80](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:82)] 0x00007ffe113c75b8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209784 Mfh_file::dispatch_file_common+00000152
[ [81](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:83)] 0x00007ffe113c617a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01204602 Mfh_error::lookup+00011498
[ [82](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:84)] 0x00007ffe113c74cd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209549 Mfh_file::dispatch+00000045
[ [83](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:85)] 0x00007ffdf3fbf5d9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04060633 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00317529
[ [84](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:86)] 0x00007ffdf3ee4a07 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03164679 mcos::heterogeneous::mcosIsHeterogeneousArray+00050327
[ [85](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:87)] 0x00007ffdf3ee4fa1 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03166113 mcos::heterogeneous::mcosIsHeterogeneousArray+00051761
[ [86](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:88)] 0x00007ffdf3ee543f D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03167295 mcos::heterogeneous::mcosIsHeterogeneousArray+00052943
[ [87](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:89)] 0x00007ffdf3ee8e20 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03182112 mcos::heterogeneous::mcosIsHeterogeneousArray+00067760
[ [88](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:90)] 0x00007ffdf3ee9116 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+03182870 mcos::heterogeneous::mcosIsHeterogeneousArray+00068518
[ [89](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:91)] 0x00007ffdf3fff96d D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04323693 namedArgsToCell+00009613
[ 90] 0x00007ffdf4019851 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos_impl.dll+04429[90](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:92)5 updateClassAlias+00062129
[ 91] 0x00007ffe142f33a8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\mcos.dll+00144296 omDirectCallMethod+00000072
[ 92] 0x00007ffe05f3ee35 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+00716341 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00029925
[ 93] 0x00007ffe05f3db14 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+00711444 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00025028
[ 94] 0x00007ffe05f423dd D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+00730077 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00043661
[ 95] 0x00007ffe05f9f285 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxeindexing.dll+01110661 MathWorks::lxe::at_rparen_nargout_mcos_method_rplace+00000149
[ 96] 0x00007ffe03082d08 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05385480 MathWorks::lxe::function_handle::invoke_with_adaptor+00015944
[ 97] 0x00007ffe030[91](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:93)8b9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05445817 MathWorks::lxe::function_handle::invoke_with_adaptor+00076281
[ 98] 0x00007ffe02e4837b D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03048315 MathWorks::lxe::LXEConstants::IsIfElse+00533291
[ 99] 0x00007ffe02e4c4a2 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03064994 MathWorks::lxe::LXEConstants::IsY+00011986
[100] 0x00007ffe02e49ce3 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03054819 MathWorks::lxe::LXEConstants::IsY+00001811
[101] 0x00007ffe02e4d585 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03069317 MathWorks::lxe::LXEConstants::IsY+00016309
[102] 0x00007ffe02e4d833 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03070003 MathWorks::lxe::LXEConstants::IsY+00016995
[103] 0x00007ffe02e4d19e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03068318 MathWorks::lxe::LXEConstants::IsY+00015310
[104] 0x00007ffe02e49426 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03052582 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000262
[105] 0x00007ffe02f3da5a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04053594 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044810
[106] 0x00007ffe02f412d5 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+04068053 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+0005[92](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:94)69
[107] 0x00007ffe107c7c06 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+01473542 FeatureTestObservableWorkspace+00211910
[108] 0x00007ffe106bfdb3 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00392627 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279795
[109] 0x00007ffe106bf513 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00390419 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00277587
[110] 0x00007ffe106c2012 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00401426 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288594
[111] 0x00007ffe113c75b8 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209784 Mfh_file::dispatch_file_common+00000152
[112] 0x00007ffe113c64cb D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01205451 Mfh_error::lookup+00012347
[113] 0x00007ffe113c750d D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_dispatcher.dll+01209613 Mfh_file::dispatch+00000045
[114] 0x00007ffe106c7a7d D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00424573 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00311741
[115] 0x00007ffe106d6e3e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\libmwlxemainservices.dll+00486974 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00374142
[116] 0x00007ffe03151746 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+06231878 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006966
[117] 0x00007ffe03152d95 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+06237589 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00012677
[118] 0x00007ffe03082d58 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05385560 MathWorks::lxe::function_handle::invoke_with_adaptor+00016024
[119] 0x00007ffe030a11a9 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+05509545 MathWorks::lxe::function_handle::invoke_with_adaptor+00140009
[120] 0x00007ffe02e48366 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03048294 MathWorks::lxe::LXEConstants::IsIfElse+00533270
[121] 0x00007ffe02e4c4a2 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03064994 MathWorks::lxe::LXEConstants::IsY+00011986
[122] 0x00007ffe02e49ce3 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03054819 MathWorks::lxe::LXEConstants::IsY+00001811
[123] 0x00007ffe02e4d585 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+0306[93](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:95)17 MathWorks::lxe::LXEConstants::IsY+00016309
[124] 0x00007ffe02e4d833 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03070003 MathWorks::lxe::LXEConstants::IsY+00016995
[125] 0x00007ffe02e4d19e D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03068318 MathWorks::lxe::LXEConstants::IsY+00015310
[126] 0x00007ffe02e49426 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+03052582 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000262
[127] 0x00007ffe02f3da5a D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\m_lxe.dll+040535[94](https://github.com/mathworks/arrow/actions/runs/9401909013/job/25894734169#step:10:96) MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044810
```
### Component(s)
MATLAB
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on `windows-2022` after MSVC update from 14.39.33519 to 14.40.33807 [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 closed issue #42015: [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on `windows-2022` after MSVC update from 14.39.33519 to 14.40.33807
URL: https://github.com/apache/arrow/issues/42015
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on `windows-2022` after MSVC update from 14.39.33519 to 14.40.33807 [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2163555206
Issue resolved by pull request 42123
https://github.com/apache/arrow/pull/42123
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2161836366
I found [an issue](https://github.com/actions/runner-images/issues/10020) within the `actions/runner-images` repository that seems very similar to this one. In summary, using a `std::mutex` immediately causes a program to terminate.
Given that the stack trace above indicates the crash occurred in `arrow::io:: MemoryMappedFile::Write`, which uses a `std::mutex`, I suspect the MATLAB workflow crash is related to this issue. Until the `windows-2022` image is fixed, the best course of action may be to filter the `tfeather.m` test class on Windows.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2161871528
Unfortunately, I don't think upgrading the `MSVCP140.dll` bundled with MATLAB is feasible. Supplying `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR ` when building Arrow C++ is probably the most practical solution until the `windows-2022` image is fixed. I'll keep on eye on both [#10004](https://github.com/actions/runner-images/issues/10004) and [#10020](https://github.com/actions/runner-images/issues/10020). Once those issues are resolved, I'll remove the `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` flag from the Arrow C++ build.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2161312386
I actually think this crash is related to a compiler upgrade. The CXX compiler used in the last known good MATLAB workflow run was `MSVC 19.39.33523.0`. However, in all subsequent workflow runs, the CXX compiler is `MSVC 19.40.33811.0`. I'm guessing the `windows-2022` image was updated recently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "sgilmore10 (via GitHub)" <gi...@apache.org>.
sgilmore10 commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2155265718
Based on the stack trace, I suspect the root cause of the crash may be in the C++ Arrow bindings. I'll try reproducing this crash without using the MATLAB Arrow Interface.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2161875715
OK. #10004 and #10020 will not solve this problem. I think that #10004 and #10020 will be solved by upgrading `C:/windows/system32/msvcp140.dll` to the latest release. But our build uses `D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\MSVCP140.dll` not `C:/windows/system32/msvcp140.dll`. So #10004 and #10020 will not solve this problem.
It seems that we need to use `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` for now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [MATLAB] Executing `tfeather.m` test class causes MATLAB to crash on Windows [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #42015:
URL: https://github.com/apache/arrow/issues/42015#issuecomment-2161854565
```text
[ 0] 0x00007ffe1bdd2f58 D:\hostedtoolcache\windows\MATLAB\2024.1.999\x64\bin\win64\MSVCP140.dll+00077656 Thrd_yield+00000184
```
Can we upgrade `MSVCP140.dll` bundled in MATLAB to the latest `MSVCP140.dll`?
It'll solve this problem.
Workaround: Defining `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` when we build Arrow C++:
```diff
diff --git a/matlab/CMakeLists.txt b/matlab/CMakeLists.txt
index d8ed65ce92..be4cb19389 100644
--- a/matlab/CMakeLists.txt
+++ b/matlab/CMakeLists.txt
@@ -36,7 +36,8 @@ function(build_arrow)
set(ARROW_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/arrow_ep-build")
set(ARROW_CMAKE_ARGS
"-DCMAKE_INSTALL_PREFIX=${ARROW_PREFIX}" "-DCMAKE_INSTALL_LIBDIR=lib"
- "-DARROW_BUILD_STATIC=OFF" "-DARROW_CSV=ON")
+ "-DARROW_BUILD_STATIC=OFF" "-DARROW_CSV=ON"
+ "-DARROW_CXXFLAGS=-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
add_library(arrow_shared SHARED IMPORTED)
set(ARROW_LIBRARY_TARGET arrow_shared)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org