After months of bluetooth devices working properly, now whenever I disconnect a device or if it goes to sleep, the bluetooth service crashed with no debugging information. This is the log from udevadm monitor: KERNEL[842.700308] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26/mouse2 (input) UDEV [842.701500] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26/mouse2 (input) KERNEL[842.714147] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26/event25 (input) UDEV [842.714746] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26/event25 (input) KERNEL[842.757535] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [842.758173] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[842.770708] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26 (input) KERNEL[842.770735] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/hidraw/hidraw3 (hidraw) KERNEL[842.770751] unbind /devices/virtual/misc/uhid/0005:1235:AA22.0004 (hid) KERNEL[842.770770] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004 (hid) UDEV [842.771307] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/input/input26 (input) UDEV [842.772180] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004/hidraw/hidraw3 (hidraw) UDEV [842.772585] unbind /devices/virtual/misc/uhid/0005:1235:AA22.0004 (hid) UDEV [842.772814] remove /devices/virtual/misc/uhid/0005:1235:AA22.0004 (hid) KERNEL[900.458042] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [900.459660] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[900.843728] add /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) KERNEL[900.843780] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27 (input) KERNEL[900.843879] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/mouse2 (input) KERNEL[900.843904] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/event25 (input) KERNEL[900.843920] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/hidraw/hidraw3 (hidraw) KERNEL[900.843955] bind /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) UDEV [900.844530] add /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) UDEV [900.845348] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27 (input) UDEV [900.846151] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/mouse2 (input) UDEV [900.846990] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/hidraw/hidraw3 (hidraw) UDEV [900.926506] add /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/event25 (input) UDEV [900.927037] bind /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) KERNEL[1706.853374] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/mouse2 (input) UDEV [1706.854588] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/mouse2 (input) KERNEL[1706.870762] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/event25 (input) UDEV [1706.871354] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27/event25 (input) KERNEL[1706.897389] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27 (input) KERNEL[1706.897422] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/hidraw/hidraw3 (hidraw) KERNEL[1706.897440] unbind /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) KERNEL[1706.897460] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) UDEV [1706.898363] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/input/input27 (input) UDEV [1706.899033] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005/hidraw/hidraw3 (hidraw) UDEV [1706.899470] unbind /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) UDEV [1706.899746] remove /devices/virtual/misc/uhid/0005:1235:AA22.0005 (hid) KERNEL[1706.903917] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [1706.904594] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2237.429124] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [2237.430547] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2239.753947] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [2239.754603] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2242.423997] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [2242.424812] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2244.677416] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [2244.678053] remove /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2262.091084] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) UDEV [2262.092666] add /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:3585 (bluetooth) KERNEL[2262.506620] add /devices/virtual/misc/uhid/0005:1235:AA22.0006 (hid) KERNEL[2262.506870] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28 (input) KERNEL[2262.506997] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28/mouse2 (input) KERNEL[2262.507066] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28/event25 (input) KERNEL[2262.507148] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/hidraw/hidraw3 (hidraw) KERNEL[2262.507176] bind /devices/virtual/misc/uhid/0005:1235:AA22.0006 (hid) UDEV [2262.507440] add /devices/virtual/misc/uhid/0005:1235:AA22.0006 (hid) UDEV [2262.508311] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28 (input) UDEV [2262.509294] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28/mouse2 (input) UDEV [2262.509976] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/hidraw/hidraw3 (hidraw) UDEV [2262.573133] add /devices/virtual/misc/uhid/0005:1235:AA22.0006/input/input28/event25 (input) UDEV [2262.573645] bind /devices/virtual/misc/uhid/0005:1235:AA22.0006 (hid) Below my emerge --info emerge --info Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r7, 5.15.7-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.15.7-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-glibc2.33 KiB Mem: 16266948 total, 6974796 free KiB Swap: 15624188 total, 15624188 free Timestamp of repository gentoo: Fri, 10 Dec 2021 11:00:01 +0000 Head commit of repository gentoo: f75b25b8bc6cd98aaf363e6c46f3e02fb79cde86 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r3::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo dev-lang/rust: 1.56.1::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7-r3::poly-c sys-apps/openrc: 0.44.9::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/gcc: 10.3.0-r2::gentoo, 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: eclipse location: /var/lib/layman/eclipse masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 nest location: /var/lib/layman/nest masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 vowstar location: /var/lib/layman/vowstar masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="es_CL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j7" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities addressbook alsa amd64 bluetooth branding brightness-control browser-integration btrfs bzip2 cairo calendar cdda cdr cli crypt cryptsetup cuda cups dbus declarative display-manager dmraid dri driver dts dvd dvdr elogind emboss encode exif f2fs fat flac fortran gdbm gif gimp gles2 googledrive gphoto2 gpm gui heif hfs iconv icu ipv6 java jfs jpeg kde kipi kms kwallet lcms ldap libglvnd libnotify libtirpc lm-sensors mad marble mdadm mediaplayer mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntfs ntp ogg opengl openmp pam pango pcre pdf plasma pm-utils png policykit ppds pulseaudio python qml qt5 readline reiser4 reiserfs scanner sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg thunderbolt tiff tools truetype udev udf udisks unicode upower usb uvm vorbis wayland widgets wifi winbind wxwidgets x264 xattr xcb xfs xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="es en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel nvidia i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS Reproducible: Always Steps to Reproduce: 1.connect bluetooth device 2.wait until device goes to sleep or disconnect it. 3.bluetooth service will crash Actual Results: Bluetooth service crashed and unable to connect audio devices after service restart Expected Results: Bluetooth service continues working net-wireless/bluez-5.62-r2:0/3::gentoo USE="cups debug mesh obex readline udev -btpclient -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8 (-python3_10)" 0 KiB sys-fs/udev-249.6-r2::gentoo USE="acl kmod (split-usr) (-selinux) -test" ABI_X86="32 (64) (-x32)" 0 KiB
Created attachment 758126 [details] emerge --info
Created attachment 758127 [details] udevadm monitor output
maybe try bluez-5.62-r3 , it has some disconnect fix
testing it right now, will update after a couple of hours and close if necessary