bugGNU Octave - Bugs: bug #41395, Octave crashes without error...

 
 

bug #41395: Octave crashes without error message on this script

Submitted by:  None
Submitted on:  Wed 29 Jan 2014 07:27:09 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: DuplicateAssigned 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)

Thu 05 Feb 2015 06:06:34 AM UTC, comment #7:

This bug looks like a duplicate of both bug #41699 and bug #40443. I can reproduce the crash with the provided example, or with the following:

There has been progress in fixing this on the development branch, see the other bug reports. Closing this one as a duplicate.

Mike Miller <mtmiller>
Project Administrator
Thu 30 Jan 2014 07:33:14 PM UTC, comment #6:

I found antoher way to trigger the same bug. (same stack trace as before)

Anonymous
Thu 30 Jan 2014 06:41:12 PM UTC, comment #5:
Anonymous
Thu 30 Jan 2014 06:06:13 PM UTC, comment #4:

Please add a backtrace.
In gdb, after the segfault do:
bt

Philip Nienhuis <philipnienhuis>
Project Member
Wed 29 Jan 2014 09:14:52 PM UTC, comment #3:

I started the gdb.exe octave-gui.exe and the last output reads as follows. Maybe this is helpful.

Anonymous
Wed 29 Jan 2014 08:57:25 PM UTC, comment #2:

diary helps:

Felipe G. Nievinski <fgnievinski>
Wed 29 Jan 2014 08:50:13 PM UTC, comment #1:

It's very probably the notorious "clear all" bug that's popping up.
Just google for '"clear all" octave bug' and you'll see reports dating back from 2008. AFAIU it manifests itself especially on MinGW but looking at the bug reports tru google it seems linux builds are also affected.
I couldn't find an explicit bug report for it. But I'm fairly certain this is a duplicate. Marking as "confirmed" for the time being.

My Octave-3.8.0 (another build than the one from Markus), running on XP, disappears from sight as soon as the first "clear all" statement is executed.

It used to be related/caused/triggered by certain OF packages, but on my box this "crash" happens w/o any OF package loaded.
After a fresh restart of Octave, "clear all" appears harmless. Only after having executed certain instructions/functions/commands the bug condition is triggered and a "clear all" command makes Octave disappear.

The bug can be avoided by invoking the clear command w/o the "all" parameter.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 29 Jan 2014 07:27:09 PM UTC, original submission:

I encountered a bug, that crashes GNU Octave without giving me any hint to why it crashes. The program windows just disappears. No error message, no MS Windows error report, nothing.

Steps to reproduce:
1. Use Windows. (GUI or CLI doesn't matter)
2. Create a script with the content below.
3. Run the script. (I.e. using F5 in the GUI)
4. Observe that octave is closed without any error message.

It's actually the second repetition that triggers the bug. Doesn't matter if it is in a single script like in my example here, or if I would call a similar script twice.

I tested it on my own Linux-build and there it works fine, so it's Windows specific.

I use the build form http://mxeoctave.osuv.de/octave-3.8.0-4-portable.7z

So there are two questions:
a) What is the error?
b) Is there a crash handler that could help diagnose the problem (i.e. running with gnu debug gdb ? )

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by fgnievinski (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
    Thu 05 Feb 2015 06:06:34 AM UTCmtmillerStatusConfirmed=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #41699
    Thu 27 Mar 2014 02:46:02 AM UTCmtmillerCategoryNone=>Octave Function
    Wed 29 Jan 2014 08:50:13 PM UTCphilipnienhuisStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1