Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab crack after run again Matconvnet #1263

Open
bebeisdog opened this issue Feb 23, 2023 · 0 comments
Open

Matlab crack after run again Matconvnet #1263

bebeisdog opened this issue Feb 23, 2023 · 0 comments

Comments

@bebeisdog
Copy link

Hi, guys

I got this problem,when I run again Matconvnet and Matlab crack
But, when I run the program first time (Matlab Restart), I don't have these problem, and result is well. (GPU can also run)
I hope someone can give some hints, thx! (Sorry, My englist not very well)
Is this a version problem? But I actually can run once ,when Matlab restart again and again :(

  • Matlab visions: R2021a
  • Matconvnet : matconvnet-1.0-beta25
  • Cuda : V11.8
MATLAB Log File: C:\Users\BEE\AppData\Local\Temp\matlab_crash_dump.13096-1

------------------------------------------------
MATLAB Log File
------------------------------------------------ 


--------------------------------------------------------------------------------
             Access violation detected at 2023-02-23 16:24:48 +0800
--------------------------------------------------------------------------------

Configuration:
  Crash Decoding                  : Disabled - No sandbox or build area path
  Crash Mode                      : continue (default)
  Default Encoding                : Big5
  Deployed                        : false
  Graphics Driver                 : Unknown hardware 
  Graphics card 1                 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 3060 Version 31.0.15.2802 (2022-12-22)
  Graphics card 2                 : Microsoft ( 0x0 ) Microsoft Remote Display Adapter Version 10.0.19041.2075 (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           : 6257193
  MATLAB Root                     : C:\Program Files\Polyspace\R2021a
  MATLAB Version                  : 9.10.0.1602886 (R2021a)
  OpenGL                          : hardware
  Operating System                : Microsoft Windows 10
  Process ID                      : 13096
  Processor ID                    : x86 Family 6 Model 158 Stepping 13, GenuineIntel
  Session Key                     : 79c956fb-c4ad-4842-94e1-1c3d66241d96
  Window System                   : Version 10.0 (Build 19044)

Fault Count: 1


Abnormal termination:
Access violation

Current Thread: 'MCR 0 interpreter thread' id 19068

Register State (from fault):
  RAX = 00000000fffffffc  RBX = 75726874364e5a5f
  RCX = 75726874364e5a5f  RDX = 0000000000000000
  RSP = 00000019d23f6980  RBP = 00000019d23f6a29
  RSI = 0000000000000000  RDI = 0000000000000000
 
   R8 = 000001e1dd4c44b0   R9 = 00000019d23f6600
  R10 = 0000000000000001  R11 = 00000019d23f6b70
  R12 = 00000019d23f8c58  R13 = 000001e18373a0e0
  R14 = 000001e1c95ae740  R15 = 000001e24ba44530
 
  RIP = 00007ffeca7194a4  EFL = 00010206
 
   CS = 0033   FS = 0053   GS = 002b

Stack Trace (from fault):
[  0] 0x00007ffeca7194a4 C:\Windows\system32\DriverStore\FileRepository\nv_dispi.inf_amd64_f840d03a202f8a32\nvcuda64.dll+01676452
[  1] 0x00007ffeca7b0f23 C:\Windows\system32\DriverStore\FileRepository\nv_dispi.inf_amd64_f840d03a202f8a32\nvcuda64.dll+02297635 cuEventSynchronize+00000659
[  2] 0x00007ffebdba3f7a C:\Program Files\Polyspace\R2021a\bin\win64\cublas64_11.dll+00016250
[  3] 0x00007ffebdba15f0 C:\Program Files\Polyspace\R2021a\bin\win64\cublas64_11.dll+00005616
[  4] 0x00007ffebdbb1e0d C:\Program Files\Polyspace\R2021a\bin\win64\cublas64_11.dll+00073229
[  5] 0x00007ffebdbb38c4 C:\Program Files\Polyspace\R2021a\bin\win64\cublas64_11.dll+00080068
[  6] 0x00007ffebdbeb1d7 C:\Program Files\Polyspace\R2021a\bin\win64\cublas64_11.dll+00307671 cublasDestroy_v2+00000327
[  7] 0x00007ffee0bd6d98 C:\Users\BEE\Desktop\Research Code\DeepDSH\matconvnet\matlab\mex\vl_nnconv.mexw64+00093592 mexFunction+00088168
[  8] 0x00007ffee0bc320e C:\Users\BEE\Desktop\Research Code\DeepDSH\matconvnet\matlab\mex\vl_nnconv.mexw64+00012814 mexFunction+00007390
[  9] 0x00007fff02c3f4b6 C:\Program Files\Polyspace\R2021a\bin\win64\libmex.dll+00586934 MexRetrieveVersion+00000246
[ 10] 0x00007fff02c40e3a C:\Program Files\Polyspace\R2021a\bin\win64\libmex.dll+00593466 MexFileReader::loadMex+00002666
[ 11] 0x00007fff02c3fdc6 C:\Program Files\Polyspace\R2021a\bin\win64\libmex.dll+00589254 MexRetrieveVersion+00002566
[ 12] 0x00007fff02c221e4 C:\Program Files\Polyspace\R2021a\bin\win64\libmex.dll+00467428 mexFeature_mexver+00004180
[ 13] 0x00007fff0314d172                     bin\win64\pgo\m_dispatcher.dll+00119154 Mlm_file::unload_mf+00000018
[ 14] 0x00007fff03139707                     bin\win64\pgo\m_dispatcher.dll+00038663 Mlm_MATLAB_fn_impl::unload+00000103
[ 15] 0x00007fff0313968a                     bin\win64\pgo\m_dispatcher.dll+00038538 Mlm_MATLAB_fn_impl::clear+00000050
[ 16] 0x00007fff0313961b                     bin\win64\pgo\m_dispatcher.dll+00038427 Mlm_MATLAB_fn_impl::is_file+00000123
[ 17] 0x00007fff031597ff                     bin\win64\pgo\m_dispatcher.dll+00169983 mdClearFunctionsByName+00000295
[ 18] 0x00007ffefdbb96fb                            bin\win64\pgo\m_lxe.dll+01218299 MathWorks::lxe::ShutdownLxeEngine+00027655
[ 19] 0x00007ffefdbb4bbb                            bin\win64\pgo\m_lxe.dll+01199035 MathWorks::lxe::ShutdownLxeEngine+00008391
[ 20] 0x00007ffefdbb55c2                            bin\win64\pgo\m_lxe.dll+01201602 MathWorks::lxe::ShutdownLxeEngine+00010958
[ 21] 0x00007ffefdbb53d8                            bin\win64\pgo\m_lxe.dll+01201112 MathWorks::lxe::ShutdownLxeEngine+00010468
[ 22] 0x00007fff02f1d8fe                    bin\win64\pgo\m_interpreter.dll+00055550 inFullClearFcn+00000062
[ 23] 0x00007fff02718bea C:\Program Files\Polyspace\R2021a\bin\win64\builtin.dll+00101354 MathWorks::builtin::BuiltinFcn::invoke+00001130
[ 24] 0x00007fff03154b1c                     bin\win64\pgo\m_dispatcher.dll+00150300 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000136
[ 25] 0x00007fff03143588                     bin\win64\pgo\m_dispatcher.dll+00079240 Mfh_MATLAB_fn_impl::dispatch+00000712
[ 26] 0x00007fff031432ed                     bin\win64\pgo\m_dispatcher.dll+00078573 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 27] 0x00007ffefdae9915                            bin\win64\pgo\m_lxe.dll+00366869
[ 28] 0x00007ffefdb5ca9e                            bin\win64\pgo\m_lxe.dll+00838302 MathWorks::lxe::initializeFcn+00466286
[ 29] 0x00007ffefdae8b6f                            bin\win64\pgo\m_lxe.dll+00363375
[ 30] 0x00007ffefdae6c39                            bin\win64\pgo\m_lxe.dll+00355385
[ 31] 0x00007ffefdb04bd7                            bin\win64\pgo\m_lxe.dll+00478167 MathWorks::lxe::initializeFcn+00106151
[ 32] 0x00007ffefdb03a71                            bin\win64\pgo\m_lxe.dll+00473713 MathWorks::lxe::initializeFcn+00101697
[ 33] 0x00007ffefdb03482                            bin\win64\pgo\m_lxe.dll+00472194 MathWorks::lxe::initializeFcn+00100178
[ 34] 0x00007ffefdb07c03                            bin\win64\pgo\m_lxe.dll+00490499 MathWorks::lxe::initializeFcn+00118483
[ 35] 0x00007ffefdb078af                            bin\win64\pgo\m_lxe.dll+00489647 MathWorks::lxe::initializeFcn+00117631
[ 36] 0x00007ffefdaefac0                            bin\win64\pgo\m_lxe.dll+00391872 MathWorks::lxe::initializeFcn+00019856
[ 37] 0x00007ffefdaee8eb                            bin\win64\pgo\m_lxe.dll+00387307 MathWorks::lxe::initializeFcn+00015291
[ 38] 0x00007ffefdaed936                            bin\win64\pgo\m_lxe.dll+00383286 MathWorks::lxe::initializeFcn+00011270
[ 39] 0x00007ffefdcb1f5e                            bin\win64\pgo\m_lxe.dll+02236254 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>+00050938
[ 40] 0x00007ffefdaeabda                            bin\win64\pgo\m_lxe.dll+00371674
[ 41] 0x00007ffefdc54b09                            bin\win64\pgo\m_lxe.dll+01854217 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00045797
[ 42] 0x00007fff031befc0                     bin\win64\pgo\m_dispatcher.dll+00585664 Mfh_file::dispatch_file_common+00000164
[ 43] 0x00007fff031be77e                     bin\win64\pgo\m_dispatcher.dll+00583550 Mfh_error::lookup+00003386
[ 44] 0x00007fff031bef15                     bin\win64\pgo\m_dispatcher.dll+00585493 Mfh_file::dispatch+00000045
[ 45] 0x00007ffefdae9915                            bin\win64\pgo\m_lxe.dll+00366869
[ 46] 0x00007ffefdb5ca9e                            bin\win64\pgo\m_lxe.dll+00838302 MathWorks::lxe::initializeFcn+00466286
[ 47] 0x00007ffefdae8b6f                            bin\win64\pgo\m_lxe.dll+00363375
[ 48] 0x00007ffefdae6c39                            bin\win64\pgo\m_lxe.dll+00355385
[ 49] 0x00007ffefdb04bd7                            bin\win64\pgo\m_lxe.dll+00478167 MathWorks::lxe::initializeFcn+00106151
[ 50] 0x00007ffefdb03a71                            bin\win64\pgo\m_lxe.dll+00473713 MathWorks::lxe::initializeFcn+00101697
[ 51] 0x00007ffefdb03482                            bin\win64\pgo\m_lxe.dll+00472194 MathWorks::lxe::initializeFcn+00100178
[ 52] 0x00007ffefdb07c03                            bin\win64\pgo\m_lxe.dll+00490499 MathWorks::lxe::initializeFcn+00118483
[ 53] 0x00007ffefdb078af                            bin\win64\pgo\m_lxe.dll+00489647 MathWorks::lxe::initializeFcn+00117631
[ 54] 0x00007ffefdaefac0                            bin\win64\pgo\m_lxe.dll+00391872 MathWorks::lxe::initializeFcn+00019856
[ 55] 0x00007ffefdaee8eb                            bin\win64\pgo\m_lxe.dll+00387307 MathWorks::lxe::initializeFcn+00015291
[ 56] 0x00007ffefdaed936                            bin\win64\pgo\m_lxe.dll+00383286 MathWorks::lxe::initializeFcn+00011270
[ 57] 0x00007ffefdbba596                            bin\win64\pgo\m_lxe.dll+01222038 MathWorks::lxe::ShutdownLxeEngine+00031394
[ 58] 0x00007ffefdbba3c2                            bin\win64\pgo\m_lxe.dll+01221570 MathWorks::lxe::ShutdownLxeEngine+00030926
[ 59] 0x00007ffefdbb993b                            bin\win64\pgo\m_lxe.dll+01218875 MathWorks::lxe::ShutdownLxeEngine+00028231
[ 60] 0x00007ffefdbb98f2                            bin\win64\pgo\m_lxe.dll+01218802 MathWorks::lxe::ShutdownLxeEngine+00028158
[ 61] 0x00007ffeff6fa856                            bin\win64\pgo\m_lxe.dll+29796438 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00299002
[ 62] 0x00007fff02cda3a9 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00172969 mnGetPrompt+00027097
[ 63] 0x00007fff03462266 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00467558 iqm::Iqm::instance+00001190
[ 64] 0x00007fff034b86b3 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00820915 iqm::UserEvalPlugin::execute+00001347
[ 65] 0x00007fff034865ec C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00615916 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 66] 0x00007fff03490faa C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00659370 iqm::Iqm::setupIqmFcnPtrs+00149658
[ 67] 0x00007fff03457720 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00423712 iqm::Iqm::create+00008352
[ 68] 0x00007fff02cc8eaf C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00102063 ioReadLine+00000463
[ 69] 0x00007fff02cc8ca5 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00101541 ioReadLine+00000165
[ 70] 0x00007fff02cda761 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00173921 mnGetCommandLineBuffer+00000289
[ 71] 0x00007fff02cdabb7 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00175031 mnParser+00000487
[ 72] 0x00007fff032c3d86 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00540038 mcr_set_enableReadingFromStdin+00013894
[ 73] 0x00007fff0325f5d3 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00128467 mcrFunctionSignature::set_signature+00107555
[ 74] 0x00007fff0327b550 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00243024 mcrFunctionSignature::set_signature+00222112
[ 75] 0x00007fff034b392a C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00801066 iqm::PackagedTaskPlugin::execute+00000074
[ 76] 0x00007fff032be1ed C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00516589 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00009613
[ 77] 0x00007fff034865ec C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00615916 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 78] 0x00007fff034584bc C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00427196 iqm::Iqm::create+00011836
[ 79] 0x00007fff03457c32 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00425010 iqm::Iqm::create+00009650
[ 80] 0x00007fff032958fc C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00350460 mcrInstantiationError::operator=+00010428
[ 81] 0x00007fff032964ac C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00353452 mcrInstantiationError::operator=+00013420
[ 82] 0x00007fff03293ac0 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00342720 mcrInstantiationError::operator=+00002688
[ 83] 0x00007fff5d369b9a C:\Program Files\Polyspace\R2021a\bin\win64\mwboost_thread-vc142-mt-x64-1_72.dll+00039834 mwboost::thread::swap+00000074
[ 84] 0x00007fff7a561bb2                   C:\Windows\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
[ 85] 0x00007fff7be57614                   C:\Windows\System32\KERNEL32.DLL+00095764 BaseThreadInitThunk+00000020
[ 86] 0x00007fff7cdc26a1                      C:\Windows\SYSTEM32\ntdll.dll+00337569 RtlUserThreadStart+00000033


This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant