Bug 505497 - Kaffeine crashes when adding multiple DVB-T channels
Summary: Kaffeine crashes when adding multiple DVB-T channels
Status: REPORTED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-12 02:34 UTC by Alexis Lavie
Modified: 2025-09-24 21:08 UTC (History)
1 user (show)

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


Attachments
Kaffeine_Crash_Debugging_Info (61.71 KB, text/plain)
2025-09-24 21:08 UTC, Philip Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Lavie 2025-06-12 02:34:35 UTC
SUMMARY
The DVB-T channels found from a fresh DVB-T scan can not be added to the saved channels of Kaffeine. Kaffeine immediately crashes on clicking 'OK' on the Channels / Scan window. This bug affects the latest release of Kaffeine: 2.0.19

Whether Kaffeine's installation comes from the Arch Linux official repositories or Flatpak (Flathub) the bug is present.

STEPS TO REPRODUCE
*For the ease of reproduction I will give instructions for the Flatpak version.*

1. Install Kaffeine's latest Flatpak package `flatpak install org.kde.kaffeine`
2. Scan DVB-T channels, add all selected channels or all filtered channels (on the right pane) to the saved channels list (on the left pane)
3. Click 'OK' (to save), Kaffeine immediately crashes

4. Adding a first single channel works, the channel is saved and Kaffeine does not crash
5. Adding a single or multiple channels thereafter does not work, Kaffeine crashes and the newly added channel(s) are not saved

OBSERVED RESULT
Kaffeine crashes and upon restart the changes haven't even been saved.

EXPECTED RESULT
Kaffeine shall not crash and the channels shall have been saved.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.12.33-1-lts (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
DVB-T Device: DiBcom 7000PC Hauppauge WinTV-NOVA-TD (Dual tuner with Diversity mode)

Kaffeine did not have this issue a few months ago, i.e. last time I performed a scan.

WORKAROUND
*For the ease of comprehension I will use the standard location of Kaffeine's configuration files in the following steps.*
**The Kaffeine's user configuration directory used by the Flatpak package can be found under this location: `~/.var/app/org.kde.kaffeine/data/kaffeine/`**

1. List available Kaffeine's Flatpak packages `flatpak remote-info --log flathub org.kde.kaffeine`
```

Kaffeine - Multimedia Player

        ID: org.kde.kaffeine
       Ref: app/org.kde.kaffeine/x86_64/stable
      Arch: x86_64
    Branch: stable
   Version: 2.0.18
   License: GPL-2.0+
Collection: org.flathub.Stable
  Download: 34,1 Mo
 Installed: 84,3 Mo
   Runtime: org.kde.Platform/x86_64/5.15-24.08
       Sdk: org.kde.Sdk/x86_64/5.15-24.08

    Commit: c56775b98d9faf74874a6b815e0bd4fd32e03eb9cf73c2f9e93d3e196d074b43
    Parent: 264b8892e0380daaddf134c92ccba867c896d9e30ce78348ec24f43095676e30
   Subject: Merge pull request #8 from Erick555/Erick555-2408 (b98c0c3a1a1c)
      Date: 2025-05-15 09:53:27 +0000
   History:

    Commit: 264b8892e0380daaddf134c92ccba867c896d9e30ce78348ec24f43095676e30
   Subject: Update Runtime(s) to 23.08 (e19df021)
      Date: 2024-01-29 10:34:43 +0000

[...]
```

2. Run Kaffeine and update the latest scan data, copy the `~/.local/share/kaffeine/scanfile.dvb` file to a safe location

3. Install the previous version of Kaffeine's Flatpak package `flatpak update --commit=264b8892e0380daaddf134c92ccba867c896d9e30ce78348ec24f43095676e30 org.kde.kaffeine`

4. Copy back the previously saved `~/.local/share/kaffeine/scanfile.dvb` file, the update scan data function is broken on this old version

5. Scan and add DVB-T channels as usual

6. Copy the `~/.local/share/kaffeine/sqlite.db` file to a safe location

7. Purge Kaffeine's installation `flatpak uninstall org.kde.kaffeine --delete-data`

8. Install the latest version of Kaffeine's Flatpak package `flatpak install flathub org.kde.kaffeine`

9. Run Kaffeine and update the latest scan data (optional), quit Kaffeine

10. Copy back the previously saved `~/.local/share/kaffeine/sqlite.db` file

11. Run Kaffeine, the channels are shown in the saved channels list and can be watched

12. Editing the details of a single channel even works
Comment 1 Philip Murray 2025-09-07 20:48:12 UTC
I am experiencing the same bug on a fresh Debian 13 Trixie installation. Installed Kaffeine via apt and it is the latest version 2.0.19.
I can add a single channel but if I try to add more than one it crashes. I have tried both X11 & Wayland; same issue.
Comment 2 Philip Murray 2025-09-24 21:08:42 UTC
Created attachment 185227 [details]
Kaffeine_Crash_Debugging_Info

In Debian 13 I have installed Kaffeine's debugging tools & attached the output while making it crash. Hopefully it might be helpful.