[Pkg-kde-extras] Bug#1103728: kaffeine: Bug#1103728: crashes when adding another TV-recording or when trying to add TV-channels

Bernhard Übelacker bernhardu at mailbox.org
Mon Dec 15 14:48:01 GMT 2025


Am 15.12.25 um 13:12 schrieb Dirk Ritter:
> Hello!
> 
> Am Samstag, dem 13.12.2025 um 16:13 +0100 schrieb Bernhard Übelacker:
>> Hello,
>> I received also a crash [3] when using kaffeine with a DVB-S stick
>> and trying after a scan new found channels.
>>
>> The crash in [1] looks similar.
>>
>> I opened an upstream merge request [2] to fix usage of std::prev,
>> which returns currently one element after end(),
>> not the element before end() and therefore crashes.
> 
> Sounds good to me, yet (while you're at it) it would probably be the
> exact same issue for trying to add entries to shedule recordings of
> live TV, where I first noticed the issue, i.e. a single entry for a
> single recording can be added (as is the case for channels), but trying
> to shedule yet another recording crashes kaffeine.


The commit from 2024 introduced the std::prev in two locations, one is
in a kind of general "sqlinterface". So fixing this may already avoid
this schedule recording crash too.


> The program is next to unusable under Wayland anyway, because besides
> a video window showing up separately, even scrolling channel lists or
> merely showing them is a bit like a fight, requiring mouse klicks
> into the list to make it update the entry you just clicked, changing
> the text to what it actually should be, but there simply is no
> replacement for live TV on the desktop I'm aware of, unfortunately,
> so no matter how unusable it is, it would still be really nice if that
> could at least be made to work again somehow without crashing - no
> matter how broken that ancient, seemingly abandoned code base is.


It looks like kaffeine is simply embedding a VLC X11 window, which is 
not working if kaffeine runs in wayland mode.
Therefore a workaround seems to be to start kaffeine forced to X11 too:

   QT_QPA_PLATFORM=xcb kaffeine


> It's a glaring hole in Gnome, though and projects trying to tackle
> it never really got to the point of delivering what kaffeine did and
> died. Most notably was MeTV, IMHO, but that's also ancient history
> by now.
> 
> Anyway - any efforts to at least make it „work“ again will be much
> appreciated. <3
> 
> Kind Regards,
> Dirk


Kind regards,
Bernhard



More information about the pkg-kde-extras mailing list