bugGNU Octave - Bugs: bug #38254, make check scripts/general/dblquad...

 
 

bug #38254: make check scripts/general/dblquad hangs

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Mon 04 Feb 2013 05:44:36 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Michael GodfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 06 Feb 2013 05:16:51 PM UTC, comment #3:

Works for me. Thanks!

octave:2> test dblquad
PASSES 4 out of 4 tests

Michael Godfrey <godfrey>
Project Member
Wed 06 Feb 2013 04:42:59 PM UTC, comment #2:

Could you verify that this is still a problem with any revision newer than 15996:1aff8c38c53c? The temporary fix was in for only 2 days. I have rewritten quadcc.cc to use the heap for large temporary variables so this shouldn't be an issue anymore.

Rik <rik5>
Project Administrator
Mon 04 Feb 2013 05:56:30 PM UTC, comment #1:

Just confirmed: backing out:
changeset: 15994:352ef2fb3ad1

fixes the problem:
octave:1> test dblquad
PASSES 4 out of 4 tests
octave:2>

Michael Godfrey <godfrey>
Project Member
Mon 04 Feb 2013 05:44:36 PM UTC, original submission:

This test hangs (FC18, x86_64):

%% Nasty integrand to show quadcc off
%!assert (dblquad (@(x,y) 1 ./ (x+y), 0, 1, 0, 1), 2*log (2), 1e-6)

The other tests run normally.
I suspect that this is due to

changeset: 15994:352ef2fb3ad1
user: Rik <rik@octave.org>
date: Sat Feb 02 15:30:53 2013 -0800
files: libinterp/corefcn/quadcc.cc
description:
Temporary fix for stack overflows with quadcc

quadcc.cc: Reduce number of allowed singularities on integration path from 200
to 50.

Michael Godfrey <godfrey>
Project Member

 

(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 rik5 (Posted a comment)
  • -unavailable- added by godfrey (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 06 Feb 2013 06:03:02 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1