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

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

[Octave-bug-tracker] [bug #40498] opening or saving files crashes the GU


From: Torsten
Subject: [Octave-bug-tracker] [bug #40498] opening or saving files crashes the GUI on OSX
Date: Thu, 07 Nov 2013 07:33:24 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Follow-up Comment #1, bug #40498 (project octave):

Here some mor informations:

The crash happens with QSintilla versions 2.6 or higher.

Attached a patch that strips most of the configurations of edit_area (the
qscintilla editor). The remaining steps when loading an existing file related
to _edit_area are:

+verbatim
_edit_area = new QsciScintilla;             // in constructor

_edit_area->setText (in.readAll ());        // in load_file

QsciLexer *lexer = _edit_area->lexer ();    // in update_lexer
delete lexer;
lexer = 0;
//...  determine lexer from file extension
_edit_area->setLexer (lexer);   // ---> crash

  
A minimal example with those steps does not crash.

(file #29555)
    _______________________________________________________

Additional Item Attachment:

File name: qsci_2_6_mac.diff              Size:13 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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