Prev: Linear Span
Next: changing files using a for loop
From: saratoga on 20 Jan 2010 11:47 > 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 20 Jan 2010 15:28 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 5 Feb 2010 01:04 "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 7 Feb 2010 23:10
> 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. |