I entered in interactive mode the following statements:
>A=rand(2);
>for i=1:100;inv(A),end
--> crash in windows xp (SP3). It might be that the crash also depends on the size of the variable A above (increase it).
This happend in Windows XP SP3. It did NOT happen with Linux (Ubuntu 11.10) in a virtualized environment.
I had the same problem, this code crash:
for a=1:5
sin(2);
end
FreeMat 4.1.1, Windows 7 prof 64bit.
I have to precise the description of the crash.
The Linux version was FreeMat 4.0 and not 4.1. FreeMat 4.0 does not crash with these code snippets. As well if you run this code from a .m file with 4.1 it does not crash either.
Am assigning this to Eugene. It does not happen to me on Linux. I also checked that the problem doesn't happen on Mac OS X either. Unfortunately, I do not have access to Windows at all, so I can't help debug it at the moment.
Samit
Works for me 100% of the time without crashing. What CPU do you have? Maybe BLAS is using SSE instructions that are not supported by your computer. Just a thought.
I've tried it on several different computers (all crashed executing the code in interactive mode)
* Intel core 2 Duo @2.4 GHz, intrsuctions MMX,SSE(1,2,3,3S,4.1),EM64T,VT-x
* Intel Pentium (R) M @1.5GHz, instructions MMX,SSE(1,2)