Bug 1662401

Summary: [abrt] gdb-headless: parse_macro_definition(): gdb killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Niki Guldbrand <niki.guldbrand>
Component: gdbAssignee: Sergio Durigan Junior <sergiodj>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: jan.kratochvil, keiths, kevinb, sergiodj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/16e53d5d962cac12cfd6e27b1ae288356a5e3fcb
Whiteboard: abrt_hash:9e8ea9bfb0421f7f7d249f25ff92852ea0631e04;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-15 15:20:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: machineid
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Niki Guldbrand 2018-12-28 08:09:50 UTC
Description of problem:
Tried to load KiCAD in gdb to investigate an abort before filling a bug report.

Version-Release number of selected component:
gdb-headless-8.2-5.fc29

Additional info:
reporter:       libreport-2.9.7
backtrace_rating: 4
cmdline:        gdb kicad BreakLights.pro
crash_function: parse_macro_definition
executable:     /usr/libexec/gdb
journald_cursor: s=4dc4bdb4eba346aba78c05f2ba315d20;i=3c069f;b=90f936ab707b4fd2ae77333f8965ff26;m=264dd770927;t=57e107804237a;x=aa4ea65a2c5a1ece
kernel:         4.19.4-300.fc29.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 parse_macro_definition at ../../gdb/dwarf2read.c:24516
 #1 dwarf_decode_macro_bytes at ../../gdb/dwarf2read.c:24376
 #3 dwarf_decode_macros at ../../gdb/dwarf2read.c:24720
 #4 read_file_scope at ../../gdb/dwarf2read.c:11526
 #5 process_die at ../../gdb/dwarf2read.c:10531
 #6 process_full_comp_unit at ../../gdb/dwarf2read.c:10291
 #7 process_queue at ../../gdb/dwarf2read.c:9499
 #8 dw2_do_instantiate_symtab at ../../gdb/dwarf2read.c:2885
 #9 dwarf2_read_symtab at ../../gdb/dwarf2read.c:9365
 #10 psymtab_to_symtab at ../../gdb/psymtab.c:792

Potential duplicate: bug 1539239

Comment 1 Niki Guldbrand 2018-12-28 08:09:56 UTC
Created attachment 1517171 [details]
File: backtrace

Comment 2 Niki Guldbrand 2018-12-28 08:09:57 UTC
Created attachment 1517172 [details]
File: cgroup

Comment 3 Niki Guldbrand 2018-12-28 08:10:00 UTC
Created attachment 1517173 [details]
File: core_backtrace

Comment 4 Niki Guldbrand 2018-12-28 08:10:01 UTC
Created attachment 1517174 [details]
File: cpuinfo

Comment 5 Niki Guldbrand 2018-12-28 08:10:03 UTC
Created attachment 1517175 [details]
File: dso_list

Comment 6 Niki Guldbrand 2018-12-28 08:10:05 UTC
Created attachment 1517176 [details]
File: environ

Comment 7 Niki Guldbrand 2018-12-28 08:10:06 UTC
Created attachment 1517177 [details]
File: limits

Comment 8 Niki Guldbrand 2018-12-28 08:10:08 UTC
Created attachment 1517178 [details]
File: machineid

Comment 9 Niki Guldbrand 2018-12-28 08:10:10 UTC
Created attachment 1517179 [details]
File: maps

Comment 10 Niki Guldbrand 2018-12-28 08:10:12 UTC
Created attachment 1517180 [details]
File: mountinfo

Comment 11 Niki Guldbrand 2018-12-28 08:10:14 UTC
Created attachment 1517181 [details]
File: open_fds

Comment 12 Niki Guldbrand 2018-12-28 08:10:15 UTC
Created attachment 1517182 [details]
File: proc_pid_status

Comment 13 Sergio Durigan Junior 2019-05-15 15:20:44 UTC
I'm marking this one as duplicate of Bug 1708192 because the progress is being tracked there.  The GDB fix has been pushed to the upstream repository and I'm building an F29 and F30 GDBs that will contain the fix right now (a Rawhide build will be prepared tomorrow).  This bug is actually caused by the rpm-build's "debugedit" binary, and progress for that part can be tracked on Bug 1708786.  Thanks.

*** This bug has been marked as a duplicate of bug 1708192 ***