audio check?

David Bateman adb014 at gmail.com
Mon Dec 10 01:40:07 CST 2007


Jim Langston wrote:
> This is what the debugger says created the segfault:
> 
> t at 1 (l at 1) 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.



More information about the Help-octave mailing list