SUMMARY Switching to next channel sometimes freezes kaffeine. No log messages in the console. Switch between fullscreen and not fullscreen works and also quiting. The amount of channel switching varies (5-15). I have the feeling that in fullscreen mode it happens earlier. There are also a lot of warnings which are hard to interpret for me. STEPS TO REPRODUCE 1. Start kaffeine 2. Switch channels multiple times with Page-Down OBSERVED RESULT Freezes and the new channel isn't shown. EXPECTED RESULT The video of the new TV channel is shown. SOFTWARE/OS VERSIONS Fedora 29 kaffeine-2.0.15-2.fc29.x86_64 qt5-qtbase-5.11.1-9.fc29.x86_64 ADDITIONAL INFORMATION I ran kaffeine with -d to get some debug information. I ran gdb with "thread apply all bt" to get a thread dump. Both are attached.
Created attachment 116407 [details] Kaffeine Output
Created attachment 116408 [details] GDB thread dump
I found a longstanding bug at Kaffeine, with got fixed at version 2.0.17: https://cgit.kde.org/kaffeine.git/commit/?id=7960208dad913d331ffdd6a129bfdc935337a4e5 Basically, it is a race condition that happens during scan time, but may also happen while doing channel switch. Could you please test if Kaffeine 2.0.17 solves the issue you're facing?
Hi, Our TBS Tuner devices also have the same issue with switching channels on Kaffeine Player. The race condition is still happening in v2.0.18. I have added a 1-second delay to release DVB tuner from the previous playback and the freeze no longer happens again. Please find my GitHub pull request commit here: https://github.com/KDE/kaffeine/pull/4/commits/866c8b519f65aee741ae92cd2459834f52f6c672 Thanks.