Your message dated Tue, 04 May 2010 22:02:46 +0000
with message-id <[email protected]>
and subject line Bug#572935: fixed in arpack 2.1+parpack96.dfsg-3
has caused the Debian Bug report #572935,
regarding arpack: Bug in ARPACK handling unsymmetric matrices
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
572935: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: arpack
Severity: important
Tags: patch

Hi,
on the GNU Octave mailing list, the following issue was noted. It seems
that for some inputs, ARPACK causes a segfault in Octave. 

The issue was first noted in 2006[1]. A patch was sent to ARPACK
upstream, but there never was an answer.

The issue came up again last year[2]. 

So, I'm asking you include the attached patch in ARPACK. A test program
(segtest.m) for Octave is included. It segfaults Octave with current
ARPACK, when called as segtest(100).

[1] 
http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2006-November/001230.html
[2] http://www-old.cae.wisc.edu/pipermail/bug-octave/2009-November/009818.html

BTW, I think there's something wrong with the orig tarball. It seems to
duplicate all source files and directories in a directory ARPACK.

Thanks
        Thomas

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
*** ARPACK.orig/SRC/dneupd.f	2000-09-20 22:58:34.000000000 +0200
--- ARPACK/SRC/dneupd.f	2006-11-03 11:27:21.159925329 +0100
***************
*** 353,359 ****
       &           mode  , msglvl, outncv, ritzr   ,
       &           ritzi , wri   , wrr   , irr     ,
       &           iri   , ibd   , ishift, numcnv  ,
!      &           np    , jj 
        logical    reord
        Double precision 
       &           conds  , rnorm, sep  , temp,
--- 353,359 ----
       &           mode  , msglvl, outncv, ritzr   ,
       &           ritzi , wri   , wrr   , irr     ,
       &           iri   , ibd   , ishift, numcnv  ,
!      &           np    , jj    , nconv2
        logical    reord
        Double precision 
       &           conds  , rnorm, sep  , temp,
***************
*** 661,676 ****
       &                   workl(iuptri), ldh          , 
       &                   workl(invsub), ldq          , 
       &                   workl(iheigr), workl(iheigi), 
!      &                   nconv        , conds        ,
       &                   sep          , workl(ihbds) , 
       &                   ncv          , iwork        ,
       &                   1            , ierr)
  c
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
              end if
  c
              if (msglvl .gt. 2) then
                  call dvout (logfil, ncv, workl(iheigr), ndigit,
       &           '_neupd: Real part of the eigenvalues of H--reordered')
--- 661,681 ----
       &                   workl(iuptri), ldh          , 
       &                   workl(invsub), ldq          , 
       &                   workl(iheigr), workl(iheigi), 
!      &                   nconv2       , conds        ,
       &                   sep          , workl(ihbds) , 
       &                   ncv          , iwork        ,
       &                   1            , ierr)
  c
+             if (nconv2 .lt. nconv) then
+                nconv = nconv2
+             end if
+ 
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
              end if
  c
+ 
              if (msglvl .gt. 2) then
                  call dvout (logfil, ncv, workl(iheigr), ndigit,
       &           '_neupd: Real part of the eigenvalues of H--reordered')
*** ARPACK.orig/SRC/sneupd.f	2000-09-20 22:58:34.000000000 +0200
--- ARPACK/SRC/sneupd.f	2006-11-03 11:32:54.691913071 +0100
***************
*** 353,359 ****
       &           mode  , msglvl, outncv, ritzr   ,
       &           ritzi , wri   , wrr   , irr     ,
       &           iri   , ibd   , ishift, numcnv  ,
!      &           np    , jj 
        logical    reord
        Real 
       &           conds  , rnorm, sep  , temp,
--- 353,359 ----
       &           mode  , msglvl, outncv, ritzr   ,
       &           ritzi , wri   , wrr   , irr     ,
       &           iri   , ibd   , ishift, numcnv  ,
!      &           np    , jj    , nconv2
        logical    reord
        Real 
       &           conds  , rnorm, sep  , temp,
***************
*** 661,671 ****
       &                   workl(iuptri), ldh          , 
       &                   workl(invsub), ldq          , 
       &                   workl(iheigr), workl(iheigi), 
!      &                   nconv        , conds        ,
       &                   sep          , workl(ihbds) , 
       &                   ncv          , iwork        ,
       &                   1            , ierr)
  c
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
--- 661,675 ----
       &                   workl(iuptri), ldh          , 
       &                   workl(invsub), ldq          , 
       &                   workl(iheigr), workl(iheigi), 
!      &                   nconv2       , conds        ,
       &                   sep          , workl(ihbds) , 
       &                   ncv          , iwork        ,
       &                   1            , ierr)
  c
