Bug 2467251

Summary: [abrt] gdb-headless: dump_core(): gdb killed by SIGABRT
Product: [Fedora] Fedora Reporter: Mr Beedell, Roke Julian Lockhart <8ru2u4gz>
Component: gdbAssignee: Andrew Burgess <aburgess>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: 8ru2u4gz, aburgess, ahajkova, fweimer, guinevere, jan, keiths, kevinb, mcermak, mkolar, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9afeec6b9ed7578f8857afc0b3cfc793fc2a348
Whiteboard: abrt_hash:e78adebb2e7cd965defe996b3663d35a39808bb8;VARIANT_ID=kde;
Fixed In Version: gdb-17.1-6.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-18 08:31:31 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: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: dso_list
none
File: backtrace
none
`/var/spool/abrt/ccpp-2026-05-31-15:50:28.359916-278824` none

Description Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:35 UTC
Description of problem:
I was attempting to reproduce the NEW bugs listed at https://bugzilla.redhat.com/rest/bug?product=Fedora&component=0ad&creator=8ru2u4gz&creation_time_end=2026-05-06T00:00:00Z#:~:text=%22id%22%20:%20468585%2C, due to the impending F42 EOL. Blame https://github.com/abrt/gnome-abrt/issues/398#issue-4392045360 for this lacklustre description; I didn't have the time to report them one-by-one.

Version-Release number of selected component:
gdb-headless-17.1-4.fc44

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         gdb killed by SIGABRT
journald_cursor: s=c1f108f1ef4e48808a377c0a73f168fc;i=1865045;b=3d0db8fa19f8483d8262762f73da107a;m=2ad03c5a6;t=65125d9935dd9;x=596849a433454409
executable:     /usr/libexec/gdb
cmdline:        /usr/libexec/gdb -batch -ex $'set debuginfod enabled on' "" -ex $'file /usr/bin/pyrogenesis' -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
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.freedesktop.GnomeAbrt
rootdir:        /
uid:            1000
kernel:         6.19.14-300.fc44.x86_64
package:        gdb-headless-17.1-4.fc44
runlevel:       /bin/sh: line 1: runlevel: command not found
backtrace_rating: 4
crash_function: dump_core
comment:        I did as https://bugzilla.redhat.com/rest/bug?product=Fedora&component=0ad&creator=8ru2u4gz&creation_time_end=2026-05-06T00:00:00Z#:~:text=%22id%22%20:%20468585%2C explain. Blame https://github.com/abrt/gnome-abrt/issues/398#issue-4392045360 for this lacklustre description.

Truncated backtrace:
Thread no. 1 (36 frames)
 #4 dump_core at ../../gdb/utils.c:225
 #5 internal_vproblem(internal_problem *, const char *, int, const char *, typedef __va_list_tag __va_list_tag *) at ../../gdb/utils.c:477
 #6 internal_verror at ../../gdb/utils.c:503
 #7 internal_error_loc at ../../gdbsupport/errors.cc:57
 #8 coerce_pieced_ref at ../../gdb/dwarf2/expr.c:616
 #9 valprint_check_validity at ../../gdb/valprint.c:392
 #10 common_val_print at ../../gdb/valprint.c:1132
 #11 cp_print_value_fields at ../../gdb/cp-valprint.c:336
 #12 common_val_print at ../../gdb/valprint.c:1167
 #13 cp_print_value_fields at ../../gdb/cp-valprint.c:336
 #14 common_val_print at ../../gdb/valprint.c:1167
 #15 cp_print_value_fields at ../../gdb/cp-valprint.c:336
 #16 common_val_print at ../../gdb/valprint.c:1167
 #17 py_print_value at ../../gdb/python/py-framefilter.c:250
 #18 enumerate_locals at ../../gdb/python/py-framefilter.c:612
 #19 py_print_locals at ../../gdb/python/py-framefilter.c:681
 #20 py_print_frame at ../../gdb/python/py-framefilter.c:1045
 #21 gdbpy_apply_frame_filter at ../../gdb/python/py-framefilter.c:1236
 #22 apply_ext_lang_frame_filter at ../../gdb/extension.c:533
 #23 backtrace_command_1 at ../../gdb/stack.c:2030
 #24 backtrace_command at ../../gdb/stack.c:2169
 #25 cmd_func at ../../gdb/cli/cli-decode.c:2827
 #26 execute_command at ../../gdb/top.c:565
 #27 std::function<void()>::operator() at /usr/include/c++/16/bits/std_function.h:581
 #28 execute_fn_to_ui_file at ../../gdb/top.c:619
 #29 execute_fn_to_string at ../../gdb/top.c:632
 #30 execute_command_to_string at ../../gdb/top.c:650
 #31 thread_try_catch_cmd at ../../gdb/thread.c:1637
 #32 thread_apply_all_command at ../../gdb/../gdbsupport/gdb_ref_ptr.h:130
 #33 cmd_func at ../../gdb/cli/cli-decode.c:2827
 #34 execute_command at ../../gdb/top.c:565
 #35 catch_command_errors at ../../gdb/main.c:511
 #36 execute_cmdargs at ../../gdb/main.c:610
 #37 captured_main_1 at ../../gdb/main.c:1326
 #38 captured_main at ../../gdb/main.c:1349
 #39 gdb_main at ../../gdb/main.c:1378


