Bug 471025

Summary: kaffeine running after closing interface
Product: [Applications] kaffeine Reporter: Valerio Vanni <valerio.vanni>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.0.15   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Console output, from command "kaffeine" to exit (before CTRL+C)

Description Valerio Vanni 2023-06-14 15:36:21 UTC
Created attachment 159655 [details]
Console output, from command "kaffeine" to exit (before CTRL+C)

SUMMARY
***
I'm using kaffeine 2.0.15 on Debian 10. The issue appeared after update from Debian 9, and it shows most of the times but not every time.
I use kaffeine only to watch TV with DVB-T card, I don't use it as media player.

When I start kaffeine in the first place, it works. I watch DVB-T channels.
Then I close interface, and get no error.

Then I try to open it again, it doesn't open. I see for 3-4 seconds the application appear on bar (nothing in desktop) and then it disappears.

Before trying to open, I find this leftover:
23939 ?        Sl     0:05 /usr/bin/kaffeine
23948 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherToADQP.1.slave-socket local:/run/user/1000/kaffeineaTZRyV.1.slave-socket

And after trials to reopen I find additional "kaffeine" processes:
939 ?        Sl     0:05 /usr/bin/kaffeine
23948 ?        S      0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherToADQP.1.slave-socket local:/run/user/1000/kaffeineaTZRyV.1.slave-socket
23979 ?        Sl     0:00 /usr/bin/kaffeine
23982 ?        Sl     0:00 /usr/bin/kaffeine

I I kill all processes, I can open kaffeine again and everything works.

If I try to launch kaffeine from a terminal, it's the same: it starts, but when I close interface I find console still busy. In this case, I can terminate with CTRL+C and get process killed (and console available again).


***


STEPS TO REPRODUCE
1. Open kaffeine
2. Open television tab and watch some channel
3. Close kaffeine from interface
4. Try to open again kaffeine

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Kaffeine opens

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 10 64bit - kernel 5.15.114
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 Valerio Vanni 2023-11-23 23:55:56 UTC
It doesn't happen anymore on Debian 11 (kaffeine 2.0.18).