bugGNU Octave - Bugs: bug #49859, Octave 4.2.0 faults when...

 
 

bug #49859: Octave 4.2.0 faults when encountering undefined variables

Submitted by:  Paul Irofti <bulibuta>
Submitted on:  Fri 16 Dec 2016 07:41:07 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: BSD

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 21 Dec 2016 12:12:31 PM UTC, comment #4:

It is now clear that this is an OpenBSD specific issue (two distinct stdc++ libraries are stepping on each other creating the fault). Please close the bug and excuse the noise.

Paul Irofti <bulibuta>
Tue 20 Dec 2016 10:29:15 AM UTC, comment #3:

Indeed it happens on all errors. I will look into in from the OpenBSD side and get back with more info. Thank you for looking into this!

Paul Irofti <bulibuta>
Fri 16 Dec 2016 07:21:52 PM UTC, comment #2:

Do all errors cause a segfault, or just undefined variables? What does

do? If it is all errors, then there is something wrong with exception handling. If it is just undefined variables, then I don't know.

But since the crash is happening inside "_Unwind_Resume", I'm guessing some exception handling issue on OpenBSD?

John W. Eaton <jwe>
Project Administrator
Fri 16 Dec 2016 06:34:05 PM UTC, comment #1:

I recompiled with debug symbols. Here is a stack trace when running the command from my initial post:

Paul Irofti <bulibuta>
Fri 16 Dec 2016 07:41:07 AM UTC, original submission:

Hi,

I am currently trying to update the OpenBSD port of Octave and, although everything builds and packages just fine, I am seeing faults every time an undefined variable is encountered.

This was not the case with the previous version (4.0.2).

This happens in both the cli and gui versions so I am pretty sure this is an interpreter bug.

Here is the ktrace output. If needed I can also recompile with debug symbols and provide a stack trace.

Paul Irofti <bulibuta>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by bulibuta (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 Dec 2016 05:57:05 PM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1