[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [bug #29139] segfault in Chebyshev series derivatives for n=1
From: |
Brian Gough |
Subject: |
[Bug-gsl] [bug #29139] segfault in Chebyshev series derivatives for n=1 |
Date: |
Tue, 09 Mar 2010 15:35:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.11) Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11 |
URL:
<http://savannah.gnu.org/bugs/?29139>
Summary: segfault in Chebyshev series derivatives for n=1
Project: GNU Scientific Library
Submitted by: bjg
Submitted on: Tue 09 Mar 2010 03:35:04 PM GMT
Category: Runtime error
Severity: 3 - Normal
Operating System:
Status: Confirmed
Assigned to: None
Open/Closed: Open
Release: 1.13
Discussion Lock: Any
_______________________________________________________
Details:
From: Jerry Gagelman <address@hidden>
To: address@hidden
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;
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29139>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-gsl] [bug #29139] segfault in Chebyshev series derivatives for n=1,
Brian Gough <=