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

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

[Octave-bug-tracker] [bug #55736] Segfault when copying source file text


From: anonymous
Subject: [Octave-bug-tracker] [bug #55736] Segfault when copying source file text to clipboard in octave-gui
Date: Tue, 19 Feb 2019 17:44:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #9, bug #55736 (project octave):

I applied 3d0f687e4a21 to Octave 5.0.91-7b9a5ab8350f, compiled against qt4. 
Running "octave --gui" crashes immediately with a segfault in
QHelpEngine::contentWidget(), called from documentation::documentation() in
documentation.cc, line 178.
This line delimits m_help_engine, and m_help_engine is NULL: thus the
segfault.  This is unsurprising since the applied patch sets m_help_engine to
NULL in the case where setupData() fails.

Since m_help_engine is used to create a number of other objects (content for
example) which are then also dereferenced in the lines following 178, it's
clear that a fix for this is not as simple as the addition of a single NULL
test on m_help_engine at line 178.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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