Bug 479872 - Option --lastchannel doesn't free dvb adapter after stop
Summary: Option --lastchannel doesn't free dvb adapter after stop
Status: REPORTED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 23:00 UTC by Valerio Vanni
Modified: 2024-01-15 23:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valerio Vanni 2024-01-15 23:00:21 UTC
SUMMARY
***
If I start kaffeine without options and I play a DVB channel when I click stop, kaffeine frees immediately /dev/dvb/xxx device.
If I start kaffeine with --lastchannel and do the same (click stop), /dev/dvb/xxx device is busy.

A child process is locking it: 

lsof finds this:
kioslave5 21356                          valerio   35u      CHR              212,3         0t0    1173529 /dev/dvb/adapter0/frontend0

  21356 ?        S      0:00 /lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so tags  local:/run/user/1000/kaffeineppPvOO.1.kioworker.socket

After some minutes, this process ends and dvb device is free an can be rmmod-ed.

***

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Bookworm 64 bit
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.18