Keybase prevents Ubuntu from suspending correctly
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
**Describe the bug**
I'm using Keybase desktop-app `6.5.1-20250428154451+19f9cfeddb` on Ubuntu `24.04.3 LTS`.
I found an issue with suspending the system, getting stuck with `Freezing user space process failed…` message. I found proper logs and system could suspend only after I manually quit Keybase app. It seems like the cause was the `task:keybase-redirec`
**To Reproduce**
Steps to reproduce the behavior:
1. Run the Keybase
2. Try to suspend Ubuntu system
3. Getting black messages on the screenshot below and after some time getting back to log in screen
4. Find the reason with `dmesg | grep -A20 "Freezing user space processes failed"`
5. `[Fri Aug 22 20:00:59 2025] Freezing user space processes failed after 20.005 seconds (2 tasks refusing to freeze, wq_busy=0): [Fri Aug 22 20:00:59 2025] task:keybase-redirec state:D stack:0 pid:4015 tgid:4008 ppid:2947 task_flags:0x400040 flags:0x00004006 [Fri Aug 22 20:00:59 2025] Call Trace: [Fri Aug 22 20:00:59 2025] [Fri Aug 22 20:00:59 2025] __schedule+0x2c0/0x640 [Fri Aug 22 20:00:59 2025] schedule+0x29/0xd0 [Fri Aug 22 20:00:59 2025] request_wait_answer+0xda/0x250 [Fri Aug 22 20:00:59 2025] ? __pfx_autoremove_wake_function+0x10/0x10 [Fri Aug 22 20:00:59 2025] __fuse_simple_request+0xd9/0x2d0 [Fri Aug 22 20:00:59 2025] fuse_lookup_name+0xcb/0x270 [Fri Aug 22 20:00:59 2025] fuse_lookup+0x86/0x1c0 [Fri Aug 22 20:00:59 2025] ? __d_alloc+0x195/0x230 [Fri Aug 22 20:00:59 2025] fuse_atomic_open+0x104/0x1c0 [Fri Aug 22 20:00:59 2025] lookup_open.isra.0+0x22f/0x600 [Fri Aug 22 20:00:59 2025] ? __legitimize_path+0x30/0x80 [Fri Aug 22 20:00:59 2025] open_last_lookups+0x234/0x550 [Fri Aug 22 20:00:59 2025] path_openat+0x98/0x2d0 [Fri Aug 22 20:00:59 2025] ? psi_group_change+0x222/0x510 [Fri Aug 22 20:00:59 2025] do_filp_open+0xd4/0x1a0 [Fri Aug 22 20:00:59 2025] do_sys_openat2+0xb3/0xe0 [Fri Aug 22 20:00:59 2025] __x64_sys_openat+0x55/0xa0`
**Expected behavior**
System suspend correctly
**Screenshots**
**Additional numbers**
The number 345567
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the suspend failure with Keybase desktop-app 6.5.1 on Ubuntu 24.04.3 and inspect dmesg output for the keybase-redirec task and FUSE call trace. Trace the responsible Keybase component from that task, then verify that Ubuntu suspends successfully while Keybase is running without requiring the app to be quit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux, ubuntu
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100