Debian Bug report logs - #493869
octave3.0: gaminv and gamcdf crash for big values of parameter A

version graph

Package: octave; Maintainer for octave is Debian Octave Group <team+pkg-octave-team@tracker.debian.org>; Source for octave is src:octave (PTS, buildd, popcon).

Reported by: Sébastien Villemot <sebastien@debian.org>

Date: Tue, 5 Aug 2008 13:54:01 UTC

Severity: normal

Tags: upstream, wontfix

Merged with 418158

Found in version octave/3.6.1-4

Fixed in version octave/4.3.91-1

Done: Sébastien Villemot <sebastien@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://savannah.gnu.org/bugs/index.php?39309

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave3.0. (full text, mbox, link).


Acknowledgement sent to Sebastien Villemot <sebastien.villemot@ens.fr>:
New Bug report received and forwarded. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sebastien Villemot <sebastien.villemot@ens.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: octave3.0: gaminv and gamcdf crash for big values of parameter A
Date: Tue, 05 Aug 2008 15:49:06 +0200
Package: octave3.0
Version: 1:3.0.1-6
Severity: normal

gaminv and gamcdf function crash with the following parameters:

octave> gaminv(0.5,600,1)
 ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
 ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
 *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
 *  ERROR NUMBER = 3
 *   
 ***END OF MESSAGE
 
 ***JOB ABORT DUE TO FATAL ERROR.
0          ERROR MESSAGE SUMMARY
 LIBRARY    SUBROUTINE MESSAGE START             NERR     LEVEL     COUNT
 SLATEC     D9LGIT     NO CONVERGENCE IN 20         3         2         8

error: exception encountered in Fortran subroutine xgammainc_
error: evaluating assignment expression near line 54, column 15
error: evaluating if command near line 53, column 5
error: evaluating if command near line 52, column 3
error: called from `gamcdf' in file `/usr/share/octave/3.0.1/m/statistics/distributions/gamcdf.m'
error: evaluating binary operator `-' near line 73, column 37
error: evaluating binary operator `./' near line 73, column 42
error: evaluating assignment expression near line 73, column 13
error: evaluating for command near line 72, column 5
error: evaluating if command near line 57, column 3
error: called from `gaminv' in file `/usr/share/octave/3.0.1/m/statistics/distributions/gaminv.m'
octave> gamcdf(600, 600, 1)
 ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
 ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
 *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
 *  ERROR NUMBER = 3
 *   
 ***END OF MESSAGE
 
 ***JOB ABORT DUE TO FATAL ERROR.
0          ERROR MESSAGE SUMMARY
 LIBRARY    SUBROUTINE MESSAGE START             NERR     LEVEL     COUNT
 SLATEC     D9LGIT     NO CONVERGENCE IN 20         3         2         9

error: exception encountered in Fortran subroutine xgammainc_
error: evaluating assignment expression near line 54, column 15
error: evaluating if command near line 53, column 5
error: evaluating if command near line 52, column 3
error: called from `gamcdf' in file `/usr/share/octave/3.0.1/m/statistics/distributions/gamcdf.m'
octave> 

