Matlab crashes with a segmentation fault in the Antelope Toolbox.

From BRTT

Jump to: navigation, search


Question
Question:

The Antelope Toolbox for Matlab is crashing Matlab with a segmentation fault. How can I fix this?


Answer:

For some reason, the Antelope Toolbox for Matlab occasionally clashes with the Java Virtual Machine used in Matlab. Try launching Matlab with the -nojm switch and see if this fixes it:


See also

</noinclude> If anyone discovers the cause of this clash, please email clues to kent@lindquistconsulting.com and I'd love to fix it.

The other common cause of segmentation faults is version skew between the installed Antelope, Matlab, and Antelope Toolbox for Matlab instances. The Antelope Toolbox for Matlab mex files distributed by BRTT are for whatever particular version of Matlab they are running at the time. If you're running a different version, the mex files may not cooperate. In this case it's best to check out the latest version of the Antelope Toolbox for Matlab from the Antelope contributed-code repository and recompile it against your installed versions of Matlab and Antelope (note that it's not a bad idea to upgrade to the latest version of Antelope in order to do this--the version of the Antelope Toolbox for Matlab checked into the contributed-code repository is synchronized to compile with the latest version of Antelope).

If your installation of the Antelope Toolbox for Matlab is correctly installed, you should be able to run

See also

</noinclude> from the Matlab prompt and see lots of interesting results run to completion, with no red error messages or beeps.