flatironinstitute / ironclust

Spike sorting software being developed at Flatiron Institute, based on JRCLUST (Janelia Rocket Cluster)
Apache License 2.0
28 stars 7 forks source link

MATLAB crash on windows machine #53

Closed ferchaure closed 4 years ago

ferchaure commented 4 years ago

Hi james, I tried to run Ironclus in a windows machine and Matlab crashed, same if I try to complie irc2. Do you have any clue about what is happening?

Matlab Console Output:

>> irc2 'F:\Gdrive\codes\si_test\raw.mda'
Warning: Python commands require a supported version of CPython. See Getting Started with
Python. 
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 4).
Warning: Python commands require a supported version of CPython. See Getting Started with Python.
> In parallel.internal.pool.deserialize (line 33)
  In parallel.internal.pool.deserializeFunction (line 17)
  In remoteParallelFunction (line 19)
Warning: Python commands require a supported version of CPython. See Getting Started with Python.
> In parallel.internal.pool.deserialize (line 33)
  In parallel.internal.pool.deserializeFunction (line 17)
  In remoteParallelFunction (line 19)
Warning: Python commands require a supported version of CPython. See Getting Started with Python.
> In parallel.internal.pool.deserialize (line 33)
  In parallel.internal.pool.deserializeFunction (line 17)
  In remoteParallelFunction (line 19)
Warning: Python commands require a supported version of CPython. See Getting Started with Python.
> In parallel.internal.pool.deserialize (line 33)
  In parallel.internal.pool.deserializeFunction (line 17)
  In remoteParallelFunction (line 19)
Removed 1 lock(s).
Running irc2.m (5.9.8)
Created F:\Gdrive\codes\si_test\irc2\raw_geom.prm
Read F:\Gdrive\codes\si_test\raw.mda (1/1), took 0.0s (1562.0 MB/s, 61.4 MB)

Matlab Crash Reporter Output:

MATLAB crash file:C:\Users\LOCALA~1\AppData\Local\Temp\matlab_crash_dump.16556-1:

--------------------------------------------------------------------------------
          Access violation detected at Tue Jun 16 12:20:51 2020 -0300
--------------------------------------------------------------------------------

Configuration:
  Crash Decoding           : Disabled - No sandbox or build area path
  Crash Mode               : continue (default)
  Default Encoding         : windows-1252
  Deployed                 : false
  Graphics Driver          : Unknown hardware 
  Graphics card 1          : NVIDIA ( 0x10de ) NVIDIA Quadro K1100M Version 25.21.14.2625 (2019-9-30)
  Java Version             : Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  MATLAB Architecture      : win64
  MATLAB Entitlement ID    : 2365372
  MATLAB Root              : E:\programs\MATLAB\R2019a
  MATLAB Version           : 9.6.0.1174912 (R2019a) Update 5
  OpenGL                   : hardware
  Operating System         : Microsoft Windows 7 Enterprise 
  Process ID               : 16556
  Processor ID             : x86 Family 6 Model 60 Stepping 3, GenuineIntel
  Session Key              : 0e7b909b-54d3-407a-8c2d-ca4a17f1626d
  Window System            : Version 6.1 (Build 7601: Service Pack 1)

Fault Count: 1

Abnormal termination:
Access violation

Register State (from fault):
  RAX = 0000000000000000  RBX = 000000007c58ab10
  RCX = 000000000402ae80  RDX = 000007c902fc0469
  RSP = 000000000402af08  RBP = 000000000402b0f0
  RSI = 000000000b69bbc0  RDI = 0000000000000000

   R8 = 000000000cf84a30   R9 = 000000000000000e
  R10 = 0000000000000007  R11 = 000007c8031d0468
  R12 = 0000000000000000  R13 = 000000000dd7de80
  R14 = 000000004c0906d0  R15 = 000000004c0906d0

  RIP = 0000000000000000  EFL = 00010202

   CS = 0033   FS = 0053   GS = 002b

