Bug 1684822 - gdb/dwarf2read.c:5263: internal-error: compunit_symtab* dw2_find_pc_sect_compunit_symtab(objfile*, bound_minimal_symbol, CORE_ADDR, obj_section*, int): Assertion `result != NULL' failed
Summary: gdb/dwarf2read.c:5263: internal-error: compunit_symtab* dw2_find_pc_sect_comp...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Buettner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e78adebb2e7cd965defe996b366...
: 1689137 1696834 1758802 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-02 18:47 UTC by Peter
Modified: 2020-05-26 18:38 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:38:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (150.89 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: cgroup (369 bytes, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: core_backtrace (18.95 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: cpuinfo (1.66 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: dso_list (12.28 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: environ (2.20 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: limits (1.29 KB, text/plain)
2019-03-02 18:47 UTC, Peter
no flags Details
File: maps (64.71 KB, text/plain)
2019-03-02 18:48 UTC, Peter
no flags Details
File: mountinfo (4.19 KB, text/plain)
2019-03-02 18:48 UTC, Peter
no flags Details
File: open_fds (9.76 KB, text/plain)
2019-03-02 18:48 UTC, Peter
no flags Details
File: proc_pid_status (1.30 KB, text/plain)
2019-03-02 18:48 UTC, Peter
no flags Details

Description Peter 2019-03-02 18:47:49 UTC
Description of problem:
Crashed during error reporting.

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

Additional info:
reporter:       libreport-2.10.0
backtrace_rating: 4
cmdline:        /usr/libexec/gdb -batch -iex add-auto-load-safe-path /var/cache/abrt-di/usr/lib/debug -iex add-auto-load-scripts-directory /var/cache/abrt-di/usr/lib/debug -ex set debug-file-directory /usr/lib/debug:/var/cache/abrt-di/usr/lib/debug -ex file /usr/bin/gnome-software -ex core-file ./coredump -ex thread apply all -ascending backtrace full 1024 -ex info sharedlib -ex print (char*)__abort_msg -ex print (char*)__glib_assert_msg -ex info all-registers -ex disassemble
crash_function: dump_core
executable:     /usr/libexec/gdb
journald_cursor: s=72bed2efddf844b4a6d63d093f3d6e56;i=1c40;b=57ee5ef2b0214c48950c436040e7a829;m=140a3ffd;t=58320d05cf762;x=8e5e61524ed55b01
kernel:         4.20.13-200.fc29.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Potential duplicate: bug 1544195

Comment 1 Peter 2019-03-02 18:47:52 UTC
Created attachment 1540148 [details]
File: backtrace

Comment 2 Peter 2019-03-02 18:47:53 UTC
Created attachment 1540149 [details]
File: cgroup

Comment 3 Peter 2019-03-02 18:47:55 UTC
Created attachment 1540150 [details]
File: core_backtrace

Comment 4 Peter 2019-03-02 18:47:56 UTC
Created attachment 1540151 [details]
File: cpuinfo

Comment 5 Peter 2019-03-02 18:47:57 UTC
Created attachment 1540152 [details]
File: dso_list

Comment 6 Peter 2019-03-02 18:47:58 UTC
Created attachment 1540153 [details]
File: environ

Comment 7 Peter 2019-03-02 18:47:59 UTC
Created attachment 1540154 [details]
File: limits

Comment 8 Peter 2019-03-02 18:48:01 UTC
Created attachment 1540155 [details]
File: maps

Comment 9 Peter 2019-03-02 18:48:02 UTC
Created attachment 1540156 [details]
File: mountinfo

Comment 10 Peter 2019-03-02 18:48:03 UTC
Created attachment 1540157 [details]
File: open_fds

Comment 11 Peter 2019-03-02 18:48:04 UTC
Created attachment 1540158 [details]
File: proc_pid_status

Comment 12 Keith Seitz 2019-03-18 16:23:26 UTC
It looks like we have an(other) assertion failure in the dwarf reader (at dwarf2read.c:5263) in dw2_find_pc_sect_compunit_symtab.

Is it possible for you to share a reproducer for this?

Comment 13 Peter 2019-03-18 18:35:09 UTC
Puh. Sorry, no. Did not happen again :-(

Comment 14 ltournayre 2019-04-05 17:39:30 UTC
*** Bug 1696834 has been marked as a duplicate of this bug. ***

Comment 15 krinkodot22 2019-04-16 01:58:33 UTC
Similar problem has been detected:

Within a sourced Python script, running `gdb.execute('quit')` during an exit event handler causes a segfault.

To reproduce, run gdb on any executable after sourcing this Python script:

def on_exit(event):
    gdb.execute('quit')
gdb.events.exited.connect(on_exit)

When the inferior ends, gdb should quit, but it segfaults instead.

This happens on gdb 8.2 and newer.

reporter:       libreport-2.10.0
backtrace_rating: 4
cmdline:        /usr/bin/gdb -nx -q -x on_exit.py -ex run simple_race
crash_function: dump_core
executable:     /usr/libexec/gdb
journald_cursor: s=c228e1adbf734ffb85d748f6f7e66196;i=cb180;b=ff62d51eb4f146d2b9d6cc9cc0f1293f;m=2edde00e02;t=5869b732947f2;x=4ffe5fc8a1bad054
kernel:         5.0.6-200.fc29.x86_64
package:        gdb-headless-8.2-6.fc29
reason:         gdb killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 16 Dima Ryazanov 2019-04-24 02:08:47 UTC
Similar problem has been detected:

I was reporting a crash of gnome-software.

reporter:       libreport-2.10.0
backtrace_rating: 4
cmdline:        /usr/libexec/gdb -batch -iex add-auto-load-safe-path /var/cache/abrt-di/usr/lib/debug -iex add-auto-load-scripts-directory /var/cache/abrt-di/usr/lib/debug -ex set debug-file-directory /usr/lib/debug:/var/cache/abrt-di/usr/lib/debug -ex file /usr/bin/gnome-software -ex core-file ./coredump -ex thread apply all -ascending backtrace full 1024 -ex info sharedlib -ex print (char*)__abort_msg -ex print (char*)__glib_assert_msg -ex info all-registers -ex disassemble
crash_function: dump_core
executable:     /usr/libexec/gdb
journald_cursor: s=6f09346979c44dee969a84c5eb980a0f;i=184d6c;b=4bb9c7e4c5b04f1194e43d255781aba0;m=1dc76ab5;t=5873cd5d369ab;x=9bf0642131aa5496
kernel:         5.0.7-200.fc29.x86_64
package:        gdb-headless-8.2-6.fc29
reason:         gdb killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 17 Sergio Durigan Junior 2019-05-16 18:46:40 UTC
*** Bug 1689137 has been marked as a duplicate of this bug. ***

Comment 18 Sergio Durigan Junior 2019-10-05 20:06:31 UTC
*** Bug 1758802 has been marked as a duplicate of this bug. ***

Comment 19 Ben Cotton 2020-04-30 20:14:29 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 20 Ben Cotton 2020-05-26 18:38:39 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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