Potential duplicate: bug 1419703

Comment 1 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:39 UTC
Created attachment 2139702 [details]
File: proc_pid_status

Comment 2 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:41 UTC
Created attachment 2139703 [details]
File: maps

Comment 3 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:43 UTC
Created attachment 2139704 [details]
File: limits

Comment 4 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:44 UTC
Created attachment 2139705 [details]
File: environ

Comment 5 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:46 UTC
Created attachment 2139706 [details]
File: open_fds

Comment 6 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:47 UTC
Created attachment 2139707 [details]
File: mountinfo

Comment 7 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:49 UTC
Created attachment 2139708 [details]
File: os_info

Comment 8 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:50 UTC
Created attachment 2139709 [details]
File: cpuinfo

Comment 9 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:52 UTC
Created attachment 2139710 [details]
File: core_backtrace

Comment 10 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:54 UTC
Created attachment 2139713 [details]
File: dso_list

Comment 11 Mr Beedell, Roke Julian Lockhart 2026-05-06 14:13:56 UTC
Created attachment 2139715 [details]
File: backtrace

Comment 12 Andrew Burgess 2026-05-16 14:14:08 UTC
The following upstream commits should fix this issue:

* d980317c7f1 gdb: int to bool conversion in valprint.{c,h}
* 958d06262a7 gdb: fix coerce_pieced_ref for multi-piece values
* 7d1d7386561 gdb: rename argument in valprint_check_validity
* 8915de0883c gdb: remove embedded_offset argument that is always 0
* 8f65ab7b71f gdb: use value::embedded_offset in check_pieced_synthetic_pointer

I opened the following PRs to backports these commits:

[F43] https://src.fedoraproject.org/rpms/gdb/pull-request/214
[F44] https://src.fedoraproject.org/rpms/gdb/pull-request/215
[Rawhide] https://src.fedoraproject.org/rpms/gdb/pull-request/216

Comment 13 Andrew Burgess 2026-05-18 08:31:31 UTC
All the PRs have now been merged.  The fix will be available once a new release is made on each branch.

