IBM Support

IV89819: INVALID DWARF DW_AT_LOCATION ATTRIBUTE CAUSING DBX "ASSERTION FAILED AT LINE 1669" ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling code using DWARF debug information via -g
    -qdbgfmt=dwarf , the generated DWARF information contains an
    invalid value for a DW_AT_location attribute.  This invalid
    value may cause errors when attempting to debug the code with a
    debugger that supports DWARF, such as DBX.
    
    Dumping the DWARF information from a problem object file may
    show the invalid DW_AT_location value similar to:
    
    <4><37545>      DW_TAG_variable
                    DW_AT_location          DW_OP_bregx4292870144+0
                    DW_AT_name              _St
                    DW_AT_decl_file         1
                    DW_AT_decl_line         0
                    DW_AT_type              <15459>
    
    A valid DW_AT_location value would look similar to:
    
                    DW_AT_location          DW_OP_fbreg 144
    
    
    
       === EXAMPLE ===
    
    $ xlC test.cpp -g -qdbgfmt=dwarf
    $ dbx a.out
    Type 'help' for help.
    reading symbolic information ...
    internal error: assertion failed at line 1669 in file
    dwarf_read.c
    (dbx)
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users of dwarf debug format may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    The compiler was generating invalid debug information causing
    an internal error.
    

Problem conclusion

  • The compiler issue has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV89819

  • 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-10-11

  • Closed date

    2016-10-18

  • Last modified date

    2016-10-18

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

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

    IV91643 IV91677 IV97574

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

  • RC10 PSY

       UP

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1"}]

Document Information

Modified date:
14 September 2021