Why am I unable to run MATLAB 7.0.1 (R14SP1) on Fedora Core 2?

2 views (last 30 days)
MATLAB 7.0.1 (R14SP1) crashes and gives the following segmentation violation on Fedora Core 2:
------------------------------------------------------------------------
Segmentation violation detected at Fri Oct 8 13:20:57 2004
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.0.1.24704 (R14) Service Pack 1
Operating System: Linux 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686
Window System: The X.Org Foundation (60700000), display :0.0
Current Visual: 0x22 (class 4, depth 24)
Processor ID: x86 Family 6 Model 13 Stepping 6, GenuineIntel
Virtual Machine: Java 1.4.2_05 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Default Charset: UTF-8
Register State:
eax = 0000004a ebx = 005cd4a4
ecx = 006d8e48 edx = fff9e5e0
esi = 005c96d8 edi = feffae40
ebp = feffbae8 esp = feffbac4
eip = 003e4612 flg = 00210292
Stack Trace:
[0] libmwm_interpreter.so:(anonymous namespace)::inPrtlineErrMsg(int)(74, 0x005cd4a4, 0xfeffbb28 ", 4087495) + 74 bytes
[1] libmwm_interpreter.so:(anonymous namespace)::Mfun_call_context::~Mfun_call_context()(0xfeffbb50, 0, 0x08e06ce0, 4084436) + 869 bytes
[2] libmwm_interpreter.so:inWordsj(0, 0xfeffbfc0, 0, 0xfeffc020) + 683 bytes
[3] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0x08e06ce0, 0, 0, 0xfeffbfc0) + 398 bytes
[4] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0x08e06ce0, 0, 0xfeffbfc0, 0) + 32 bytes
<snip>

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
We have verified that there is a bug in MATLAB 7.0.1 (R14SP1) when running on Fedora Core 2 machine.
To work around this issue, try the following steps:
1. Change the default charset before starting MATLAB 7.0.1 (R14SP1).
Set the environment variable from the shell using one of the following commands:
setenv LANG en_US
or
setenv LANG C
2. Use the old Linux threads implementation by setting the environment variable LD_ASSUME_KERNEL. Set it to either 2.2.5 or 2.4.1. If you are using the C shell, you can enter one of the following at the Linux prompt:
setenv LD_ASSUME_KERNEL 2.4.1
or
setenv LD_ASSUME_KERNEL 2.2.5
If you are using bash shell, you can enter one of the following at the LINUX prompt:
export LD_ASSUME_KERNEL=2.4.1
or
export LD_ASSUME_KERNEL=2.2.5
3. It may be possible to resolve the problem by turning off the JIT accelerator in MATLAB:
feature accel off
In the case that none of the above solutions work, some users have resolved their issue by changing the kernel to Fedora Core (2.6.9-1.6_FC2),RHFC1 or Fedora core 3.

More Answers (0)

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!