Bug 2180119 - [abrt] gdb-headless: quit_force(): gdb killed by SIGSEGV
Summary: [abrt] gdb-headless: quit_force(): gdb killed by SIGSEGV
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 38
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:5ee14f607cdc4abaaef9168926f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-20 18:27 UTC by Dima Ryazanov
Modified: 2023-07-26 18:37 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-23 22:05:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (17.47 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: cgroup (560 bytes, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: open_fds (7.87 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: backtrace (49.27 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: dso_list (2.16 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: maps (3.98 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: environ (2.68 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: cpuinfo (2.85 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: os_info (756 bytes, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: proc_pid_status (1.40 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: limits (1.29 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details
File: mountinfo (3.98 KB, text/plain)
2023-03-20 18:27 UTC, Dima Ryazanov
no flags Details

Description Dima Ryazanov 2023-03-20 18:27:04 UTC
Description of problem:
GDB crashes while trying to generate a stack trace for a problem report for xdg-desktop-portal-gnome

Version-Release number of selected component:
gdb-headless-13.1-1.fc38

Additional info:
reporter:       libreport-2.17.8
reason:         gdb killed by SIGSEGV
cmdline:        /usr/libexec/gdb -batch -ex $'set debuginfod enabled on' "" -ex $'file /usr/libexec/gdb' -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
rootdir:        /
uid:            1000
type:           CCpp
package:        gdb-headless-13.1-1.fc38
runlevel:       N 5
journald_cursor: s=9b3e7e5162454feabff781758b4468ec;i=145278;b=e412b57d60c04409aa77889def5cbba0;m=10d0ba2b;t=5f759075f99e8;x=1ff2c68e782715bb
comment:        GDB crashes while trying to generate a stack trace for a problem report for xdg-desktop-portal-gnome
backtrace_rating: 4
crash_function: quit_force
executable:     /usr/libexec/gdb
kernel:         6.2.7-300.fc38.x86_64

Truncated backtrace:
Thread no. 1 (4 frames)
 #40 quit_force at ../../gdb/top.c:1894
 #41 captured_main_1 at ../../gdb/main.c:1311
 #42 captured_main at ../../gdb/main.c:1320
 #43 gdb_main at ../../gdb/main.c:1345

Comment 1 Dima Ryazanov 2023-03-20 18:27:07 UTC
Created attachment 1952139 [details]
File: core_backtrace

Comment 2 Dima Ryazanov 2023-03-20 18:27:08 UTC
Created attachment 1952140 [details]
File: cgroup

Comment 3 Dima Ryazanov 2023-03-20 18:27:10 UTC
Created attachment 1952141 [details]
File: open_fds

Comment 4 Dima Ryazanov 2023-03-20 18:27:11 UTC
Created attachment 1952142 [details]
File: backtrace

Comment 5 Dima Ryazanov 2023-03-20 18:27:13 UTC
Created attachment 1952143 [details]
File: dso_list

Comment 6 Dima Ryazanov 2023-03-20 18:27:15 UTC
Created attachment 1952144 [details]
File: maps

Comment 7 Dima Ryazanov 2023-03-20 18:27:16 UTC
Created attachment 1952145 [details]
File: environ

Comment 8 Dima Ryazanov 2023-03-20 18:27:18 UTC
Created attachment 1952146 [details]
File: cpuinfo

Comment 9 Dima Ryazanov 2023-03-20 18:27:19 UTC
Created attachment 1952147 [details]
File: os_info

Comment 10 Dima Ryazanov 2023-03-20 18:27:21 UTC
Created attachment 1952148 [details]
File: proc_pid_status

Comment 11 Dima Ryazanov 2023-03-20 18:27:22 UTC
Created attachment 1952149 [details]
File: limits

Comment 12 Dima Ryazanov 2023-03-20 18:27:23 UTC
Created attachment 1952150 [details]
File: mountinfo

Comment 13 Kevin Buettner 2023-03-22 23:22:48 UTC
Any chance of getting the core file for the xdg-desktop-portal-gnome crash?

Comment 14 Dima Ryazanov 2023-03-22 23:42:31 UTC
It looks like the problem reporter deleted the core file a second after gdb crashed... So helpful. This is what I see in the systemd log:

Mar 20 11:23:51 dima-dell systemd-coredump[10049]: [🡕] Process 10033 (gdb) of user 1000 dumped core.
...
Mar 20 11:23:52 dima-dell abrtd[1369]: Size of '/var/spool/abrt' >= 5000 MB (MaxCrashReportsSize), deleting old directory 'ccpp-2023-03-20-10:52:34.505094-155525'
Mar 20 11:23:53 dima-dell gnome-abrt[10013]: '/var/spool/abrt/ccpp-2023-03-20-10:52:34.505094-155525' does not exist
Mar 20 11:23:55 dima-dell gnome-abrt[10013]: '/var/spool/abrt/ccpp-2023-03-20-10:52:34.505094-155525' does not exist
Mar 20 11:23:56 dima-dell abrt-notification[10127]: [🡕] Process 10033 (gdb) crashed in ??()

Comment 15 Kevin Buettner 2023-03-23 22:05:37 UTC
Unfortunately, I don't think we'll be able to fix this without a way to reproduce it.

Comment 16 codeworks 2023-04-26 15:34:17 UTC
This does happen all the time when opening the bug report after gnome-shell crashed to send it.
Shortly after this gdb crash happens to me.
I sent my report, but somehow it doesn't show here?!?

Comment 17 Walber 2023-07-26 18:37:22 UTC
The problem happen when create a report for gnome-shell


reporter:       libreport-2.17.11
package:        gdb-headless-13.2-2.fc38
executable:     /usr/libexec/gdb
crash_function: quit_force
kernel:         6.3.12-200.fc38.x86_64
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.freedesktop.GnomeAbrt-91795.scope
type:           CCpp
cmdline:        /usr/libexec/gdb -batch -ex $'set debuginfod enabled on' "" -ex $'file /usr/bin/gnome-shell' -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
reason:         gdb killed by SIGSEGV
uid:            1000
comment:        The problem happen when create a report for gnome-shell
journald_cursor: s=aa1aeb162c5a4917a27ad2358b45360a;i=e482f;b=d5c8adcc626342ea9974aa4bb85f1447;m=58abd811d;t=601681428fb80;x=d4de6f17854c87e1
backtrace_rating: 4
rootdir:        /
runlevel:       N 5


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