mmdb segfaults when processing anisou records

Bug #684897 reported by Morten Kjeldgaard on 2010-12-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

There is a bug in mmdb affecting the processing of anisou records. The following FORTRAN program fails, when linked to the CCP4 library (or gpp4)

      program testanisou

      integer ixyzin
      integer iser, ires, iz
      character*1 chnnam, inscod, altcod
      character*3 typ
      character*4 atom, resno, segid, idd
      real x(3), occ, biso, u(6)

      ifail = 0
      ldum = 80
      ixyzin = 0

      call ccpfyp
      call xyzinit
      call xyzopen('1psr.pdb','INPUT',' ',ixyzin, ifail)

 1 continue
        call xyzadvance(ixyzin, 0, 0, *1000, *1000)
        call xyzatom(ixyzin, iser, atom, typ, chnnam, ires, resno,
     & inscod, altcod, segid, iz, idd)
        call xyzcoord(ixyzin,'F','F',x(1),x(2),x(3),occ,biso,u)
        write (6,*) 'x=',x,'occ=',occ,'biso=',biso,'u=',u
        goto 1

 1000 continue


Revision history for this message
Morten Kjeldgaard (mok0) wrote :

This bug has been fixed in release

Changed in mmdb:
status: New → Fix Released
importance: Undecided → Low
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers