bugGNU Octave - Bugs: bug #40498, opening or saving files crashes...

 
 

bug #40498: opening or saving files crashes the GUI on OSX

Submitted by:  Carlo de Falco <cdf>
Submitted on:  Wed 06 Nov 2013 09:23:10 PM UTC  
 
Category: GUISeverity: 5 - Blocker
Priority: 5 - NormalItem Group: None
Status: In ProgressAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Open/Closed: Open
Release: devOperating System: Mac OS

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 19 Nov 2013 09:22:24 PM UTC, comment #9:

No, an editor without syntax highlighting seems equally pointless to me.

If I don't get back to you about this bug within a couple of days, then we'll just release a broken GUI, I guess.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Tue 19 Nov 2013 07:46:56 PM UTC, comment #8:

Jordi, there is a workaround for this
issue which is downgrading qscintilla to 2.4.

with that octave-gui will not crash.
do you think this is enough to consider this bug as non-blocking
and proceed asynchronously with the release?

Carlo de Falco <cdf>
Project Member
Tue 19 Nov 2013 07:39:24 PM UTC, comment #7:

I disagree.

I don't think there's a point in releasing without a working GUI on Windows and Mac OS X.

We should make this a blocking bug.

I'm working on this.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Mon 18 Nov 2013 08:48:25 PM UTC, comment #6:

I agree to make it not blocking. To be honest, I have no idea what might cause the crash and I don't have a OSX-System available for testing. Sending test patches to Carlo is time consuming and not very effective.

Torsten <ttl>
Project Member
Mon 18 Nov 2013 07:21:42 PM UTC, comment #5:

I'm not working on this anymore as I expect most
OSX users who are currently using OSX 10.8 to upgrade
to 10.9 eventually, so it's probably not worth the effort.

On the other hand the GUI can not be considered to be usable
on OSX 10.9 either due to bug #40545.

Carlo de Falco <cdf>
Project Member
Mon 18 Nov 2013 06:07:58 PM UTC, comment #4:

I prefer to make it NOT blocking and note the issue.

Michael Godfrey <godfrey>
Mon 18 Nov 2013 05:54:18 PM UTC, comment #3:

This bug is listed as a blocker for the 3.8 release, but I'm not sure any further progress is being made. Do you still want to work on this right now, or should we postpone it and put a note in the README.MacOS file that versions 10.7 and 10.8 are known not to work with the GUI?

Rik <rik5>
Project Administrator
Mon 11 Nov 2013 10:33:23 AM UTC, comment #2:

I upgraded yesterday to Mavericks (OSX 10.9) and the editor crash does not occur anymore, so it appears this problem only affects OSX 10.8 and OSX 10.7.

Carlo de Falco <cdf>
Project Member
Thu 07 Nov 2013 07:33:24 AM UTC, comment #1:

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
-verbatim-

A minimal example with those steps does not crash.

(file #29555)

Torsten <ttl>
Project Member
Wed 06 Nov 2013 09:23:10 PM UTC, original submission:

a reproducible crash occurs in OSX in GUI mode.
to get the crash:

the crash happens in qscintilla::setLexer, therefore
disabling syntax highlighting in the sources is a workaround.

Carlo de Falco <cdf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #29555:  qsci_2_6_mac.diff added by ttl (14kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by ttl (Updated the item)
  • -unavailable- added by cdf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 19 Nov 2013 07:39:24 PM UTCjordighSeverity3 - Normal=>5 - Blocker
      Assigned toNone=>jordigh
    Mon 18 Nov 2013 08:49:53 PM UTCrik5Severity4 - Important=>3 - Normal
    Thu 07 Nov 2013 07:33:24 AM UTCttlAttached File-=>Added qsci_2_6_mac.diff, #29555

    Back to the top


    Powered by Savane 3.1-cleanup