FARM icon indicating copy to clipboard operation
FARM copied to clipboard

MATLAB Crash due to Access Violation in fastmarchmex Function

Open hwy1992129 opened this issue 1 year ago • 0 comments

Hello, Thank you for your great job. I've encountered a recurring issue in MATLAB that I'm struggling to resolve. Specifically, MATLAB crashes with an "Access Violation detected" error when running the First_round.m script. After some investigation, I've pinpointed the problem to the compute_indicator_functions.m file, particularly at the point where it calls the second fastmarchmex function.

Here's a brief overview of the scenario:

The function computes Mdist using fastmarchmex. It appears that Mdist occasionally becomes an unusually large number. The subsequent invocation of fastmarchmex, which uses Mdist as an argument, leads to the crash.

Unfortunately, despite my efforts, I have not been able to modify the code to avoid this issue. I am reaching out to seek guidance or suggestions on how this problem can be addressed. Any assistance or insights you could provide would be greatly appreciated.

hwy1992129 avatar Jan 25 '24 21:01 hwy1992129