Bug 479760

Summary: Process becomes uninterruptable; requires forced reboot
Product: [Applications] kate Reporter: Ryan <jryan.daniels>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: cullmann, nicolas.fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ryan 2024-01-13 19:07:06 UTC
SUMMARY
While working with Kate, some open sessions may become frozen. Trying to kill the frozen sessions does not work. Looking at the 'properties' with system monitor shows that they are uninterruptable. 
Attempting to reboot/shutdown the computer does not complete. I need to hold the power button to get the computer to reboot/shutdown (I am assuming the uninterruptable kate session prevents the computer from shutting down).

STEPS TO REPRODUCE
1. Open Kate, start a session from the session manager window.
2. Work.
3. Session (sometimes) freezes.

OBSERVED RESULT
Session becomes uninterruptable.

EXPECTED RESULT
No freeze or that the session can be killed if it does freeze.

SOFTWARE/OS VERSIONS
snap-id:      AhMXNopXhzZ7XDMS9mZ2H2G40U3h3SkR
tracking:     latest/stable
refresh-date: 18 days ago, at 22:30 CET
channels:
  latest/stable:    23.08.4 2023-12-10 (171) 276MB classic
  latest/candidate: 23.08.4 2023-12-09 (171) 276MB classic
  latest/beta:      ↑                              
  latest/edge:      ↑                              
installed:          23.08.4            (171) 276MB classic

ADDITIONAL INFORMATION
My home user directory is a zfs pool mounted inside the /home dir.
I am accessing text files on an external drive (zpool) mounted inside my user home directory.... So it is a zfs pool mounted inside another zfs pool.
I would guess that this may have something to do with the issue but it is a guess. I bring zfs up because in the past I have had problems shutting down when zfs would not unmount/export/whatever-it-does-at-shutdown and I could not power down. I don't know if zfs is stuck because of kate or if kate is stuck for some other reason.
No other snaps /apps have produced similar issues to date.
Comment 1 Ryan 2024-01-13 19:09:29 UTC
OS: Ubuntu 23.10 x86_64 
Host: ASUS TUF Gaming A15 FA506IH_FA506IH 1.0 
Kernel: 6.5.0-14-generic 
Uptime: 4 hours, 20 mins 
Packages: 2264 (dpkg), 70 (snap) 
Shell: bash 5.2.15 
Resolution: 1920x1080 
WM: sway 
Terminal: kitty 
CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz 
GPU: AMD ATI 05:00.0 Renoir 
GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M [NOT IN USE]
Memory: 37176MiB / 39516MiB
Comment 2 Christoph Cullmann 2024-03-15 18:17:24 UTC
Hi, I can not reproduce that.
As you mention below, you have a very specific setup.
If there is a way to reproduce it without that, I could take a look, but I don't see any way to find nor fix that without a proper reproduction way.
Comment 3 Bug Janitor Service 2024-03-30 03:46:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Ryan 2024-04-07 12:19:19 UTC
I completely forgot I filed the bug.
It seems to have been an issue with my zpool set-up and my wavlink external drive. Drawing power from the wavlink hub resulted in the device transiently disconnecting. This caused zpool to stop responding and kate seemed to be worst affected by this but the problem is not a kate issue.