Note that if you replace 600 by 500, the problem doesn't occur.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.0 depends on:
ii  libatlas3gf-base [libl 3.6.0-21.5        Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so 1.2-2             Basic Linear Algebra Subroutines 3
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-5          Multi-protocol file transfer libra
ii  libfftw3-3             3.1.2-3.1         library for computing Fast Fourier
ii  libgcc1                1:4.3.1-2         GCC support library
ii  libgfortran3           4.3.1-2           Runtime library for GNU Fortran ap
ii  libglpk0               4.29-2            linear programming kit with intege
ii  libhdf5-serial-1.6.6-0 1.6.6-4           Hierarchical Data Format 5 (HDF5) 
ii  liblapack3gf [liblapac 3.1.1-1           library of linear algebra routines
ii  libncurses5            5.6+20080713-1    shared libraries for terminal hand
ii  libpcre3               7.6-2.1           Perl 5 Compatible Regular Expressi
ii  libqhull5              2003.1-9          calculate convex hulls and related
ii  libreadline5           5.2-3             GNU readline and history libraries
ii  libstdc++6             4.3.1-2           The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0   3.1.0-3           collection of libraries for comput
ii  texinfo                4.11.dfsg.1-4     Documentation system for on-line i
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages octave3.0 recommends:
ii  gnuplot                       4.2.2-1.1  A command-line driven interactive 
ii  libatlas3gf-base              3.6.0-21.5 Automatically Tuned Linear Algebra

Versions of packages octave3.0 suggests:
pn  octave3.0-doc                 <none>     (no description available)
ii  octave3.0-emacsen             1:3.0.1-6  Emacs support for the GNU Octave l
ii  octave3.0-headers             1:3.0.1-6  header files for the GNU Octave la
ii  octave3.0-htmldoc             1:3.0.1-6  HTML documentation on the GNU Octa
ii  octave3.0-info                1:3.0.1-6  GNU Info documentation on the GNU 

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave3.0. (full text, mbox, link).


Acknowledgement sent to Thomas Weber <thomas.weber.mail@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 493869@bugs.debian.org (full text, mbox, reply):

From: Thomas Weber <thomas.weber.mail@gmail.com>
To: Sebastien Villemot <sebastien.villemot@ens.fr>, 493869@bugs.debian.org
Subject: Re: [Pkg-octave-devel] Bug#493869: octave3.0: gaminv and gamcdf crash for big values of parameter A
Date: Tue, 05 Aug 2008 16:17:28 +0200
Am Dienstag, den 05.08.2008, 15:49 +0200 schrieb Sebastien Villemot:
> Package: octave3.0
> Version: 1:3.0.1-6
> Severity: normal
> 
> gaminv and gamcdf function crash with the following parameters:

> octave> gaminv(0.5,600,1)
>  ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
>  ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
>  *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
>  *  ERROR NUMBER = 3
>  *   
>  ***END OF MESSAGE

> octave> gamcdf(600, 600, 1)
>  ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
>  ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
>  *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
>  *  ERROR NUMBER = 3
>  *   
>  ***END OF MESSAGE

That's not a crash, is it? The functions inform you that they didn't
converge. 


> Note that if you replace 600 by 500, the problem doesn't occur.

See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418158

d9lgit.f needs an improvement, either directly or by completely
replacing it with something better.

	Thomas





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave3.0. (full text, mbox, link).


Acknowledgement sent to "Sébastien Villemot" <sebastien.villemot@ens.fr>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 493869@bugs.debian.org (full text, mbox, reply):

From: "Sébastien Villemot" <sebastien.villemot@ens.fr>
To: "Thomas Weber" <thomas.weber.mail@gmail.com>
Cc: 493869@bugs.debian.org
Subject: Re: [Pkg-octave-devel] Bug#493869: octave3.0: gaminv and gamcdf crash for big values of parameter A
Date: Tue, 05 Aug 2008 16:47:30 +0200
"Thomas Weber" <thomas.weber.mail@gmail.com> a écrit :

> Am Dienstag, den 05.08.2008, 15:49 +0200 schrieb Sebastien Villemot:
>> Package: octave3.0
>> Version: 1:3.0.1-6
>> Severity: normal
>>
>> gaminv and gamcdf function crash with the following parameters:
>
>> octave> gaminv(0.5,600,1)
>>  ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
>>  ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
>>  *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
>>  *  ERROR NUMBER = 3
>>  *
>>  ***END OF MESSAGE
>
>> octave> gamcdf(600, 600, 1)
>>  ***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
>>  ***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
>>  *  NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
>>  *  ERROR NUMBER = 3
>>  *
>>  ***END OF MESSAGE
>
> That's not a crash, is it? The functions inform you that they didn't
> converge.

I called it a crash since the functions aborted without returning a  
meaningful value, but it doesn't crash Octave. Calling it a failure  
may therefore be more appropriate.

>> Note that if you replace 600 by 500, the problem doesn't occur.
>
> See
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418158
>
> d9lgit.f needs an improvement, either directly or by completely
> replacing it with something better.

Thanks for pointing me to this bug report. I hadn't noticed that the  
bug in poisscdf() was indeed caused by the same problem in gammainc(),  
itself caused by a problem in d9lgit.

Best

Sébastien Villemot





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave3.0. (full text, mbox, link).


Acknowledgement sent to Rafael Laboissiere <rafael@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 493869@bugs.debian.org (full text, mbox, reply):

From: Rafael Laboissiere <rafael@debian.org>
To: control@bugs.debian.org
Cc: Sébastien Villemot <sebastien.villemot@ens.fr>, 493869@bugs.debian.org, 418158@bugs.debian.org
Subject: Re: Bug#493869: octave3.0: gaminv and gamcdf crash for big values of parameter A
Date: Tue, 5 Aug 2008 21:41:24 +0200
package octave3.0
tags 493869 upstream wontfix
forwarded 493869 http://www.cae.wisc.edu/pipermail/bug-octave/2007-April/002103.html
merge 493869 418158
thanks

* Sébastien Villemot <sebastien.villemot@ens.fr> [2008-08-05 16:47]:

> "Thomas Weber" <thomas.weber.mail@gmail.com> a écrit :
> > See
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418158
> >
> > d9lgit.f needs an improvement, either directly or by completely
> > replacing it with something better.
> 
> Thanks for pointing me to this bug report. I hadn't noticed that the  
> bug in poisscdf() was indeed caused by the same problem in gammainc(),  
> itself caused by a problem in d9lgit.

I am hereby merging the two bug reports.

-- 
Rafael




Tags added: upstream, wontfix Request was from Rafael Laboissiere <rafael@debian.org> to control@bugs.debian.org. (Tue, 05 Aug 2008 19:42:09 GMT) (full text, mbox, link).


Noted your statement that Bug has been forwarded to http://www.cae.wisc.edu/pipermail/bug-octave/2007-April/002103.html. Request was from Rafael Laboissiere <rafael@debian.org> to control@bugs.debian.org. (Tue, 05 Aug 2008 19:42:10 GMT) (full text, mbox, link).


Merged 418158 493869. Request was from Rafael Laboissiere <rafael@debian.org> to control@bugs.debian.org. (Tue, 05 Aug 2008 19:42:11 GMT) (full text, mbox, link).


Bug reassigned from package 'octave3.0' to 'octave3.2'. Request was from Thomas Weber <thomas.weber.mail@gmail.com> to control@bugs.debian.org. (Sat, 27 Mar 2010 11:51:08 GMT) (full text, mbox, link).


Bug No longer marked as found in versions octave3.0/1:3.0.1-6 and octave3.0/3.0.0-1. Request was from Thomas Weber <thomas.weber.mail@gmail.com> to control@bugs.debian.org. (Sat, 27 Mar 2010 11:51:09 GMT) (full text, mbox, link).


Bug reassigned from package 'octave3.2' to 'octave'. Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Wed, 04 Apr 2012 19:21:08 GMT) (full text, mbox, link).


Marked as found in versions octave/3.6.1-4. Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Wed, 04 Apr 2012 19:21:09 GMT) (full text, mbox, link).