+             if (nconv2 .lt. nconv) then
+                nconv = nconv2
+             end if
+ 
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
*** ARPACK.orig/SRC/zneupd.f	2002-08-15 07:51:12.000000000 +0200
--- ARPACK/SRC/zneupd.f	2006-11-03 11:33:28.032312460 +0100
***************
*** 301,307 ****
       &           invsub, iuptri, iwev  , j    , ldh   , ldq   ,
       &           mode  , msglvl, ritz  , wr   , k     , irz   ,
       &           ibd   , outncv, iq    , np   , numcnv, jj    ,
!      &           ishift
        Complex*16
       &           rnorm, temp, vl(1)
        Double precision
--- 301,307 ----
       &           invsub, iuptri, iwev  , j    , ldh   , ldq   ,
       &           mode  , msglvl, ritz  , wr   , k     , irz   ,
       &           ibd   , outncv, iq    , np   , numcnv, jj    ,
!      &           ishift, nconv2
        Complex*16
       &           rnorm, temp, vl(1)
        Double precision
***************
*** 592,600 ****
              call ztrsen('None'       , 'V'          , select      ,
       &                   ncv          , workl(iuptri), ldh         ,
       &                   workl(invsub), ldq          , workl(iheig),
!      &                   nconv        , conds        , sep         , 
       &                   workev       , ncv          , ierr)
  c
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
--- 592,604 ----
              call ztrsen('None'       , 'V'          , select      ,
       &                   ncv          , workl(iuptri), ldh         ,
       &                   workl(invsub), ldq          , workl(iheig),
!      &                   nconv2       , conds        , sep         , 
       &                   workev       , ncv          , ierr)
  c
+             if (nconv2 .lt. nconv) then
+                nconv = nconv2
+             end if
+ 
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
*** ARPACK.orig/SRC/cneupd.f	2002-08-15 07:51:12.000000000 +0200
--- ARPACK/SRC/cneupd.f	2006-11-03 11:31:54.499802784 +0100
***************
*** 301,307 ****
       &           invsub, iuptri, iwev  , j    , ldh   , ldq   ,
       &           mode  , msglvl, ritz  , wr   , k     , irz   ,
       &           ibd   , outncv, iq    , np   , numcnv, jj    ,
!      &           ishift
        Complex
       &           rnorm, temp, vl(1)
        Real
--- 301,307 ----
       &           invsub, iuptri, iwev  , j    , ldh   , ldq   ,
       &           mode  , msglvl, ritz  , wr   , k     , irz   ,
       &           ibd   , outncv, iq    , np   , numcnv, jj    ,
!      &           ishift, nconv2
        Complex
       &           rnorm, temp, vl(1)
        Real
***************
*** 592,600 ****
              call ctrsen('None'       , 'V'          , select      ,
       &                   ncv          , workl(iuptri), ldh         ,
       &                   workl(invsub), ldq          , workl(iheig),
!      &                   nconv        , conds        , sep         , 
       &                   workev       , ncv          , ierr)
  c
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
--- 592,604 ----
              call ctrsen('None'       , 'V'          , select      ,
       &                   ncv          , workl(iuptri), ldh         ,
       &                   workl(invsub), ldq          , workl(iheig),
!      &                   nconv2       , conds        , sep         , 
       &                   workev       , ncv          , ierr)
  c
+             if (nconv2 .lt. nconv) then
+                nconv = nconv2
+             end if
+ 
              if (ierr .eq. 1) then
                 info = 1
                 go to 9000
function aerr = segtest (iter)
  %% This will seg-fault octave consistently, but not matlab.
  n=20;
  k=4; 
  A = 
sparse([3:n,1:n,1:(n-2)],[1:(n-2),1:n,3:n],[ones(1,n-2),4*ones(1,n),-ones(1,n-2)]);
  opts.disp = 0; opts.p = 19;
  aerr = 0;
  for i=1:iter
    [v1,d1] = eigs(A, k, 'sr', opts);
    d1 = diag(d1);
    merr = 0;
    for i=1:k
      newerr = max(abs((A - d1(i)*speye(n))*v1(:,i)));
      if (newerr > merr)
        merr = newerr;
      end
    end
    fprintf('Max Err: %g\n', merr);
    if (merr > aerr)
      aerr = merr;
    end
  end
end



--- End Message ---
--- Begin Message ---
Source: arpack
Source-Version: 2.1+parpack96.dfsg-3

We believe that the bug you reported is fixed in the latest version of
arpack, which is due to be installed in the Debian FTP archive:

arpack_2.1+parpack96.dfsg-3.debian.tar.gz
  to main/a/arpack/arpack_2.1+parpack96.dfsg-3.debian.tar.gz
arpack_2.1+parpack96.dfsg-3.dsc
  to main/a/arpack/arpack_2.1+parpack96.dfsg-3.dsc