Stack Trace (from fault):
[  0] 0x0000000000000000                                   <unknown-module>+00000000
[  1] 0x000000007d6cc7b6                              bin\win64\gpushim.dll+00051126 MLInitialize_gpushim+00000166
[  2] 0x000000000da81737 bin\win64\builtins\parallel_gpu_libs\mwgpushim_builtinimpl.dll+00071479 us_set_bundle_context_instance_com_mathworks_gpushim_builtinimpl+00066999
[  3] 0x000000000dc916e3                     bin\win64\pgo\m_dispatcher.dll+00136931 md_is_fh_builtin+00000759
[  4] 0x000000000dc8cea8                     bin\win64\pgo\m_dispatcher.dll+00118440 Mlm_MATLAB_fn_impl::try_load+00000048
[  5] 0x000000000dc8ce60                     bin\win64\pgo\m_dispatcher.dll+00118368 Mlm_MATLAB_fn_impl::load+00000060
[  6] 0x000000000dc8e3cb                     bin\win64\pgo\m_dispatcher.dll+00123851 mdFindFirstFileNameMaybeIgnoringDynamicMethods+00000675
[  7] 0x00000000047d7815                            bin\win64\pgo\libmx.dll+00161813 matrix::detail::noninlined::mx_array_api::mxAddParentRoot+00000081
[  8] 0x00000000047c6d3c                            bin\win64\pgo\libmx.dll+00093500 matrix::detail::noninlined::mx_array_api::mxCreateOpaqueArray+00002132
[  9] 0x00000000047c67fd                            bin\win64\pgo\libmx.dll+00092157 matrix::detail::noninlined::mx_array_api::mxCreateOpaqueArray+00000789
[ 10] 0x00000000047d64b6                            bin\win64\pgo\libmx.dll+00156854 matrix::detail::noninlined::mx_array_api::mxCreateClassArray+00000074
[ 11] 0x0000000028ea3b93                        bin\win64\pgo\mcos_impl.dll+00408467
[ 12] 0x000000000dc90c5c                     bin\win64\pgo\m_dispatcher.dll+00134236 Mlmgr_user::Mlmgr_user+00002428
[ 13] 0x000000000dc8571f                     bin\win64\pgo\m_dispatcher.dll+00087839 Mdispatcher::build_singleton+00000135
[ 14] 0x000000000dc834f6                     bin\win64\pgo\m_dispatcher.dll+00079094 Mdispatcher::get_hfuncname+00001450
[ 15] 0x000000000dc858b8                     bin\win64\pgo\m_dispatcher.dll+00088248 Mdispatcher::lookup+00000104
[ 16] 0x000000001646d929                            bin\win64\pgo\m_lxe.dll+02152745 mwboost::archive::detail::oserializer<mwboost::archive::binary_oarchive,foundation::msg_svc::eventmgr::BaseEvent>::oserializer<mwboost::archive::binary_oarchive,foundation::msg_svc::eventmgr::BaseEvent>+00122421
[ 17] 0x00000000162a38e7                            bin\win64\pgo\m_lxe.dll+00276711
[ 18] 0x0000000016435903                            bin\win64\pgo\m_lxe.dll+01923331 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00044459
[ 19] 0x0000000016434518                            bin\win64\pgo\m_lxe.dll+01918232 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00039360
[ 20] 0x0000000016434730                            bin\win64\pgo\m_lxe.dll+01918768 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00039896
[ 21] 0x0000000016313255                            bin\win64\pgo\m_lxe.dll+00733781
[ 22] 0x00000000162b8aa9                            bin\win64\pgo\m_lxe.dll+00363177
[ 23] 0x00000000162bae5d                            bin\win64\pgo\m_lxe.dll+00372317
[ 24] 0x00000000162ba23f                            bin\win64\pgo\m_lxe.dll+00369215
[ 25] 0x00000000162ba76c                            bin\win64\pgo\m_lxe.dll+00370540
[ 26] 0x00000000162a7b6d                            bin\win64\pgo\m_lxe.dll+00293741
[ 27] 0x00000000162ae5a5                            bin\win64\pgo\m_lxe.dll+00320933
[ 28] 0x00000000162adb4c                            bin\win64\pgo\m_lxe.dll+00318284
[ 29] 0x000000001629b6cd                            bin\win64\pgo\m_lxe.dll+00243405
[ 30] 0x000000001629adeb                            bin\win64\pgo\m_lxe.dll+00241131
[ 31] 0x000000001629ae5e                            bin\win64\pgo\m_lxe.dll+00241246
[ 32] 0x00000000162e6068                            bin\win64\pgo\m_lxe.dll+00548968
[ 33] 0x00000000162e6016                            bin\win64\pgo\m_lxe.dll+00548886
[ 34] 0x00000000162e90f5                            bin\win64\pgo\m_lxe.dll+00561397
[ 35] 0x000000000e22d62f                    bin\win64\pgo\m_interpreter.dll+00382511 inEvalCmdWithLocalReturn+00000063
[ 36] 0x00000000fb60fc64                          bin\win64\libmwbridge.dll+00130148 mnParser+00001316
[ 37] 0x000000000ee39518                                  bin\win64\mcr.dll+00890136 mcrInstance::releaseThread+00002552
[ 38] 0x000000000ed7c28a                                  bin\win64\mcr.dll+00115338 mcrOptions::set_use_license_manager+00080058
[ 39] 0x000000000ed9a274                                  bin\win64\mcr.dll+00238196 mcrOptions::set_use_license_manager+00202916
[ 40] 0x00000000fd0264de                                  bin\win64\iqm.dll+00615646 iqm::PackagedTaskPlugin::execute+00000894
[ 41] 0x00000000fd026353                                  bin\win64\iqm.dll+00615251 iqm::PackagedTaskPlugin::execute+00000499
[ 42] 0x000000000ede0d2b                                  bin\win64\mcr.dll+00527659 mcr::runtime::setInterpreterThreadSingletonToCurrent+00185515
[ 43] 0x00000000fd004c27                                  bin\win64\iqm.dll+00478247 iqm::Iqm::setupIqmFcnPtrs+00088327
[ 44] 0x00000000fd004c79                                  bin\win64\iqm.dll+00478329 iqm::Iqm::setupIqmFcnPtrs+00088409
[ 45] 0x00000000fd004a27                                  bin\win64\iqm.dll+00477735 iqm::Iqm::setupIqmFcnPtrs+00087815
[ 46] 0x00000000fcfde61a                                  bin\win64\iqm.dll+00321050 iqm::Iqm::create+00009290
[ 47] 0x00000000fcfddd9f                                  bin\win64\iqm.dll+00318879 iqm::Iqm::create+00007119
[ 48] 0x000000000edbe4f3                                  bin\win64\mcr.dll+00386291 mcr::runtime::setInterpreterThreadSingletonToCurrent+00044147
[ 49] 0x000000000edbeaff                                  bin\win64\mcr.dll+00387839 mcr::runtime::setInterpreterThreadSingletonToCurrent+00045695
[ 50] 0x000000000edbd95c                                  bin\win64\mcr.dll+00383324 mcr::runtime::setInterpreterThreadSingletonToCurrent+00041180
[ 51] 0x000000000ee7e73c                                  bin\win64\mcr.dll+01173308 mcr::mvm::detail::activateMcr+00016364
[ 52] 0x000000000dbaf951                             bin\win64\MVMLocal.dll+00391505 mvm_server::inproc::LocalFactory::terminate+00186993
[ 53] 0x00000000fa9e15e0                                  bin\win64\mvm.dll+01775072 mvm::detail::SessionImpl::initWithOptions+00000592
[ 54] 0x00000000fa9e22a0                                  bin\win64\mvm.dll+01778336 mvm::detail::SessionImpl::runMain+00000128
[ 55] 0x00000000fa9e24cc                                  bin\win64\mvm.dll+01778892 mvm::detail::SessionImpl::runMatlabDesktop+00000268
[ 56] 0x0000000140007016                               bin\win64\MATLAB.exe+00028694 mwboost::serialization::singleton_module::unlock+00000950
[ 57] 0x0000000140007eeb                               bin\win64\MATLAB.exe+00032491 mwboost::serialization::singleton_module::unlock+00004747
[ 58] 0x00000000771f556d                   C:\Windows\system32\KERNEL32.dll+00087405 BaseThreadInitThunk+00000013
[ 59] 0x000000007735372d                      C:\Windows\SYSTEM32\ntdll.dll+00341805 RtlUserThreadStart+00000029
ferchaure commented 4 years ago

I fixed, all the details of the installation were in this file of the code.