bugGNU Octave - Bugs: bug #55728, Crash when calling script from...

 
 

bug #55728: Crash when calling script from Command Window while same Script is "stopped" after encountering breakpoint in Editor

Submitted by:  None
Submitted on:  Sun 17 Feb 2019 02:28:14 AM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  DIV Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.4.1
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Mon 18 Feb 2019 07:12:18 PM UTC, comment #6: 

I pushed the following changeset to stable.  It avoids the crash for me:

http://hg.savannah.gnu.org/hgweb/octave/rev/b812ed975ea8

John W. Eaton <jwe>
Project Administrator
Mon 18 Feb 2019 05:52:12 PM UTC, comment #5: 

It also crashes for me on my Debian system.  It's an infinite recursion error inside the symbol_record class when looking for a variable value.

The problem appears to be fixed in the current development sources (what will become Octave 6) where the variable storage system has been completely rewritten.

John W. Eaton <jwe>
Project Administrator
Mon 18 Feb 2019 05:32:49 PM UTC, comment #4: 

I only run Linux so I have no way to test this.

Rik <rik5>
Project Administrator
Mon 18 Feb 2019 08:34:43 AM UTC, comment #3: 

I could, but if you have it already installed, the test case is extremely simple & short.  Much faster than asking me to install an alpha version of Octave that I don't really want. 
—DIV

Anonymous
Sun 17 Feb 2019 10:45:38 PM UTC, comment #2: 

Version 4.4.1 is about to be deprecated.  Can you try reproducing your error with 5.0.91 from alpha.gnu.org/gnu/octave?  Otherwise, we will assume this is just flakiness with 4.4.1.

Rik <rik5>
Project Administrator
Sun 17 Feb 2019 02:59:37 AM UTC, comment #1: 

Also happens if replacing step 5 with the following
5.  Switch to Command Window. Enter command

test_breakpoints_HelloWorld.m

Then continue with step 6 as
6.  Remain in Command Window. Enter command

test_breakpoints_HelloWorld.m

RESULT: Octave GUI crashes. No error message seen.

Anonymous
Sun 17 Feb 2019 02:28:14 AM UTC, original submission:  

Octave crashes reproducibly when calling script from Command Window while same Script is "stopped" after encountering breakpoint in Editor.

Steps to reproduce:

1. Open Octave GUI 4.4.1 on Windows 8.1 x64
2. Switch to Editor pane.  Load (or write & save) short script called "test_breakpoints_HelloWorld.m"

disp 'Hello'

disp 'world'

3. Change to directory of this file within GUI. 
4. Insert breakpoint at line 1 of Script.
5. Click "Save File and Run" button (grey cog with yellow 'play triangle')
6. Switch to Command Window.  Enter command

test_breakpoints_HelloWorld.m

RESULT:  Octave GUI crashes.  No error message seen. 

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46293:  test_breakpoints_HelloWorld.m added by None (28B - application/vnd.wolfram.mathematica.package)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

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

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2019-02-18 jwe StatusNeed Info => Ready For Test
    2019-02-17 rik5 StatusNone => Need Info
    2019-02-17 None Attached File- => Added test_breakpoints_HelloWorld.m, #46293

    Back to the top


    Powered by Savane 3.5