bugGNU Octave - Bugs: bug #40276, Octave crashing after using...

 
 

bug #40276: Octave crashing after using uigetfile and clear all command

Submitted by:  None
Submitted on:  Tue 15 Oct 2013 02:23:40 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Arash Khajooeizadeh Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.4
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.

 

Tue 15 Oct 2013 07:15:39 PM UTC, comment #2: 

Works on MinGW (MXE)3.7.7+ :

>> [fname fpath] = uigetfile ();
>> sin (3)
ans =  0.14112
>> g = 4 /8
g =  0.50000
>> clear all
>> g = 4 /3
g =  1.3333
>> cos (9)
ans = -0.91113
>> [fname fpath] = uigetfile ();
>> g
g =  1.3333
>>

I rather think (but the OP's report isn't clear) that he hit the notorious but somewhat elusive "clear all" bug (which segfaults many MinGW-Octave 3.x.x versions).
This bug has nothing to do with uigetfile() directly, and is believed to be related to a.o., the ad and some other OF packages being loaded.
Search google for 'Octave "clear all" mingw'

If in the OP's sequence "clear all" is replaced by just "clear" it all works OK on Octave-3.6.4 for MinGW.

As it works on MinGW Octave 3.7.7+ I'll close this bug with status "fixed".

Philip Nienhuis <philipnienhuis>
Project Member
Tue 15 Oct 2013 04:36:43 PM UTC, comment #1: 

This works fine on a Linux machine with either 3.6.4 or the development version.  Someone else with a Windows machine will have to test this.

Rik <rik5>
Project Administrator
Tue 15 Oct 2013 02:23:40 PM UTC, original submission:  

The following sequence causes the program to shut itself down:

when the uigetfile is revoked after a "clear all" command.

[fname fpath]=uigetfile() %parameters do not change the outcome
% some other commands
% other commands
clear all
% couple of other commands
[fname fpath]=uigetfile()

Anonymous

 

(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 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-15 philipnienhuis StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5