bugGNU Octave - Bugs: bug #41280, GUI crash when restoring...

 
 

bug #41280: GUI crash when restoring non-existing file from previous session

Submitted by:  None
Submitted on:  Sun 19 Jan 2014 02:47:56 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
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 Jump to the original submission)

Sun 16 Feb 2014 05:08:26 PM UTC, comment #7:

fixed with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/83cc56cc7cb7

Torsten <ttl>
Project Member
Mon 10 Feb 2014 07:41:36 PM UTC, comment #6:

The attached (quite simple) patch fixes the bug on my Win 7 system. Could you test it on your system please?

(file #30500)

Torsten <ttl>
Project Member
Fri 07 Feb 2014 08:46:42 AM UTC, comment #5:

Bug #41493 marked as duplicate of this one.

Torsten <ttl>
Project Member
Mon 27 Jan 2014 09:34:24 PM UTC, comment #4:

I am able to confirm this, too. I would like to make some tests but I have trouble building an mxe build of the actual stable branch. When I use the original octave package downloaded during the mxe-build, the files

are installed and configure results in (all paths abbreviated and relative to the mxe-directory)

Using the result of "make dist" for an mxe build I get

which does not match the installation dirs. Any clues what might be wrong?

Torsten <ttl>
Project Member
Mon 20 Jan 2014 04:31:57 AM UTC, comment #3:

I am able to confirm this crash on WinXP with an MXE build of Octave 3.8.0. Doesn't matter whether I answer yes or no to the dialog asking to create the missing file, Octave crashes either way. Restoring the file is the only way to get Octave to run again without crashing.

Mike Miller <mtmiller>
Project Administrator
Sun 19 Jan 2014 05:15:17 PM UTC, comment #2:

1) Yes, if you press yes, it will also crash, but it will create a 0-byte file first, so on the next try it will start.
2) not sure how I can test that. It will either crash or the file is existent.
3) No, it will ask you if to create or not. This dialog works as expected. "Yes" will create new file.

4) If I close the docked editor window right before I close Octave, it will not crash when I reopen Octave.
The crash does not depend if the Editor window is docked or floating. If it is open, it will crash when I restart Octave.

Only the dialog when restoring the session makes it crash.

Anonymous
Sun 19 Jan 2014 04:47:34 PM UTC, comment #1:

This works on my Ubuntu machine. Some questions:

  • Does Octave crash when you answer "Yes"?
  • Does Octave crash when you restart Octave without restoring the previously open files and then selecting the missing file from the mru-menu?
  • Does Octave crash when you try to edit a non existing file by

>> edit foo

and select "No" in the following dialog?

  • Does the behavior depend on the state of the editor atthe end of the previous session (docked, floating, visible etc.).
Torsten <ttl>
Project Member
Sun 19 Jan 2014 02:47:56 PM UTC, original submission:

Set the GUI-Editor to to restore the open files.
Open a file. Close the Editor.
Delete the file by hand.
Start Octave GUI.
A dialog box will say, it can't find the file. Do you want to create it?
If you click "No", then Octave will crash.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30500:  bug41280_01.patch added by ttl (1KiB - text/x-diff)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 Feb 2014 05:08:26 PM UTCttlStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 10 Feb 2014 07:41:36 PM UTCttlAttached File-=>Added bug41280_01.patch, #30500
    Fri 07 Feb 2014 08:46:03 AM UTCttlDependencies-=>bugs #41493 is dependent
    Mon 20 Jan 2014 04:31:57 AM UTCmtmillerStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1