From: saratoga on

> Fine! Then it is not the OpenGL part - which is subject to a pile of scary problems.

Good to know!

> Can you post your program?

I'm just calling surf/imagesc on small arrays of data from the command
line, or even trying to view previously saved matlab .fig files with
an empty workspace. They will randomly crash. There seems to be no
pattern, with matlab ok for a while sometimes, and others crashing the
very first time I try to view something.

Mike
From: Jan Simon on
Dear Mike!

Do you use compiled MEX files which potentially corrupt the memory?
Does the same procedure crash another Matlab installation?

Jan
From: Michael Giacomelli on
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hj7p0j$t1l$1(a)fred.mathworks.com>...
> Dear Mike!
>
> Do you use compiled MEX files which potentially corrupt the memory?
> Does the same procedure crash another Matlab installation?
>


No MEX files. I don't have another comparable machine to test on yet.

However, after a lot of testing I've found out that crashes almost always occur immediately after using a few parfor loops in some of my code. Switching the loops to regular for loops completely fixes the problem (plotted several hundred times verses crash on first plot with parfor). So it definitely looks like a bug in matlab's parfor code.

Anyone have ideas how I can work around it?
From: Michael on
> Anyone have ideas how I can work around it?

Well, I tried reformatting the entire PC, installed a fresh copy of matlab 2009b without a single other program installed. Tried plotting, and matlab died. On the very first plot.

I got a copy of Vista, I'm going to reformat again and see if that works any better.
First  |  Prev  | 
Pages: 1 2
Prev: Linear Span
Next: changing files using a for loop