bugGNU Scientific Library - Bugs: bug #29139, segfault in Chebyshev series...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29139: segfault in Chebyshev series derivatives for n=1

Submitted by:  -Deleted Account- <bjg>
Submitted on:  Tue 09 Mar 2010 03:35:04 PM UTC  
 
Category: Runtime errorSeverity: 3 - Normal
Operating System: Status: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: 1.13

Fri 12 Mar 2010 08:53:43 PM UTC, comment #1:

fixed by commit ebcba871a642f4fdc88e4ed2873e9703dd530bf1

-Deleted Account- <bjg>
Tue 09 Mar 2010 03:35:04 PM UTC, original submission:

From: Jerry Gagelman <gagelman@gmail.com>
To: -unavailable-
Subject: [Bug-gsl] Chebyshev series derivatives
Date: Wed, 3 Mar 2010 10:03:27 +0100

Dear bug list,

I have found that the function gsl_cheb_calc_deriv() issues a segmentation
fault when both the Chebyshev series and the series for its derivative are
allocated for order N=1. No other value of N seems to effect the same error.
There are two different installations of the GSL that I use at home versus
at work: GSL 1.11 on Linux OpenSUSE 11.0, and GSL 1.12 on OS X 10.6
(installed via macports). The test code that I have included below produces
the same error on both systems.

Yours,
Jerry Gagelman

/* gsl_cheb_bug.c */

#include <stdlib.h>
#include <gsl/gsl_chebyshev.h>

int
main(int argc, char** argv)
{
int N = 1;
double c[2] = {0, 1}; /* initialize series as T_N */

gsl_cheb_series S = {c, N, -1, 1};
gsl_cheb_series* DS = gsl_cheb_alloc(N);
gsl_cheb_calc_deriv(DS, &S);

gsl_cheb_free(DS);
return 0;
}

-Deleted Account- <bjg>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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
Fri 12 Mar 2010 08:53:43 PM UTCbjgStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1