[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44195] segfault with dbstatus
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #44195] segfault with dbstatus |
Date: |
Mon, 21 Dec 2015 10:18:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
Follow-up Comment #7, bug #44195 (project octave):
It seems that the problem is that the call to symbol_table::find_function ()
in get_user_code resets the db_set data structure, and so the test it !=
bp_set.end () in bp_table::do_get_breakpoint_list() returns false even
though there are no more items in the list.
Somehow, we need to flag that the iterator is invalid and restart the loop. A
first-cut attempt is attached. (The indentation was not updated, so the guts
of the patch can be seen.)
(file #35809)
_______________________________________________________
Additional Item Attachment:
File name: bug_44195.txt Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44195>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44195] segfault with dbstatus,
Lachlan Andrew <=