After using the MATLAB 6.5 (R13) Editor and then exiting, why do subsequent MATLAB launches fail?

1 view (last 30 days)
After using the MATLAB 6.5 (R13) Editor and then exiting, why do subsequent MATLAB launches fail?
I launch MATLAB 6.5 (R13) for Linux and use the MATLAB Editor. If I leave the Editor open and exit MATLAB, subsequent launches of MATLAB cause the following error log file, and MATLAB does not start anymore:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4113dc6e
Function name=(N/A)
Library=/lib/i686/libc.so.6
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
Dynamic libraries:
08048000-080be000 r-xp 00000000 03:42 686344
/usr/local/matlab6p5/bin/glnx86/matlab
080be000-080c5000 rw-p 00075000 03:42 686344
/usr/local/matlab6p5/bin/glnx86/matlab
40000000-40016000 r-xp 00000000 03:42 571217 /lib/ld-2.2.4.so
40016000-40017000 rw-p 00015000 03:42 571217 /lib/ld-2.2.4.so
40018000-40053000 r-xp 00000000 03:42 686343
/usr/local/matlab6p5/bin/glnx86/libut.so
[snip]
4f808000-4f80a000 rw-p 00048000 03:42 2170964
/usr/local/matlab6p5/sys/java/jre/glnx86/jre1.3.1/lib/i386/libmlib_image.so
4f80a000-4f89f000 r-xp 00000000 03:42 2170955
/usr/local/matlab6p5/sys/java/jre/glnx86/jre1.3.1/lib/i386/libfontmanager.so
4f89f000-4f8c9000 rw-p 00094000 03:42 2170955
/usr/local/matlab6p5/sys/java/jre/glnx86/jre1.3.1/lib/i386/libfontmanager.so
Local Time = Fri Aug 23 13:51:36 2002
Elapsed Time = 8
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Server VM (Blackdown-1.3.1-FCS mixed mode)
#

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This is a bug in MATLAB 6.5 (R13) that our development staff is investigating for a future release of MATLAB.
This issue may have been caused by exiting MATLAB before exiting the MATLAB Editor.
There are a couple possible workarounds.
1) First, to recover MATLAB and be able to start it again, you will need to exit MATLAB and delete or rename the ~/.matlab/R13/ directory, which will remove all of your preferences. Please remember to exit the Editor before exiting MATLAB in subsequent sessions.
2) Alternatively, if you launch MATLAB without the desktop (matlab -nodesktop) and then subsequently execute the "desktop" command at the MATLAB prompt, the error will not occur. You may want to consider putting the "desktop" command into a "startup.m" file on your MATLAB path, and also change the alias to MATLAB so that it launches with the -nodesktop flag.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!