IBM Support

IV84034: INCORRECT DWARF DIE CAUSING DEBUGGER ERROR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling an application with debugging information in the
    DWARF format using -qdbgfmt=dwarf, and the -qfuncsect option,
    incorrect DWARF Debugging Information Entries (DIEs) are
    generated.  Incorrect debugging values for DW_AT_low_pc and
    DW_AT_high_pc are output.
    
    These invalid DIEs can cause incorrect and unexpected behaviour
    in debugger applications.  In the case of the DBX debugger, an
    internal error in the application may occur.
    
    
    
       === DBX EXAMPLE ===
    
    $ dbx a.out core
    Type 'help' for help.
    [using memory image in core]
    reading symbolic information ...internal error: assertion failed
    at line 1454 in file dwarf_read.c
    internal error: assertion failed at line 1454 in file
    dwarf_read.c
    ....
    dbx: fatal error: Line pool error.
    $
    

Local fix

  • - Do not use DWARF debug format
    - Do not use -qfuncsect
    

Problem summary

  • PROBLEM DESCRIPTION:
    DWARF line number information is invalid when using -qfuncsect,
    causing a dbx internal error.
    
    USERS AFFECTED:
    Users of DWARF who also use -qfuncsect
    

Problem conclusion

  • DWARF debug information was corrected and the problem was
    resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV84034

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-25

  • Closed date

    2016-06-21

  • Last modified date

    2016-06-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RC10 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV84034

Modified date: 21 June 2016