bugGNU Octave - Bugs: bug #54932, Segfault when starting GUI with -q

 
 

bug #54932: Segfault when starting GUI with -q

Submitter:  Rik <rik5>
Submitted:  Thu 01 Nov 2018 04:14:31 PM UTC
   
 
Category:  GUI Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Nov 2018 05:39:16 AM UTC, comment #1: 

Checked in a fix here: https://hg.savannah.gnu.org/hgweb/octave/rev/f48504a14fdb.  It may not be elegant, but it works.

Rik <rik5>
Group administrator
Thu 01 Nov 2018 04:14:31 PM UTC, original submission:  

On the dev branch, start Octave with


./run-octave -f -q --gui


Next, click on the Command Window and Octave segfaults.

Using hg bisect, this behavior was introduced in this cset


parent: 25988:976e7346abf4
 Make gui command line mouse compatible for non-windows systems (bug #45003)
branch: default


The problem seems to be that when '-q' is used there are no lines in the Command Window and so some count is either zero, or goes negative.  Without '-q', Octave prints some generic help info which at least places something in the Command Window buffer.



Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-08 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code