An unexpected exception has been detected in native code outside the VM
- From: Javier Montoya <jmontoyaz@xxxxxxxxx>
- Date: 29 Apr 2007 21:53:07 -0700
Hi everybody:
I was using the image processing toolbox for visualizing some database
images, each one a time. Suddenly, MATLAB was closed itself and a log
file 'hs_err_pid312.log' was generated. My matlab function looks like:
for m=1:60
for n=1:8
close all;
path = sprintf('../fpDb/%s/%s/', fvc, dbname);
strfile = [path num2str(m) num2str(n)];
im = double(imread([strfile '.bmp'],'bmp'));
xc = arrLoc(i,2);
yc = arrLoc(i,3);
figure; imagesc(im); colormap gray; axis image; grid on;
hold on; plot(yc,xc,'ro');
disp(sprintf('%d%d => [%d %d]', m, n, xc, yc));
i = i + 1;
pause;
end
end
Does anybody has an idea why it happened? or what can I do to avoid
this error? The log file looks sth. like this:
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred
at PC=0x783023CF
Function=Java_sun_awt_windows_WColor_getDefaultColor+0x2E0D
Library=C:\MATLAB7\sys\java\jre\win32\jre1.4.2\bin\awt.dll
Current Java thread:
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Heap at VM Abort:
Heap
def new generation total 4352K, used 2137K [0x1ffa0000, 0x20450000,
0x208c0000)
eden space 3904K, 43% used [0x1ffa0000, 0x20146758, 0x20370000)
from space 448K, 100% used [0x20370000, 0x203e0000, 0x203e0000)
to space 448K, 0% used [0x203e0000, 0x203e0000, 0x20450000)
tenured generation total 28144K, used 17968K [0x208c0000,
0x2243c000, 0x23fa0000)
the space 28144K, 63% used [0x208c0000, 0x21a4c188, 0x21a4c200,
0x2243c000)
compacting perm gen total 16384K, used 16140K [0x23fa0000,
0x24fa0000, 0x27fa0000)
the space 16384K, 98% used [0x23fa0000, 0x24f63038, 0x24f63200,
0x24fa0000)
I'm using an intel core 2 duo processor (T5600, 1.86GHz), RAM:2GB,
Operating system=Windows XP sp2.
Suggestions are always welcome ;-)
Javier
--
=================================================
Javier A. Montoya Zegarra - http://www.lis.ic.unicamp.br/~jmontoya
Institute of Computing, State University of Campinas, SP - Brazil
=================================================
.
- Prev by Date: Re: Increasing OR Decreasing The frequency Rate of a Waveform
- Next by Date: Two questions about the quad function
- Previous by thread: xlswrite
- Next by thread: Two questions about the quad function
- Index(es):
Relevant Pages
|
Loading