octave-maintainers
[Top][All Lists]
Advanced

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

deleting rows from sparse matrices leads to seg fault sometimes


From: Lev
Subject: deleting rows from sparse matrices leads to seg fault sometimes
Date: Thu, 14 Jun 2012 05:20:05 -0700 (PDT)

Hi All,

I have found a bug in which octave to segfault but cannot identify the
reason of it.
I saved the context in a file but cannot rewind the segfault by replaying
it.

/
while(true)
    ....
    uec = sum(uis,2);
7
    inx = find( uec< limit );
8
    save aa.dat
    uis(inx,:)=[];  % throws segfault here !
9
    ....

end
/

After having this code failed I made a following:
/
load aa.dat
uis(inx,:)=[];  
/
and it doesn't fail.

Does anybody have an idea how to debug this it doesn't segfaultcase?
Cheers,
Lev

--
View this message in context: 
http://octave.1599824.n4.nabble.com/deleting-rows-from-sparse-matrices-leads-to-seg-fault-sometimes-tp4630740.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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