Bug 1539239 - [abrt] gdb-headless: parse_macro_definition(): gdb killed by SIGSEGV
Summary: [abrt] gdb-headless: parse_macro_definition(): gdb killed by SIGSEGV
Keywords:
Status: CLOSED DUPLICATE of bug 1535174
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9e8ea9bfb0421f7f7d249f25ff9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-27 03:13 UTC by cnangel
Modified: 2018-03-04 06:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-04 06:41:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (155.12 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: cgroup (355 bytes, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: core_backtrace (12.70 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: cpuinfo (1.38 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: dso_list (7.58 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: environ (4.61 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: limits (1.29 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: maps (22.98 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: mountinfo (3.58 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: open_fds (821 bytes, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: proc_pid_status (1.26 KB, text/plain)
2018-01-27 03:13 UTC, cnangel
no flags Details
File: exploitable (73 bytes, application/octet-stream)
2018-01-27 03:14 UTC, cnangel
no flags Details

Description cnangel 2018-01-27 03:13:27 UTC
Version-Release number of selected component:
gdb-headless-8.0.1-33.fc27

Additional info:
reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        /usr/libexec/gdb --batch -nx -iex set auto-load no -ex file /home/cnangel/.rpmbuild/BUILDROOT/sap-0.27.6-1.fc27.x86_64/usr/bin/sap_server_d -ex save gdb-index /home/cnangel/.rpmbuild/BUILDROOT/sap-0.27.6-1.fc27.x86_64/usr/bin
crash_function: parse_macro_definition
executable:     /usr/libexec/gdb
journald_cursor: s=f9a1c093a13c4525b5537fe7eba415d7;i=15eea;b=7bfb47fc4c95469cb9a2eeeea6b7ec9e;m=a415711f;t=563b8aab42aaf;x=90d153bd20f42fbc
kernel:         4.14.14-300.fc27.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:21774
 #1 dwarf_decode_macro_bytes at ../../gdb/dwarf2read.c:22191
 #3 dwarf_decode_macros at ../../gdb/dwarf2read.c:22533
 #4 read_file_scope at ../../gdb/dwarf2read.c:9446
 #5 process_die at ../../gdb/dwarf2read.c:8483
 #6 process_full_comp_unit at ../../gdb/dwarf2read.c:8263
 #7 process_queue at ../../gdb/dwarf2read.c:7797
 #8 dw2_do_instantiate_symtab at ../../gdb/dwarf2read.c:2876
 #10 psymtab_to_symtab_1 at ../../gdb/dwarf2read.c:7886
 #11 dwarf2_read_symtab at ../../gdb/dwarf2read.c:7663

Comment 1 cnangel 2018-01-27 03:13:39 UTC
Created attachment 1386769 [details]
File: backtrace

Comment 2 cnangel 2018-01-27 03:13:41 UTC
Created attachment 1386770 [details]
File: cgroup

Comment 3 cnangel 2018-01-27 03:13:43 UTC
Created attachment 1386771 [details]
File: core_backtrace

Comment 4 cnangel 2018-01-27 03:13:45 UTC
Created attachment 1386772 [details]
File: cpuinfo

Comment 5 cnangel 2018-01-27 03:13:46 UTC
Created attachment 1386773 [details]
File: dso_list

Comment 6 cnangel 2018-01-27 03:13:48 UTC
Created attachment 1386774 [details]
File: environ

Comment 7 cnangel 2018-01-27 03:13:50 UTC
Created attachment 1386775 [details]
File: limits

Comment 8 cnangel 2018-01-27 03:13:53 UTC
Created attachment 1386776 [details]
File: maps

Comment 9 cnangel 2018-01-27 03:13:54 UTC
Created attachment 1386777 [details]
File: mountinfo

Comment 10 cnangel 2018-01-27 03:13:57 UTC
Created attachment 1386778 [details]
File: open_fds

Comment 11 cnangel 2018-01-27 03:13:59 UTC
Created attachment 1386779 [details]
File: proc_pid_status

Comment 12 cnangel 2018-01-27 03:14:01 UTC
Created attachment 1386780 [details]
File: exploitable

Comment 13 Evan Klitzke 2018-03-03 23:14:25 UTC
Similar problem has been detected:

gdb segfaults every time I try to open up perf:

evan@t460s ~ $ rpm -qa perf
perf-4.15.0-300.fc27.x86_64

evan@t460s ~ $ gdb $(which perf)
GNU gdb (GDB) Fedora 8.0.1-36.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/perf...Reading symbols from /usr/lib/debug/usr/bin/perf-4.15.0-300.fc27.x86_64.debug...done.
done.
Segmentation fault (core dumped)

reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        gdb /usr/bin/perf /var/tmp/coredump-oru1r2
crash_function: parse_macro_definition
executable:     /usr/libexec/gdb
journald_cursor: s=40244684c84d40069c3263cdb8932e4a;i=8e00d;b=af2c71d57aa540029a4d8f73bd949888;m=cf5afe9a;t=56689e08ef910;x=b6abe379ae907f3a
kernel:         4.14.18-300.fc27.x86_64
package:        gdb-headless-8.0.1-36.fc27
reason:         gdb killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Jan Kratochvil 2018-03-04 06:41:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.