Comment 14 Fedora Update System 2026-05-27 17:56:50 UTC
FEDORA-2026-26cf29cfa1 (gdb-17.1-6.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-26cf29cfa1

Comment 15 Fedora Update System 2026-05-28 01:28:09 UTC
FEDORA-2026-26cf29cfa1 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-26cf29cfa1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-26cf29cfa1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2026-05-29 01:13:07 UTC
FEDORA-2026-26cf29cfa1 (gdb-17.1-6.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Mr Beedell, Roke Julian Lockhart 2026-05-31 17:19:12 UTC
As in https://bugzilla.redhat.com/show_bug.cgi?id=2483633#c0.


reporter:       libreport-2.17.15
type:           CCpp
reason:         gdb killed by SIGABRT
journald_cursor: s=2c1910e140e64b2c86a6ef7504aaa761;i=70ae3;b=e6a4b02f1a2a45f08fe255bba80bfd2f;m=35505b402;t=6531e32e1fb78;x=4fff6db45fda245c
executable:     /usr/libexec/gdb
cmdline:        /usr/libexec/gdb -batch -ex $'set debuginfod enabled on' "" -ex $'file /usr/lib64/powershell/pwsh' -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
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.freedesktop.problems.applet
rootdir:        /
uid:            1000
kernel:         7.0.10-201.fc44.x86_64
package:        gdb-headless-17.1-6.fc44
runlevel:       /bin/sh: line 1: runlevel: command not found
backtrace_rating: 4
crash_function: dump_core
comment:        As in https://bugzilla.redhat.com/show_bug.cgi?id=2483633#c0.

Comment 18 Mr Beedell, Roke Julian Lockhart 2026-05-31 17:28:56 UTC
Is https://bugzilla.redhat.com/show_bug.cgi?id=2467251#c17 a separate problem, or not a problem, etcetera? BTW, although I've cited https://bugzilla.redhat.com/show_bug.cgi?id=2483633#c0 as the cause, it might also have merely occurred when I was debugging what I eventually reported to https://bugzilla.redhat.com/show_bug.cgi?id=2483634#c0, in `konsole` (invoked by `drkonqi-coredump-gui`), because I first needed to work around what https://github.com/abrt/gnome-abrt/issues/388#issue-3328247804 describes.

Comment 19 Kevin Buettner 2026-06-01 21:46:34 UTC
(In reply to Mr. Beedell, Roke Julian Lockhart (RJLB) from comment #18)
> Is https://bugzilla.redhat.com/show_bug.cgi?id=2467251#c17 a separate
> problem, or not a problem, etcetera? BTW, although I've cited
> https://bugzilla.redhat.com/show_bug.cgi?id=2483633#c0 as the cause, it
> might also have merely occurred when I was debugging what I eventually
> reported to https://bugzilla.redhat.com/show_bug.cgi?id=2483634#c0, in
> `konsole` (invoked by `drkonqi-coredump-gui`), because I first needed to
> work around what
> https://github.com/abrt/gnome-abrt/issues/388#issue-3328247804 describes.

IMO, problems in thunderbird and xwaylandvideobridge should not be causing
problems like the one in this bug.  Also, past investigations do not
suggest a link between OOM problems and GDB ABRT failures.  These are likely
problems in GDB.  That said, if you are seeing system instability problems,
those could cause random crashes in pretty much any utility, including GDB.

Comment 20 Mr Beedell, Roke Julian Lockhart 2026-06-01 22:32:38 UTC
Created attachment 2143780 [details]
`/var/spool/abrt/ccpp-2026-05-31-15:50:28.359916-278824`

I've no particular system instability. If I correctly understand that “These are likely problems in GDB” means that https://bugzilla.redhat.com/show_bug.cgi?id=2467251#c17 might be actionable, attached is all that I can provide about it, if of any use. All that it lacks is the core, but the backtrace is present.

Perhaps, like https://bugs.kde.org/show_bug.cgi?id=520792#c2:~:text=Did%20you%20look%20at%20%60%23c1%60%20at%20RedHat%20Bugzilla%3F%20If%20so%2C%20that%27s%20not%20my%20report%2E%20My%20sole%20corroboration%2C%20there%2C%20is%20what%20little%20Abrt%20submitted%2C%20at%20https://bugzilla%2Eredhat%2Ecom/show_bug%2Ecgi%3Fid=2477822%23c13%2C%20for%20me%2E%20Abrt%20can%20erroneously%20collate%20unrelated%20crashes%2E, https://bugzilla.redhat.com/show_bug.cgi?id=2467251#c17 should have been a separate report…

Comment 21 Mr Beedell, Roke Julian Lockhart 2026-07-14 23:00:03 UTC
Might https://bugzilla.redhat.com/show_bug.cgi?id=2500776#c0 be relevant?

Comment 22 Kevin Buettner 2026-07-16 16:34:08 UTC
If https://bugzilla.redhat.com/show_bug.cgi?id=2500776 was correctly categorized, then, no, I don't think it's relevant here.  That said, it's possible that marking it as a duplicate of the recent use-after-free problem was not correct.  If the bug mentioned there is still a problem in gdb-17.2-2.fc44 (or any other current Fedora release), then we should definitely take a closer look at it.  (And it's relevance to this ticket would still have to be determined.)