bugGNU Octave - Bugs: bug #41800, Crashes on opening


bug #41800: Crashes on opening

Submitted by:  None
Submitted on:  Fri 07 Mar 2014 04:35:14 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Manny 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.


Fri 07 Mar 2014 02:34:15 PM UTC, comment #3: 

If you confirm that this is fixed in the 3.8.0 mingw version, then let's call it fixed. Manny, please upgrade to 3.8.0 if you would like to get the fix, or use Philip's workaround, basically don't call "clear all".

Mike Miller <mtmiller>
Project Administrator
Fri 07 Mar 2014 10:04:57 AM UTC, comment #2: 

Good analysis Mike.

Confirmed with the attached script w Octave-3.6.4_gcc4.6.2.

Changing "clear all" into just "clear" makes the script work OK and avoids the segfault.

Now, what will we do here? is 3.6.4 still supported?

In 3.8.0 for MinGW "clear all" doesn't seem to give problems. The attached script runs fine in 3.8.0.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 07 Mar 2014 04:57:31 AM UTC, comment #1: 

Thanks for your bug report. When you say you open the m-file, do you mean running the script at the Octave command prompt?

I see the attached script only contains "close all; clear all;". I know very little about Octave for Windows, but I believe there have been problems in previous versions with "clear all" causing Octave to crash. Can you verify that starting Octave and simply running "clear all" causes the same crash?

If upgrading is an option for you, you might want to try the latest 3.8 version of Octave for Windows, there is a binary installer you can download and try, http://mxeoctave.osuv.de/.

Mike Miller <mtmiller>
Project Administrator
Fri 07 Mar 2014 04:35:14 AM UTC, original submission:  

I am not sure why, but the system crashes whenever I try to open an .m file. It opens Octave but the closes right after.



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

Attach Files:

Attached Files
file #30807:  ELS_HWStarter.m added by None (446B - application/octet-stream - Attached is the file I am trying to open)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-07 mtmiller StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2014-03-07 mtmiller StatusNone => Need Info
    2014-03-07 None Attached File- => Added ELS_HWStarter.m, #30807

    Back to the top

    Powered by Savane 3.5