MATLAB: Do I receive a Java Exception when copying and pasting into the Command WIndow in MATLAB 7.0 (R14) on a Linux machine running Fedora Core 3

MATLAB

When I copy and paste commands from the Command History into the Command Window, or from the Command Window into another application, I receive the following Java log and corresponding stack trace:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x591F93
Function=mpGetCWDName+0x37
Library=/usr/local/MATLAB7/bin/glnx86/libmwmpath.so
Current Java thread:
at com.mathworks.jmi.NativeMatlab.nativeMessageReceived(Native Method)
at com.mathworks.jmi.NativeMatlab.messageReceived(NativeMatlab.java:271)
at com.mathworks.jmi.MatlabLooper.interruptMatlab(MatlabLooper.java:134)
at com.mathworks.jmi.Matlab$MatlabDirSeed.getValue(Matlab.java:2329)
at com.mathworks.util.FactoryUtils.getDirectorySeed(FactoryUtils.java:32)
at com.mathworks.mwswing.dialog.MJFolderChooser.unixFolderBrowse(MJFolderChooser.java:217)
at com.mathworks.mwswing.dialog.MJFolderChooser.browseForFolder(MJFolderChooser.java:159)
- locked <0xb125a3a8> (a java.lang.Class)
<SNIP>
Stack Trace:
[0] libjvm.so:0x02666553(1, 0x080f0190, 0x0281f470 "TVA", 0)
[1] libjvm.so:0x026631fa(0x085ace08, 11, 0x00591f93, 0x046304e0)
[2] libjvm.so:JVM_handle_linux_signal~(11, 0x046304e0, 0x04630560, 1) + 1002 bytes
[3] libjvm.so:0x02665de8(11, 0x046304e0, 0x04630560, 0)
[4] libmwbridge.so:.L46(11, 0x046304e0, 0x04630560, 11) + 92 bytes
[5] libpthread.so.0:0x0040b8d0(0, 0x0463089c, 4353, 2)
[6] libmwjmi_mi.so:.L721(0x085acea8, 0x04631a18, 0x04631a14, 0xffffffff) + 35 bytes
<SNIP>

Best Answer

This problem has been fixed in MATLAB 7.0.4 (R14SP2). If you are using a previous version, note that this and other similar symptoms which produce similar stack traces are related to a more general problem involving the handling of signals between MATLAB 7.0 and the Java Virtual Machine.
Related Question