Package: pdl
Version: 1:2.4.2-2
Severity: normal

Steps to reproduce:
1) perl -e 'use strict;use PDL::Fit::Gaussian;fitgauss1d(0, 0);'

Expected results:
1) not sure but nothing should segfault

Actual results:
1) perl segfaults

More info:
1) Here's a backtrace from gdb:

kurp$ gdb `which perl`
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) set args -e 'use strict;use PDL::Fit::Gaussian;fitgauss1d(3, 1);'
(gdb) r
Starting program: /m1/usr/local/bin/perl -e 'use strict;use 
PDL::Fit::Gaussian;fitgauss1d(3, 1);'
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1075564672 (LWP 27663)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075564672 (LWP 27663)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x403a3e16 in pdl_get_convertedpdl () from 
/usr/lib/perl5/auto/PDL/Core/Core.so
#2  0x403b9e7f in XS_PDL_fitgauss1d () from 
/usr/lib/perl5/auto/PDL/Fit/Gaussian/Gaussian.so
#3  0x080c3276 in Perl_pp_entersub ()
#4  0x080bbd69 in Perl_runops_standard ()
#5  0x080635e8 in perl_run ()
#6  0x080633f5 in perl_run ()
#7  0x0805fb9f in main ()


Please let me know if you can't reproduce this bug.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8met2
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages pdl depends on:
ii  fftw2 [fftw2-doubl 2.1.3-16              Library for computing Fast Fourier
ii  libc6              2.3.2.ds1-22sarge3    GNU C Library: Shared libraries an
ii  libg2c0            1:3.3.5-13            Runtime library for GNU Fortran 77
ii  libgsl0            1.6-2                 GNU Scientific Library (GSL) -- li
ii  libplplot9         5.3.1-4               Scientific plotting library
ii  libterm-readkey-pe 2.21-1.3              A perl module for simple terminal 
ii  perl               5.8.4-8sarge4         Larry Wall's Practical Extraction 
ii  perl-base [perlapi 5.8.4-8sarge4         The Pathologically Eclectic Rubbis
ii  xlibmesa-gl [libgl 4.3.0.dfsg.1-14sarge1 Mesa 3D graphics library [XFree86]
ii  xlibmesa-glu [libg 4.3.0.dfsg.1-14sarge1 Mesa OpenGL utility library [XFree

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to