libarpack2-dbg_2.1+parpack96.dfsg-3_amd64.deb
  to main/a/arpack/libarpack2-dbg_2.1+parpack96.dfsg-3_amd64.deb
libarpack2-dev_2.1+parpack96.dfsg-3_amd64.deb
  to main/a/arpack/libarpack2-dev_2.1+parpack96.dfsg-3_amd64.deb
libarpack2_2.1+parpack96.dfsg-3_amd64.deb
  to main/a/arpack/libarpack2_2.1+parpack96.dfsg-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam C. Powell, IV <[email protected]> (supplier of updated arpack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 04 May 2010 16:05:05 -0400
Source: arpack
Binary: libarpack2 libarpack2-dev libarpack2-dbg
Architecture: source amd64
Version: 2.1+parpack96.dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Debian Scientific Computing Team 
<[email protected]>
Changed-By: Adam C. Powell, IV <[email protected]>
Description: 
 libarpack2 - Fortran77 subroutines to solve large scale eigenvalue problems
 libarpack2-dbg - Fortran77 subroutines to solve large scale eigenvalue 
problems (d
 libarpack2-dev - Fortran77 subroutines to solve large scale eigenvalue 
problems (d
Closes: 571828 572935
Changes: 
 arpack (2.1+parpack96.dfsg-3) unstable; urgency=low
 .
   [ Daniel Leidert ]
   * debian/control: Added Homepage field.
     (Uploaders): Removed Rafael Laboissiere. Thanks for your work (closes:
     #571828).
     (Standards-Version): Bumped to 3.8.4.
     (Depends): Fixed weak-library-dev-dependency.
     (Section): libarpack2-dbg is `debug' now.
   * debian/rules (clean): Fix target to not remove README.source.
   * debian/source.lintian-overrides: Added to hide a lintian limitation.
   * debian/README.source: Added.
 .
   [ Adam C. Powell, IV ]
   * Changed source format to 3.0 (quilt).
   * Fix octave segfault using patch from Thomas Weber (closes: #572935).
Checksums-Sha1: 
 84dd2ba26a34a036c9a9515762786eb2c7453f13 1571 arpack_2.1+parpack96.dfsg-3.dsc
 e2ec79a0dbdb3fd8898674af6eab398978d13bd2 10927 
arpack_2.1+parpack96.dfsg-3.debian.tar.gz
 27b6923e464f11c99e44a553a9f7294e95fb4e4a 288886 
libarpack2_2.1+parpack96.dfsg-3_amd64.deb
 013c31b4743e918fd9d609f411cf625d5c1f0570 718910 
libarpack2-dev_2.1+parpack96.dfsg-3_amd64.deb
 95e223b794a683a3556ef4b320b2680df5c88515 21242 
libarpack2-dbg_2.1+parpack96.dfsg-3_amd64.deb
Checksums-Sha256: 
 c3d356e813659f649f8b2c43328cd2d4509cc0b7d8bc7488f3172e04b1de41d4 1571 
arpack_2.1+parpack96.dfsg-3.dsc
 c01cb1e6a9a496535ab18e16068e50d738d4773b64547913e9311ff69f424efd 10927 
arpack_2.1+parpack96.dfsg-3.debian.tar.gz
 490b2681888a88b25d81877915879e2938d37b4adfb0dfe82d5de85675a7125b 288886 
libarpack2_2.1+parpack96.dfsg-3_amd64.deb
 4c973014822030ebbb8bbf06f07dd89025192923fb58f7e2b47d84fece0e1601 718910 
libarpack2-dev_2.1+parpack96.dfsg-3_amd64.deb
 efc74a9b4e6a6340aeb1254e4aff4af79f5c89cddb5beb565a3908d1b646aec4 21242 
libarpack2-dbg_2.1+parpack96.dfsg-3_amd64.deb
Files: 
 c0f0a725b1766d660f699411404bc7dd 1571 math optional 
arpack_2.1+parpack96.dfsg-3.dsc
 ba6ec8c22b6d152e8d9711fc6f8f02f7 10927 math optional 
arpack_2.1+parpack96.dfsg-3.debian.tar.gz
 9dc7ff9b1d70ff3f4651c2fe62ec38f2 288886 libs optional 
libarpack2_2.1+parpack96.dfsg-3_amd64.deb
 51d398d638e23a5922f3ca30f9cdb883 718910 libdevel extra 
libarpack2-dev_2.1+parpack96.dfsg-3_amd64.deb
 afe9d080a877e7013c56cb9b3ea637a0 21242 debug extra 
libarpack2-dbg_2.1+parpack96.dfsg-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvgfoEACgkQUm8B6FZO5LZoQgCfdaLYrWPWqC3iOIQ35QRhwQ7V
wF4Anj8JgE7VHSw7Atjg+jFNQBKHNacB
=WyS/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to