this has gotta be a matlab bug!!



put this code in file "f.m"

=== begin code ===
function f()
a=2;
script_file;
g();

function g()
a=3; %set variable native to f
end
end
=== end code ===

now put this code in "script_file.m"

=== begin code ===
bug = 4;
brad = [5 5];
=== end code ===

now run f

for me this causes matlab to core dump and close entirely.
7.0.1.24704 (R14) Service Pack 1 on solaris.

now changing "script_file.m" ...

=== begin code ===
brad = [5 5];
bug = 4;
=== end code ===

all i did was switch the two variables around. now it gives me an
error. it crashes only when the 2X1 matrix is after a 1X1 matrix.

what do you guys think?!?!
.



Relevant Pages

  • Re: [patch] sched: unlocked context-switches
    ... now first switch the stack and registers, ... `prev' will never be the same as `next'. ... * switch_mmmay do a full cache flush over the context switch, ...
    (Linux-Kernel)
  • Re: DBX on AIX 5.3 with Threads
    ... (Solaris and AIX)? ... irreproducible crashes which are extremely hard to catch and debug. ... Windows for over 15 years... ...
    (comp.unix.aix)
  • [PATCH 2.6.17-rc1-mm2] m32r: update switch_to macro for tuning
    ... License. ... switch_to(prev, next) should switch from task `prev' to `next' ... `prev' will never be the same as `next'. ... unsigned long flags; ...
    (Linux-Kernel)
  • Re: How can my application detect the physical network problem
    ... |I have one application running on solaris and other on windows NT. ... |These two systems are connected through ethernet switch box. ... |there is some physical connection problem like wire unplugged from ...
    (comp.unix.programmer)
  • Re: Delay in Startup
    ... When it has started everything is fine no crashes or other problems. ... The computer is permanently connected to the mains, however if I switch power off at the mains it takes ages to start again, the fans start but nothing else happens and I have to use the power switch at the back to switch it off several times before it boots up. ... model hard disk do you have ...
    (uk.comp.homebuilt)

Loading