[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
Sat Dec 13 15:13:44 GMT 2025


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.

Kind regards,
Bernhard


[1] https://bugs.kde.org/show_bug.cgi?id=505497

[2] https://invent.kde.org/multimedia/kaffeine/-/merge_requests/23

[3]
Program terminated with signal SIGSEGV, Segmentation fault.
#0  SqlInterface::sqlFindFreeKey<QMap<SqlKey, ExplicitlySharedDataPointer<DvbChannel const> > > (this=<optimized out>, container=...) at /usr/include/c++/14/bits/stl_iterator_base_funcs.h:175
175             while (__n--)
[Current thread is 1 (Thread 0x7fc6a0915040 (LWP 2453962))]
(gdb) bt
#0  SqlInterface::sqlFindFreeKey<QMap<SqlKey, ExplicitlySharedDataPointer<DvbChannel const> > > (this=<optimized out>, container=...) at /usr/include/c++/14/bits/stl_iterator_base_funcs.h:175
#1  DvbChannelModel::addChannel (this=this at entry=0x557886ca9730, channel=...) at ./src/dvb/dvbchannel.cpp:376
#2  0x00005578795cb83b in DvbChannelModel::cloneFrom (this=0x557886ca9730, other=<optimized out>) at ./src/dvb/dvbchannel.cpp:300
#3  0x000055787963f8d9 in DvbScanDialog::dialogAccepted (this=0x7fc698002690) at ./src/dvb/dvbscandialog.cpp:488
#4  0x00007fc6a551893e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc6a6308068 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007fc6a5518912 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fc6a625a976 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fc6a625abee in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fc6a625c7d9 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fc6a625ca1c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fc6a61a6038 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fc6a6163052 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fc6a616b37a in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fc6a54dde98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fc6a61693e2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fc6a61c001a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fc6a61c352f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fc6a6163052 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fc6a54dde98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fc6a5944e53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007fc6a591679c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007fc6a3609e24 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#23 0x00007fc6a3704385 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc6a37065b7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc6a3706d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fc6a553aeed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fc6a54dc802 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fc6a54e5222 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00005578795c1a07 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:237



More information about the pkg-kde-extras mailing list