octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend
Date: Sun, 24 Apr 2016 11:27:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #47699 (project octave):

        Operating System:                     Any => GNU/Linux              

    _______________________________________________________

Follow-up Comment #10:

The problem seems to be that FLTK deletion triggers a callback while not all
of the graphics objects are valid.  That only causes a problem if callbacks
trigger redraws.

One approach is simply to back out changeset 21543:4f0f9f029d12.

Another is to place a lock around the deletion (attached patch).

I don't like fixing all bugs by adding extra code.  Would it be better to try
to modify the FLTK code to ensure callbacks only happen when all objects are
valid?  That would make the code "delicate", and leaves the possibility of
similar bugs from other pieces of code

(file #36986)
    _______________________________________________________

Additional Item Attachment:

File name: bug_47699_fltk_close           Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47699>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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