help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loop causes a crash


From: Bertrand Roessli
Subject: loop causes a crash
Date: Thu, 21 May 2009 07:48:12 +0200

I submitted this report to 

                                    
address@hidden

 but I think it did not arrive:



Hello,

this loop causes a crash in Octave-3.1.55:

for i=1:10
        for j=1:10
                for l=1:10
                        a(j,l,i)=1; %crash
                        %a(i,j,l)=1; %is fine
                endfor
        endfor
endfor

octave:1> test
*** glibc detected *** octave: double free or corruption (!prev):
0x08a6b6d0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb544a454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb544c4b6]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb56010b1]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xb560110d]
/usr/local/lib/octave-3.1.55/liboctinterp.so(_ZN5ArrayIdED2Ev
+0x5e)[0xb778748e]
/usr/local/lib/octave-3.1.55/liboctinterp.so(_ZN13octave_matrixD0Ev
+0x4a)[0xb78da15a]
/usr/local/lib/octave-3.1.55/liboctinterp.so(_ZN12symbol_table13symbol_record5clearEv+0x76)[0xb7893496]
/usr/local/lib/octave-3.1.55/liboctinterp.so(_ZN12symbol_table15clear_variablesEPv+0x4b)[0xb789377b]
/usr/local/lib/octave-3.1.55/liboctinterp.so(_ZN14unwind_protect9run_frameERKSs+0x5f)[0xb787dfff]
...


Thanks,

Bertrand Roessli






reply via email to

[Prev in Thread] Current Thread [Next in Thread]