[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decladebug

Title:Digital Ladebug debugger
Moderator:TLE::LUCIA
Created:Fri Feb 28 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:969
Total number of notes:3959

949.0. "F90 program trips infinite loop" by GEMGRP::MONTELEONE () Thu May 08 1997 08:35

    
    
    There is a regression between Version 4.0-35 and Version 4.0-36
    with respect to F90.
    
    
    program pointers
    
      integer*8 cp
      integer ct
      integer, pointer :: ip
      integer, target  :: it
    
      pointer (cp, ct)
    
      cp = %loc (it)
      ip => it
    
    end program pointers
    
    Welcome to the Ladebug Debugger Version 4.0-35
    ------------------
    object file name: c.out
    Reading symbolic information ...done
    (ladebug)  stop at 9
    [#1: stop at "c.f90":10 ]
    (ladebug) p ct
    0x0 = Error: cannot dereference F90 pointer CT
    Error: no value for ct
    
    
    With 4.0-36, an infinite loop is tripped:
    
    Welcome to the Ladebug Debugger Version 4.0-36
    ------------------
    object file name: c.out
    Reading symbolic information ...done
    (ladebug)  stop at 9
    [#1: stop at "c.f90":10 ]
    (ladebug) p ct
    0x0Error: cannot dereference F90 pointer 0x0Error: cannot dereference
    F90 pointe
    r 0x0Error: cannot dereference F90 pointer 0x0Error: cannot dereference
    F90 poin
    ter 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F90 po
    inter 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F90
    pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F9
    0 pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference
    F90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereferenc
    e F90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    derefere
    nce F90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error:
    cannot derefe
    rence F90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error:
    cannot dere
    ference F90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error:
    cannot de
    reference F90 pointer 0x0Error: cannot dereference F90 pointer
    0x0Error: cannot
    dereference F90 pointer 0x0Error: cannot dereference F90 pointer
    0x0Error: canno
    t dereference F90 pointer 0x0Error: cannot dereference F90 pointer
    0x0Error: can
    not dereference F90 pointer 0x0Error: cannot dereference F90 pointer
    0x0Error: c
    annot dereference F90 pointer 0x0Error: cannot dereference F90 pointer
    0x0Error:
     cannot dereference F90 pointer 0x0Error: cannot dereference F90
    pointer 0x0Erro
    r: cannot dereference F90 pointer 0x0Error: cannot dereference F90
    pointer 0x0Er
    ror: cannot dereference F90 pointer 0x0Error: cannot dereference F90
    pointer 0x0
    Error: cannot dereference F90 pointer 0x0Error: cannot dereference F90
    pointer 0
    x0Error: cannot dereference F90 pointer 0x0Error: cannot dereference
    F90 pointer
     0x0Error: cannot dereference F90 pointer 0x0Error: cannot dereference
    F90 point
    er 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F90 poi
    nter 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F90 p
    ointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F90
     pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference F
    90 pointer 0x0Error: cannot dereference F90 pointer 0x0Error: cannot
    dereference...
    
    
    Here is the symbol table:
    
    
    FILE 20. unmergable, preexisting, Fortran:
    
    Binary of auxes:
      0. 0x000000fc   0xffffffff   0x00000000   0x00000020   0x0000000a
      5. 0x00000000   0x00010020   0x00000078
    
    
    Local Symbols:
    from file c.f90   Printf aux if present
      0. ( 0)(   0) c.f90      File       Text       symref 11
      1. ( 1)(0x120001450) pointers_  Proc       Text       [ 4] endref 10,btNil
      2. ( 2)(   0) pointer    Typdef     Info       [ 6] Pointer to 32-bitlong
      3. ( 2)(0x24)            Block      Text       symref 9
      4. ( 3)(0x140000200) IT         Static     Bss        [ 3] 32-bitlong
      5. ( 3)(0x1400001f0) IP         Static     Bss        [ 6] Pointer to
                                                                 32-bit long
      6. ( 3)(0x1400001f8) CP         Static     Bss        [ 7] long
      7. ( 3)(0x1400001f8) CT         Static     Bss        [ 6] Pointer to
                                                                 32-bit long
      8. ( 2)(0x48)            End        Text       symref 3
      9. ( 1)(0x54) pointers_  End        Text       symref 1
     10. ( 0)(   0) c.f90      End        Text       symref 0
    
    
    
     Bob
    
T.RTitleUserPersonal
Name
DateLines