Skip to content

Keybase prevents Ubuntu from suspending correctly #28417

@akihirogh

Description

@akihirogh

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] <TASK> [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
Image

Additional numbers
The number 345567

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions