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,
Le mercredi 19 août 2009 à 12:38 +0200, Sébastien Villemot a écrit :
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.
Actually one can run Matlab/32 on a 64 bits machine (whether on Linux or Windows). So I am currently using this solution on Karaba.
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
Hi Marco,
Le mercredi 19 août 2009 à 14:42 +0200, Marco Ratto a écrit :
I tried to run plouf.m on a win64 with Matlab64 bit, and it runs without any error.
Thanks for your report.
Otherwise, you are now using an email address different from that which is subscribed to the list (@jrc.it). Should I update it?
Best,
Yes, please, update the e-mail, thanks a lot. jrc.it will expire in a few months
Sébastien Villemot wrote:
Hi Marco,
Le mercredi 19 août 2009 à 14:42 +0200, Marco Ratto a écrit :
I tried to run plouf.m on a win64 with Matlab64 bit, and it runs without any error.
Thanks for your report.
Otherwise, you are now using an email address different from that which is subscribed to the list (@jrc.it). Should I update it?
Best,