https://bugs.kde.org/show_bug.cgi?id=505497
Bug ID: 505497 Summary: Kaffeine crashes when adding multiple DVB-T channels Classification: Applications Product: kaffeine Version First unspecified Reported In: Platform: Arch Linux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: mche...@kernel.org Reporter: alxlve....@gmail.com Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.