[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] seg fault from gsl_sf_legendre_sphPlm_e
From: |
Kevin M. Huffenberger |
Subject: |
[Bug-gsl] seg fault from gsl_sf_legendre_sphPlm_e |
Date: |
Wed, 13 Aug 2003 18:57:50 -0400 (EDT) |
In the following bit of code, the first call works, but the second call
dies.
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_sf_legendre.h>
int main() {
gsl_sf_result y;
gsl_sf_legendre_sphPlm_e(140,135,1,&y);
gsl_sf_legendre_sphPlm_e(140,135,0.99998689456491752,&y);
return(0);
}
The stack backtrace is:
(gdb) backtrace
#0 0x42049bbf in buffered_vfprintf () from /lib/tls/libc.so.6
#1 0x4204957f in vfprintf () from /lib/tls/libc.so.6
#2 0x4204f39f in fprintf () from /lib/tls/libc.so.6
#3 0x4008ec8c in gsl_stream_printf (label=0x40183452 "ERROR",
file=0x40195557 "exp.c", line=541, reason=0x4019554d "underflow")
at stream.c:44
#4 0x4008eb7f in gsl_error (reason=0x4019554d "underflow",
file=0x40195557 "exp.c", line=541, gsl_errno=15) at error.c:41
#5 0x4013979d in gsl_sf_exp_err_e (x=-711.14097209630847,
dx=1.7459778940285803e-13, result=0xbffff6c8) at exp.c:541
#6 0x40158831 in gsl_sf_legendre_sphPlm_e (l=140, m=135,
x=0.99998689456491752, result=0xbffff730) at legendre_poly.c:531
#7 0x0804850c in main ()
#8 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
---Kevin
- [Bug-gsl] seg fault from gsl_sf_legendre_sphPlm_e,
Kevin M. Huffenberger <=