Bug 198879

Summary: Freezing of tasks failed. fuse_request_send 2
Product: Memory Management Reporter: Evgeniy A. Dushistov (dushistov)
Component: OtherAssignee: Andrew Morton (akpm)
Status: NEW ---    
Severity: normal CC: leonard
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.15.3-2 ARCH linux/x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description Evgeniy A. Dushistov 2018-02-22 09:37:13 UTC
Created attachment 274349 [details]
dmesg

The problem described here: https://bugzilla.kernel.org/show_bug.cgi?id=34932 is still relevant. I was suspended notebook that connected to LAN
via wifi, with mounted remote machine fs via sshfs and emacs that
have have open files on sshfs.
Here is error message (full log in attachment):

[97152.457172] Freezing of tasks failed after 20.002 seconds (1 tasks refusing to freeze, wq_busy=0):
[97152.457429] emacs           D    0 16443  17589 0x00000004
[97152.457434] Call Trace:
[97152.457451]  ? __schedule+0x24b/0x8c0
[97152.457459]  ? __wake_up_common+0x74/0x120
[97152.457463]  ? preempt_count_add+0x68/0xa0
[97152.457468]  schedule+0x32/0x90
[97152.457480]  request_wait_answer+0xaa/0x1e0 [fuse]
[97152.457484]  ? wait_woken+0x80/0x80
[97152.457491]  __fuse_request_send+0x61/0x80 [fuse]
[97152.457498]  fuse_simple_request+0xbd/0x190 [fuse]
[97152.457505]  fuse_dentry_revalidate+0x1ac/0x2f0 [fuse]
[97152.457516]  lookup_fast+0x26b/0x2d0
[97152.457521]  walk_component+0x48/0x2e0
[97152.457525]  link_path_walk+0x2b1/0x500
[97152.457532]  ? path_init+0x19c/0x330
[97152.457536]  path_lookupat+0x56/0x1f0
[97152.457541]  filename_lookup+0xb6/0x150
[97152.457548]  ? __check_object_size+0x9b/0x1a0
[97152.457553]  ? strncpy_from_user+0x48/0x160
[97152.457559]  ? SyS_faccessat+0xa6/0x240
[97152.457562]  SyS_faccessat+0xa6/0x240
[97152.457569]  do_syscall_64+0x75/0x190
[97152.457574]  entry_SYSCALL_64_after_hwframe+0x21/0x86
[97152.457578] RIP: 0033:0x7ff0cbc0c6d2
[97152.457580] RSP: 002b:00007ffd3e36d840 EFLAGS: 00000246 ORIG_RAX: 000000000000010d
[97152.457583] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff0cbc0c6d2
[97152.457585] RDX: 0000000000000004 RSI: 00000000049d7ad8 RDI: ffffffffffffff9c
[97152.457587] RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000002e1fd60
[97152.457589] R10: 0000000004c2f9b0 R11: 0000000000000246 R12: 0000000000000004
[97152.457591] R13: 0000000000000001 R14: 00007ffd3e36d9e8 R15: 0000000000005490
Comment 1 Leonard 2018-09-19 00:33:09 UTC
Also affects 4.18.8 and is triggered frequently by keybase https://github.com/keybase/client/issues/12458

A workaround is to kill / start keybase before / after suspend https://gist.github.com/psidhu/a65ab9632bd6c6d400ea3fe25e959fa0