Why did MCC suddenly start hanging when I try to compile an executable using MATLAB Compiler 4.10 (R2009a) on 64-bit Redhat EL 4.0?

2 views (last 30 days)
I've been using MCC for a long while and it used to work fine. Then suddenly it started hanging and I have to terminate the process from another window (CTRL-C does not work). We've tried numerous steps, listed below, and it still does not work.
1. Compiling hangs regardless of calling MCC from Linux shell or MATLAB command window.
2. Building using DEPLOYTOOL hangs as well.
3. Regenerated preferences directory in case it was a licensing issue.
4. Confirmed that the LD_ASSUME_KERNEL variable is empty.
5. Tried running with the DISPLAY environment set and unset, still hung up.
6. Made sure file permissions were read and write.
7. Tried reinstalling MATLAB, but then it hangs on the reinstall.
Running STRACE, we can clearly see the continuous 'times' calls where it hangs. Note that my computer is connected to an internal network and file sharing system.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Feb 2012
If the MCC command or MATLAB installation suddenly starts hanging with no foreseeable reason (having exhausted diagnosis steps), it is possible that some drive or hardware is hanging on the network or machine. This can cause MCC or MATLAB to hang as well.
Old mounted drives can be especially prone to hanging. Run STRACE or Process Monitor during MATLAB installation that is hanging and it may be possible to determine the offending drives.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2009a

Community Treasure Hunt

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

Start Hunting!