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

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

[Octave-bug-tracker] [bug #48519] Segfault with Qt plotting when running


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #48519] Segfault with Qt plotting when running demos
Date: Wed, 2 Jan 2019 11:46:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Update of bug #48519 (project octave):

                  Status:             In Progress => Patch Submitted        

    _______________________________________________________

Follow-up Comment #29:

With those additional information, I can reproduce the crash. The issue is
that we are passing Figure objects member functions as callbacks to be
executed in the interpreter event queue. At the time the callback is executed,
the Figure object may not exist anymore, hence the crash. Note that this is in
fact the same origin as bug #54187.

I attached a preliminary cset (complicated I admit) that avoids passing such
dangerous callback, and fixes the issue for me. It does not fix bug #54187.

(file #45844)
    _______________________________________________________

Additional Item Attachment:

File name: no_callback.patch              Size:8 KB


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?48519>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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