[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30327] New: Assertion failed in dwarf.c: Assertion `debug_
From: |
ziqiaokong at gmail dot com |
Subject: |
[Bug binutils/30327] New: Assertion failed in dwarf.c: Assertion `debug_info_p->num_loc_views <= num' failed |
Date: |
Fri, 07 Apr 2023 14:24:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30327
Bug ID: 30327
Summary: Assertion failed in dwarf.c: Assertion
`debug_info_p->num_loc_views <= num' failed
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: ziqiaokong at gmail dot com
Target Milestone: ---
Created attachment 14809
--> https://sourceware.org/bugzilla/attachment.cgi?id=14809&action=edit
Contains both the obj file and full logs
Git commit hash: 929a05081ec2ca6448927b96f673b0cd9633a342
Steps to reproduce:
```
./configure
make -j
./binutils/objdump -g /path/to/obj
```
Logs:
```
...
<Some output>
...
<0><59>: Abbrev Number: 1 (DW_TAG_variable)
<5a> DW_AT_name : i
<5c> DW_AT_decl_file : 1
<5c> DW_AT_decl_line : 2
<5d> DW_AT_type : <0x96>./binutils/objdump: Warning: Unable to
find entry for abbreviation 4
<61> DW_AT_location : 0x10 (location list)
<65> DW_AT_GNU_locviews: 0xc
<0><69>: Abbrev Number: 1 (DW_TAG_variable)
<6a> DW_AT_name : j
<6c> DW_AT_decl_file : 1
<6c> DW_AT_decl_line : 3
<6d> DW_AT_type : <0x96>./binutils/objdump: Warning: Unable to
find entry for abbreviation 4
<71> DW_AT_location : 0x22 (location list)
<75> DW_AT_GNU_locviews: 0x34
<0><79>: Abbrev Number: 5 (DW_TAG_variable)
<7a> DW_AT_name : k
<7c> DW_AT_decl_file : 1
<7c> DW_AT_decl_line : 6
<7d> DW_AT_type : <0x96>./binutils/objdump: Warning: Unable to
find entry for abbreviation 4
<81> DW_AT_GNU_locviews: 0x38
<85> Unknown AT value: 8:./binutils/objdump: Warning: Unrecognized form:
0x3a
<86> DW_AT_is_optional : 0x6000000
<8a> DW_AT_decl_line : 108
<8b> DW_AT_type : <0x960600>
objdump: ./dwarf.c:2930: read_and_display_attr_value: Assertion
`debug_info_p->num_loc_views <= num' failed.
Aborted (core dumped)
```
System environment:
```
[afl++ amdsuplus3] /binutils (master) # gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[afl++ amdsuplus3] /binutils (master) # g++ --version
g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[afl++ amdsuplus3] /binutils (master) # cat /etc/issue
Ubuntu 22.04.2 LTS \n \l
[afl++ amdsuplus3] /binutils (master) # uname -a
Linux amdsuplus3.inf.ethz.ch 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3
14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[afl++ amdsuplus3] /binutils (master) #
```
See attached for the obj file and full logs.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/30327] New: Assertion failed in dwarf.c: Assertion `debug_info_p->num_loc_views <= num' failed,
ziqiaokong at gmail dot com <=