any(A,2) on sparse A causes segfault
Kim Hansen
kimhanse at gmail.com
Tue Dec 18 06:39:24 CST 2007
On 12/17/07, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
> On 17-Dec-2007, David Bateman wrote:
>
> | > I can confirm that this bug exists. However, this is really hard to
> | > debug as the issue is in the Sparse-op-defs.h (SPARSE_ANY_OP) macro,
> | > and so the debug won't give valid line number to identify where the bug
> | > is.
>
> Wnen debugging problems like this in the past, I've usually expanded
> the macro(s) by hand where they are used so that I can step through
> them with gdb.
gcc can do that for you with -E
> | Ok, I think I've found it, but have to do a recompile to check. In any
> | case the attached is a bug and should be patched.. I'll send a mail
> | confirming that this fixing the issue..
>
> | 2007-12-15 David Bateman <dbateman at free.fr>
> |
> | * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row
> | index.
>
> I applied the patch and checked it in.
Thanks to both of you
I can see that our application is a good test of some parts of octave,
I will see if I can find a way to set up a system that will build the
newest octave from cvs each day and run our application on that.
--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437 -- Mobil: 3091 2437
More information about the Bug-octave
mailing list