[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60042] [octave forge] (sparsersb) Crash while
From: |
dezperado |
Subject: |
[Octave-bug-tracker] [bug #60042] [octave forge] (sparsersb) Crash while "pkg test sparsersb" |
Date: |
Sun, 19 Sep 2021 05:44:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 |
Follow-up Comment #6, bug #60042 (project octave):
[comment #2 comment #2:]
> Running on linux with ASAN I got:
>
> octave:2> pkg test sparsersb
> Testing functions in package 'sparsersb':
>
> Integrated test scripts:
>
> ../sparsersb-1.0.8/x86_64-pc-linux-gnu-api-v55/sparsersb.cc-tst
=================================================================
> ==1335615==ERROR: AddressSanitizer: heap-use-after-free on address
0x603003dc2550 at pc 0x7fb18161d0bc bp 0x7fb147a32a00 sp 0x7fb147a321a8
> READ of size 1 at 0x603003dc2550 thread T6 (QThread)
> #0 0x7fb18161d0bb (/lib64/libasan.so.5+0xba0bb)
> #1 0x7fb142f064b4 in rsb__stropts_set
/home/dima/src/librsb-1.2.0.9/rsb_stropts.c:28
> #2 0x7fb142eab1f8 in rsb__do_set_initopt_as_string
/home/dima/src/librsb-1.2.0.9/rsb_internals.c:3728
> #3 0x7fb142e7ae3f in rsb_lib_set_opt_str
/home/dima/src/librsb-1.2.0.9/rsb_rsb.c:143
> #4 0x7fb143cf2183 in Fsparsersb(octave_value_list const&, int)
/tmp/oct-M5EBar/sparsersb-1.0.8/src/sparsersb.cc:2828
> #5 0x7fb17ee168af in
> ...
>
> Dmitri.
> --
Hi Dmitri.
I'm sorry for noticing this (https://savannah.gnu.org/bugs/?60042#comment2)
only now.
Thanks -- it was a bug in sparsersb indeed -- I just fixed it in
http://hg.code.sf.net/p/octave/sparsersb/rev/86f87a49b29e .
Wrt the others:
https://savannah.gnu.org/bugs/?60042#comment1 and
https://savannah.gnu.org/bugs/?60042#comment3 -- shall be fixed with
librsb-1.2.0.10 (released the other day)
https://savannah.gnu.org/bugs/?60042#comment4 -- this is still there in
librsb-1.2.0.10 -- it's a nasty and deliberate corner case with little
practical value, so I'll deal with it at low priority for what comes after
librsb-1.2.0.10
Thanks!
Michele
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60042>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60042] [octave forge] (sparsersb) Crash while "pkg test sparsersb",
dezperado <=