IBM Support

IV91643: 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

    IV91643

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-21

  • Closed date

    2016-12-21

  • Last modified date

    2016-12-21

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

    IV89819

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

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
19 August 2024