Exception 0xc0000005 in libmx.dll during runtime of deployed shared library

16 views (last 30 days)
My MATLAB code is deployed into a standalone using MATLAB Compiler R2012b.  Sporadically, we'll get an exception 0xc0000005 access violation error and crash.  The stack trace shows libmx.dll to be the crashing DLL.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 8 Jun 2015
This is a bug in MATLAB Compiler Runtime R2012b.  It is fixed in subsequent releases.
To workaround this issue, on the machine where the deployed component is running, set the MWDISABLE_MVM_API environment variable to 1 and then rerun your application.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!