Bug 2277661

Summary: [abrt] bluez: g_main_context_add_poll_unlocked(): bluetoothd killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Maxim Therrien <acerspyro>
Component: bluezAssignee: Peter Robinson <pbrobinson>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: acerspyro, dwmw2, gopalkrishna.tiwari, lnicola, pbrobinson, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/785a007137b4ae7f635fa5791c9e73292b0e9d5
Whiteboard: abrt_hash:c942fd0452e3abb022369da5079f7b7ce5980228;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-16 08:12:55 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: exploitable
none
File: dso_list
none
File: var_log_messages
none
File: backtrace none

Description Maxim Therrien 2024-04-29 01:36:57 UTC
Description of problem:
Keychron K14 went to sleep. Pressed a key to wake it up, the keyboard indicated it was connected but Fedora was not registering any keys. Bluetoothd crashed a few seconds later.

Version-Release number of selected component:
bluez-5.75-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         bluetoothd killed by SIGSEGV
journald_cursor: s=5903d0671446456d995c10da180c3169;i=1dbbb2d;b=bd80effe6ecb422f81b44b95c94d2117;m=27d10ddb5;t=616b84aae5294;x=b1b5d2d8e810d9de
executable:     /usr/libexec/bluetooth/bluetoothd
cmdline:        /usr/libexec/bluetooth/bluetoothd
cgroup:         0::/system.slice/bluetooth.service
rootdir:        /
uid:            0
kernel:         6.8.7-300.fc40.x86_64
package:        bluez-5.75-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: g_main_context_add_poll_unlocked
comment:        Keychron K14 went to sleep. Pressed a key to wake it up, the keyboard indicated it was connected but Fedora was not registering any keys. Bluetoothd crashed a few seconds later.

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 g_main_context_add_poll_unlocked at ../glib/gmain.c:4628
 #1 unblock_source at ../glib/gmain.c:3266
 #3 g_main_context_dispatch_unlocked at ../glib/gmain.c:4152
 #4 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4217
 #6 mainloop_run at src/shared/mainloop-glib.c:66
 #7 mainloop_run_with_signal at src/shared/mainloop-notify.c:188

Comment 1 Maxim Therrien 2024-04-29 01:37:00 UTC
Created attachment 2029880 [details]
File: proc_pid_status

Comment 2 Maxim Therrien 2024-04-29 01:37:01 UTC
Created attachment 2029881 [details]
File: maps

Comment 3 Maxim Therrien 2024-04-29 01:37:02 UTC
Created attachment 2029882 [details]
File: limits

Comment 4 Maxim Therrien 2024-04-29 01:37:03 UTC
Created attachment 2029883 [details]
File: environ

Comment 5 Maxim Therrien 2024-04-29 01:37:05 UTC
Created attachment 2029884 [details]
File: open_fds

Comment 6 Maxim Therrien 2024-04-29 01:37:06 UTC
Created attachment 2029885 [details]
File: mountinfo

Comment 7 Maxim Therrien 2024-04-29 01:37:07 UTC
Created attachment 2029886 [details]
File: os_info

Comment 8 Maxim Therrien 2024-04-29 01:37:08 UTC
Created attachment 2029887 [details]
File: cpuinfo

Comment 9 Maxim Therrien 2024-04-29 01:37:09 UTC
Created attachment 2029888 [details]
File: core_backtrace

Comment 10 Maxim Therrien 2024-04-29 01:37:10 UTC
Created attachment 2029889 [details]
File: exploitable

Comment 11 Maxim Therrien 2024-04-29 01:37:11 UTC
Created attachment 2029890 [details]
File: dso_list

Comment 12 Maxim Therrien 2024-04-29 01:37:13 UTC
Created attachment 2029891 [details]
File: var_log_messages

Comment 13 Maxim Therrien 2024-04-29 01:37:14 UTC
Created attachment 2029892 [details]
File: backtrace

Comment 14 Maxim Therrien 2024-10-02 22:00:29 UTC
This issue stopped happening for a while but began occurring again with the Fedora 41 Beta.

What can I do to provide a better backtrace to help resolve this issue?
It's actively making my work difficult as Bluetooth keeps dying and I rely on Bluetooth peripherals to work.

I did notice on F40 that, while Bluetooth did work, the quality of the connection got progressively worse and worse until I restarted bluez.
Still using an AX210 chipset.

Comment 15 Maxim Therrien 2024-10-02 22:42:56 UTC
This crash also triggers a Wireplumber crash, see here:

https://bugzilla.redhat.com/show_bug.cgi?id=2316221

Comment 16 Aoife Moloney 2025-04-25 10:33:07 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
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
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 17 Fedora Admin user for bugzilla script actions 2025-05-07 03:01:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 18 Fedora Admin user for bugzilla script actions 2025-05-07 16:28:49 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 19 Fedora Admin user for bugzilla script actions 2025-05-08 03:27:47 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 20 Aoife Moloney 2025-05-16 08:12:55 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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

Comment 21 Red Hat Bugzilla 2025-09-14 04:25:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days