Info

This question is closed. Reopen it to edit or answer.

could i continue calculation after SIGSEGV signal?

1 view (last 30 days)
Ant
Ant on 19 Jun 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi everyone,
I have m-function which use mex-function (C code) to read and import data from files to matlab. Size of files (100-200 Mb) and their amount are big (no chance to use m-functions only). And it works great in 99,96% of files but others (~0,04%) invoke to segmentation violation. This part of data not very significant for me. So I'll be glad to skip such file after SIGSEGV signal and go to another.
Is it real? And how? Thank you in advance. Anton
  1 Comment
dpb
dpb on 19 Jun 2014
Almost certainly it's indicative that you've got an addressing out of range error in your mex file that certain data files uncover--the prime guess is always a NULL pointer.
I'd suggest the better solution is to take one of these particular files and debug it.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!