MATLAB Answers

MATLAB has encountered a problem when calling a MEX-file

6 views (last 30 days)
Xen
Xen on 7 Mar 2019
Commented: HARADHAN CHEL on 1 Oct 2019
Hi. I am calling a MEX-file (.mexw64) on Windows 10, MATLAB 2018b, and MATLAB is crashing. This is a 'well-developed' code and is been used by many people, but for some reason I can't get it running on my system. Can you help identify the source of this? Thanks. The error looks like this:
MATLAB crash file:C:\Users\*\AppData\Local\Temp\matlab_crash_dump.12316-1:
-------------------------------------------------------------------------------
Access violation detected at Thu Mar 07 11:54:40 2019 -0000
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : NVIDIA Corporation Quadro M1000M/PCIe/SSE2 Version 4.6.0 NVIDIA 391.25
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 530 Version 23.20.16.4973 (2018-2-28)
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA Quadro M1000M Version 23.21.13.9125 (2018-3-16)
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 2026101
MATLAB Root : C:\Program Files\MATLAB\R2018b
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Microsoft Windows 10 Enterprise
Process ID : 12316
Processor ID : x86 Family 6 Model 94 Stepping 3, GenuineIntel
Session Key : 162bdebd-432b-4d96-9674-915d08b7c83b
Window System : Version 10.0 (Build 17763)
Fault Count: 1
Abnormal termination
........................... (lots of stuff here)
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.
  2 Comments
HARADHAN CHEL
HARADHAN CHEL on 1 Oct 2019
I have also similar problem. I guess it is due to NVIDIA graphics which is causing some problem to interact with c++compiler. Till now no solution.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by