help-octave
[Top][All Lists]
Advanced

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

Re: audio check?


From: David Bateman
Subject: Re: audio check?
Date: Mon, 10 Dec 2007 08:40:07 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Jim Langston wrote:
> This is what the debugger says created the segfault:
> 
> address@hidden (address@hidden) program terminated by signal SEGV 
> (Segmentation Fault)
> 0xffffffffffffffff:     <bad address 0xffffffffffffffff>
> Current function is MatrixType::MatrixType
>   222               found [j] = false;
> (dbx) list
>   222               found [j] = false;
>   223                
>   224             for (octave_idx_type j = i; j < nm; j++)
>   225               {
>   226                 if ((a.cidx(j+1) > a.cidx(j) + 1)  ||
>   227                     ((a.cidx(j+1) == a.cidx(j) + 1) && found
> [a.ridx(j)]))
>   228                   {
>   229                     tmp_typ = MatrixType::Full;
>   230                     break;
>   231                   }
> 
>

Huhhh? found is of size "nrows" and j is a counter up to nrows, so I
don't see how this can segfault at line 222... The address
0xffffffffffffffff looks quite suspicious however, and is probably a
good indication of a compiler bug.

D.



reply via email to

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