Changed Bug forwarded-to-address to 'https://mailman.cae.wisc.edu/pipermail/bug-octave/2007-May/008795.html' from 'http://www.cae.wisc.edu/pipermail/bug-octave/2007-April/002103.html' Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Wed, 04 Apr 2012 19:42:05 GMT) (full text, mbox, link).


Changed Bug forwarded-to-address to 'https://mailman.cae.wisc.edu/pipermail/bug-octave/2007-April/008582.html' from 'https://mailman.cae.wisc.edu/pipermail/bug-octave/2007-May/008795.html' Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Wed, 04 Apr 2012 19:42:07 GMT) (full text, mbox, link).


Changed Bug submitter to 'Sébastien Villemot <sebastien@debian.org>' from 'Sebastien Villemot <sebastien.villemot@ens.fr>' Request was from Sébastien Villemot <sebastien@debian.org> to control@bugs.debian.org. (Sun, 30 Sep 2012 10:12:11 GMT) (full text, mbox, link).


Changed Bug forwarded-to-address to 'https://savannah.gnu.org/bugs/index.php?39309' from 'https://mailman.cae.wisc.edu/pipermail/bug-octave/2007-April/008582.html' Request was from Thomas Weber <tweber@debian.org> to control@bugs.debian.org. (Fri, 21 Jun 2013 11:33:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave. (Mon, 17 Oct 2016 15:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to "FedEx Ground" <barry.brandt@rspdo.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Mon, 17 Oct 2016 15:15:03 GMT) (full text, mbox, link).


Message #47 received at 493869@bugs.debian.org (full text, mbox, reply):

From: "FedEx Ground" <barry.brandt@rspdo.org>
To: 493869@bugs.debian.org
Subject: Problems with item delivery, n.000256143
Date: Mon, 17 Oct 2016 15:12:32 +0000
[Message part 1 (text/plain, inline)]
Dear Customer,

This is to confirm that one or more of your parcels has been shipped.
Shipment Label is attached to email.

Yours sincerely,
Barry Brandt,
Support Manager.

[Delivery_Notification_000256143.zip (application/zip, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave. (Thu, 27 Oct 2016 09:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to "FedEx Ground" <terrance.dalton@fernandomaciel.adv.br>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Thu, 27 Oct 2016 09:03:03 GMT) (full text, mbox, link).


Message #52 received at 493869@bugs.debian.org (full text, mbox, reply):

From: "FedEx Ground" <terrance.dalton@fernandomaciel.adv.br>
To: 493869@bugs.debian.org
Subject: Delivery Notification, ID 00618901
Date: Thu, 27 Oct 2016 04:00:13 -0500
[Message part 1 (text/plain, inline)]
Dear Customer,

We could not deliver your item.
Delivery Label is attached to this email.

Thank you for choosing FedEx,
Terrance Dalton,
Station Manager.

[FedEx_ID_00618901.zip (application/zip, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#493869; Package octave. (Fri, 04 Nov 2016 16:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to "FedEx International Next Flight" <max.bryant@ebdaafekry.com>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Fri, 04 Nov 2016 16:21:03 GMT) (full text, mbox, link).


Message #57 received at 493869@bugs.debian.org (full text, mbox, reply):

From: "FedEx International Next Flight" <max.bryant@ebdaafekry.com>
To: 493869@bugs.debian.org
Subject: We could not deliver your parcel, #0000561507
Date: Fri, 4 Nov 2016 12:19:20 -0400
[Message part 1 (text/plain, inline)]
Dear Customer,

We could not deliver your item.
Please, open email attachment to print shipment label.

Sincerely,
Max Bryant,
Operation Manager.

[0000561507.zip (application/zip, attachment)]

Marked as fixed in versions octave/4.3.91-1. Request was from Sébastien Villemot <sebastien@debian.org> to control@bugs.debian.org. (Thu, 11 Jun 2020 14:09:03 GMT) (full text, mbox, link).


Marked Bug as done Request was from Sébastien Villemot <sebastien@debian.org> to control@bugs.debian.org. (Thu, 11 Jun 2020 14:09:04 GMT) (full text, mbox, link).


Notification sent to Sébastien Villemot <sebastien@debian.org>:
Bug acknowledged by developer. (Thu, 11 Jun 2020 14:09:04 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 10 Jul 2020 07:28:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 25 16:14:24 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.