https://bugs.kde.org/show_bug.cgi?id=404192

--- Comment #4 from Kyle K <kylek...@gmail.com> ---
(In reply to David Edmundson from comment #1)
> can you get a backtrace with 
> 
> "thread apply all bt"
> 
> thread 0 is just blocked waiting on others
> Also can I see your ~/.config/kdeglobals

Done, sorry I haven't debugged with gdb in ages. I'm not sure if the gdb
backtrace is useful at all. I saw that Thread 7 did get inside of
libGLX_nvidia.so routines, I wonder if this is the thread that's consuming 100%
of a core? I will research if there's a way to tell which Thread is spinning,
seems like rest of the threads are sleeping or waiting.

1 other interesting thing that happens is that my PC fails to suspend whenever
kscreenlocker_greet 100% cpu wakeup incident gets triggered, upon suspend the
PC turns off HDDs/keyboard/mouse but the still continues running and monitor
switches to tty1 and displays this error: Freezing of tasks failed after 20.005
seconds (1 tasks refusing to freeze, wq_busy=0)

In kernel log I see something regarding "QQuickPixmapRea" and 16963, I looked
for 16963 and it happens to be PID of /usr/bin/ksmserver

Feb 11 06:28:43 ROG kernel: Freezing user space processes ... 
Feb 11 06:28:43 ROG kernel: Freezing of tasks failed after 20.005 seconds (1
tasks refusing to freeze, wq_busy=0):
Feb 11 06:28:43 ROG kernel: QQuickPixmapRea D    0 16963  30621 0x00000124
Feb 11 06:28:43 ROG kernel: Call Trace:
Feb 11 06:28:43 ROG kernel:  __schedule+0x29e/0x840
Feb 11 06:28:43 ROG kernel:  schedule+0x2c/0x80
Feb 11 06:28:43 ROG kernel:  request_wait_answer+0xa3/0x210
Feb 11 06:28:43 ROG kernel:  ? wait_woken+0x80/0x80
Feb 11 06:28:43 ROG kernel:  __fuse_request_send+0x69/0x90
Feb 11 06:28:43 ROG kernel:  fuse_request_send+0x29/0x30
Feb 11 06:28:43 ROG kernel:  fuse_simple_request+0xdd/0x1a0
Feb 11 06:28:43 ROG kernel:  fuse_dentry_revalidate+0x1a1/0x330
Feb 11 06:28:43 ROG kernel:  d_revalidate.part.26+0x10/0x20
Feb 11 06:28:43 ROG kernel:  lookup_fast+0x30e/0x330
Feb 11 06:28:43 ROG kernel:  walk_component+0x49/0x4b0
Feb 11 06:28:43 ROG kernel:  ? inode_permission+0x63/0x1a0
Feb 11 06:28:43 ROG kernel:  link_path_walk+0x2c6/0x540
Feb 11 06:28:43 ROG kernel:  path_openat+0x87/0xdd0
Feb 11 06:28:43 ROG kernel:  ? seccomp_run_filters+0x5d/0xc0
Feb 11 06:28:43 ROG kernel:  do_filp_open+0x93/0x100
Feb 11 06:28:43 ROG kernel:  ? __alloc_fd+0x46/0x140
Feb 11 06:28:43 ROG kernel:  do_sys_open+0x177/0x270
Feb 11 06:28:43 ROG kernel:  __x64_sys_openat+0x20/0x30
Feb 11 06:28:43 ROG kernel:  do_syscall_64+0x5a/0x110
Feb 11 06:28:43 ROG kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Feb 11 06:28:43 ROG kernel: RIP: 0033:0x7fb8b1bb1d09
Feb 11 06:28:43 ROG kernel: Code: Bad RIP value.
Feb 11 06:28:43 ROG kernel: RSP: 002b:00007fb89329e660 EFLAGS: 00000293
ORIG_RAX: 0000000000000101
Feb 11 06:28:43 ROG kernel: RAX: ffffffffffffffda RBX: 00007fb88c021f48 RCX:
00007fb8b1bb1d09
Feb 11 06:28:43 ROG kernel: RDX: 0000000000080000 RSI: 00007fb88c021f48 RDI:
00000000ffffff9c
Feb 11 06:28:43 ROG kernel: RBP: 00007fb88c004e20 R08: 0000000000000000 R09:
0000000000000000
Feb 11 06:28:43 ROG kernel: R10: 0000000000000000 R11: 0000000000000293 R12:
0000000000080000
Feb 11 06:28:43 ROG kernel: R13: 00007fb89329e6e8 R14: 00007fb88c004e40 R15:
00007fb89329e988
Feb 11 06:28:43 ROG kernel: OOM killer enabled.
Feb 11 06:28:43 ROG kernel: Restarting tasks ... done.

TO summarize, if PC is cold booted the 1st suspend will go OK, then on wakeup I
will see kscreenlocker_greet eating 100% of cpu core, so I kill it and get back
to DE, on next suspend I cannot suspend the PC due to ksmserver refusing to
freeze its tasks.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to