Hi Sebastien,
I tried to run plouf.m on a win64 with Matlab64 bit, and it runs without any error. best Marco
Sébastien Villemot wrote:
Hi everyone,
I am hitting a MATLAB bug which is driving me crazy.
I attach two files: plouf.m and plouf_static.m. They are derived from preprocessor-generated files with the EAGLE model. The script "plouf.m" calls the function "plouf_static.m".
When I run "plouf.m" on a Linux/64 machine, MATLAB crashes with a bus error (tested on Karaba and Hal, with Matlab 7.5, 7.6 and 7.8). This does not happen on Linux/32 or Windows/32. I have not tested other platforms.
As can be seen from the displayed marks which I have inserted, MATLAB crashes around line 131 of plouf_static.m. More precisely, it seems to crash just after having computed the expression there. I can't understand exactly what's going on.
Can you reproduce this?
Note that I have observed similar crashes with other big models on Karaba.
Since so far I cannot precisely pinpoint what triggers the bug, I don't know how to make a workaround. So for the moment, for the development of EAGLE, I am going to use Matlab/32 in a virtual machine on Karaba.
Probably we should send a report to Mathworks.
Best,
Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev