bugGNU Octave - Bugs: bug #39123, Test failures in nrbbasisfunder...

 
 

bug #39123: Test failures in nrbbasisfunder (package: nurbs)

Submitted by:  Thomas Weber <tweber>
Submitted on:  Thu 30 May 2013 12:00:52 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Thomas WeberOpen/Closed: Closed
Release: 3.6.4Operating 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 16 Nov 2016 08:03:38 PM UTC, comment #2:

Closing this old bug report since I am no longer able to reproduce with nurbs 1.3.10 and Octave 4.2 over many trials. If there is still a real problem, this bug can be reopened or a new bug reported.

Mike Miller <mtmiller>
Project Administrator
Fri 13 Sep 2013 05:54:11 AM UTC, comment #1:

Same problem with other routines as well. I have test failures and segfaults on both nrbderiv and nrbbasisfunder when building in a clean chroot or when running the built package exactly as shown below.

Mike Miller <mtmiller>
Project Administrator
Thu 30 May 2013 12:00:52 PM UTC, original submission:

Hi,
I am experiencing several test failures when packaging the nurbs 1.3.7 release for Debian. I am only giving one here to get feedback on where to look. The error is not deterministic as it is not always the same test that fails and when it fails, the error margin changes (I somehow feel that this points to a library issue, but let's see):

octave:2> ver
----------------------------------------------------------------------
GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
--------------+---------+-----------------------
nurbs *| 1.3.7 | /usr/share/octave/packages/nurbs-1.3.7
octave:3> test nrbbasisfunder
PASSES 3 out of 3 tests
octave:4> pwd
ans = /usr/share/octave/packages/nurbs-1.3.7
octave:5> cd ..
octave:6> test nrbbasisfunder
***** test
U = [0 0 0 0 1 1 1 1];
x = [0 1/3 2/3 1] ;
y = [0 0 0 0];
w = rand(1,4);
nrb = nrbmak ([x;y;y;w], U);
u = linspace(0, 1, 30);
[Bu, id] = nrbbasisfunder (u, nrb);
#plot(u, Bu)
assert (sum(Bu, 2), zeros(numel(u), 1), 1e-10),
!!!!! test failed
assert (sum (Bu, 2),zeros (numel (u), 1),1e-10) expected
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
but got
0.000000
-0.000000
-0.000000
0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
-0.000000
0.000000
-0.000000
-0.000000
0.000000
0.000000
0.057924
0.000000
-0.000000
0.000000
0.000000
-0.000000
0.000000
maximum absolute error 0.0579239 exceeds tolerance 1e-10
octave:7> diary off

So, when I am running the tests in the package directory, the tests pass. If I run it outside, it fails.

Thomas Weber <tweber>

 

(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 (Posted a comment)
  • -unavailable- added by svillemot
  • -unavailable- added by tweber (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Nov 2016 08:03:38 PM UTCmtmillerStatusConfirmed=>Works For Me
      Open/ClosedOpen=>Closed
    Fri 13 Sep 2013 05:54:11 AM UTCmtmillerStatusNone=>Confirmed
    Wed 19 Jun 2013 01:01:23 PM UTCsvillemotCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1