bugGNU Octave - Bugs: bug #52410, Calling delaunay with invalid...

 
 

bug #52410: Calling delaunay with invalid values two times causes exit from Octave

Submitted by:  Rik <rik5>
Submitted on:  Wed 15 Nov 2017 12:31:03 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.1Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Nov 2017 03:35:15 AM UTC, comment #3:

Turned out to be what I suspcted. There was code to clean up the temporary memory used by QHull, but if error() was called then Octave would abort early without calling it. I fixed that here http://hg.savannah.gnu.org/hgweb/octave/rev/bffbc95fa72b.

Rik <rik5>
Project Administrator
Wed 15 Nov 2017 01:55:47 AM UTC, comment #2:

I think it is in Octave. Using the same Qhull library on my machine, the 4.0.3 version of Octave works while the 4.2.1 version and development versions fail.

My guess is that when there is an error Octave is no longer clearing internal state in Qhull before calling the library again.

Rik <rik5>
Project Administrator
Wed 15 Nov 2017 01:29:42 AM UTC, comment #1:

I think this is caused by qhull, so it might be an upstream regression. I've been trying to triag this, but without much time or success.

Juan Pablo Carbajal <juanpi>
Project Member
Wed 15 Nov 2017 12:31:03 AM UTC, original submission:

Running

causes an abrupt exit to the command line from Octave. This was not the case for 4.0.3 where Octave correctly generates a warning message each time delaunay is called with co-linear points. Marking bug as a regression.

Rik <rik5>
Project Administrator

 

(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 juanpi (Posted a comment)
  • -unavailable- added by rik5 (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
    Thu 16 Nov 2017 03:35:15 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1