Bug 296648 - Kaffeine crash during plug of the dvbt-stick
Summary: Kaffeine crash during plug of the dvbt-stick
Status: RESOLVED INTENTIONAL
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Pfister
URL:
Keywords:
: 310133 333626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-23 23:30 UTC by Bernard Ladenthin
Modified: 2017-10-04 09:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.16 KB, text/plain)
2013-03-29 21:11 UTC, Ziktofel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Ladenthin 2012-03-23 23:30:11 UTC
Application: kaffeine (1.2.2)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.3.0-4.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
I opened Kaffeine and a window shows i have no device. But all the days before it has allways work perfectly. I doesnt have switch the dvbt stick or something else. All is plugged in as month ago and worked every day. Yesterday i have done a yum update with the new 3.3 Kernel. My DVBT-Stick: Bus 001 Device 008: ID 0ccd:0097 TerraTec Electronic GmbH Cinergy T RC MKII; I have plugged off the stick during the information about not existing hardware appears and the application crashes.
- Custom settings of the application:

-- Backtrace:
Application: Kaffeine (kaffeine), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f60fe2ce840 (LWP 16954))]

Thread 2 (Thread 0x7f60ebfff700 (LWP 16957)):
#0  0x0000003fce0e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003fcfc44fd8 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003fcfc4549c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003e6a5a7dc6 in QEventDispatcherGlib::processEvents (this=0x7f60e40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x0000003e6a578182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003e6a5783d7 in QEventLoop::exec (this=0x7f60ebffed10, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003e6a478b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x0000003e6a557e7f in QInotifyFileSystemWatcherEngine::run (this=0x2964fa0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003e6a47bb6b in QThreadPrivate::start (arg=0x2964fa0) at thread/qthread_unix.cpp:298
#9  0x0000003fce807d90 in start_thread (arg=0x7f60ebfff700) at pthread_create.c:309
#10 0x0000003fce0f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f60fe2ce840 (LWP 16954)):
[KCrash Handler]
#6  DvbManager::deviceRemoved (this=<optimized out>, backendDevice=0x2b04f10) at /usr/src/debug/kaffeine-1.2.2/src/dvb/dvbmanager.cpp:451
#7  0x000000000042179c in DvbManager::qt_metacall (this=0x292d170, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff73f30970) at /usr/src/debug/kaffeine-1.2.2/x86_64-redhat-linux-gnu/src/moc_dvbmanager.cpp:79
#8  0x0000003e6a58cedd in QMetaObject::activate (sender=0x29629d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73f30970) at kernel/qobject.cpp:3566
#9  0x00000000004232c0 in DvbLinuxDeviceManager::deviceRemoved (this=<optimized out>, _t1=0x2b04f10) at /usr/src/debug/kaffeine-1.2.2/x86_64-redhat-linux-gnu/src/moc_dvbdevice_linux.cpp:115
#10 0x000000000044cea6 in DvbLinuxDeviceManager::componentRemoved (this=0x29629d0, udi=...) at /usr/src/debug/kaffeine-1.2.2/src/dvb/dvbdevice_linux.cpp:966
#11 0x0000000000423321 in DvbLinuxDeviceManager::qt_metacall (this=0x29629d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff73f30b90) at /usr/src/debug/kaffeine-1.2.2/x86_64-redhat-linux-gnu/src/moc_dvbdevice_linux.cpp:89
#12 0x0000003e6a58cedd in QMetaObject::activate (sender=0x29338e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73f30b90) at kernel/qobject.cpp:3566
#13 0x0000003e72e38c65 in Solid::DeviceNotifier::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/solid/solid/devicenotifier.moc:108
#14 0x0000003e72e39b6d in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x29338e0, udi=...) at /usr/src/debug/kdelibs-4.8.1/solid/solid/devicemanager.cpp:207
#15 0x0000003e6a58cce1 in QMetaObject::activate (sender=0x2962330, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73f30d80) at kernel/qobject.cpp:3547
#16 0x0000003e72e4dc15 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/solid/solid/ifaces/devicemanager.moc:108
#17 0x0000003e72e6e344 in Solid::Backends::UDev::UDevManager::slotDeviceRemoved (this=0x2962330, device=...) at /usr/src/debug/kdelibs-4.8.1/solid/solid/backends/udev/udevmanager.cpp:208
#18 0x0000003e6a58cce1 in QMetaObject::activate (sender=0x2962370, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73f30f10) at kernel/qobject.cpp:3547
#19 0x0000003e72e76375 in UdevQt::Client::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/solid/solid/udevqt.moc:153
#20 0x0000003e72e7651c in UdevQt::ClientPrivate::_uq_monitorReadyRead (this=0x2962c00, fd=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/solid/solid/backends/shared/udevqtclient.cpp:107
#21 0x0000003e6a58cce1 in QMetaObject::activate (sender=0x2964930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73f310a0) at kernel/qobject.cpp:3547
#22 0x0000003e6a5d982e in QSocketNotifier::activated (this=<optimized out>, _t1=19) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#23 0x0000003e6a59608b in QSocketNotifier::event (this=0x2964930, e=0x7fff73f31710) at kernel/qsocketnotifier.cpp:317
#24 0x0000003e6abc9994 in notify_helper (e=0x7fff73f31710, receiver=0x2964930, this=0x26201b0) at kernel/qapplication.cpp:4550
#25 QApplicationPrivate::notify_helper (this=0x26201b0, receiver=0x2964930, e=0x7fff73f31710) at kernel/qapplication.cpp:4522
#26 0x0000003e6abce813 in QApplication::notify (this=0x7fff73f319c0, receiver=0x2964930, e=0x7fff73f31710) at kernel/qapplication.cpp:4411
#27 0x0000003e70a51d56 in KApplication::notify (this=0x7fff73f319c0, receiver=0x2964930, event=0x7fff73f31710) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#28 0x0000003e6a57904c in QCoreApplication::notifyInternal (this=0x7fff73f319c0, receiver=0x2964930, event=0x7fff73f31710) at kernel/qcoreapplication.cpp:876
#29 0x0000003e6a5a73b7 in sendEvent (event=0x7fff73f31710, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#30 socketNotifierSourceDispatch (source=0x26229d0) at kernel/qeventdispatcher_glib.cpp:110
#31 0x0000003fcfc44acd in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x0000003fcfc452c8 in ?? () from /lib64/libglib-2.0.so.0
#33 0x0000003fcfc4549c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x0000003e6a5a7d5f in QEventDispatcherGlib::processEvents (this=0x25ef530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#35 0x0000003e6ac6c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#36 0x0000003e6a578182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x0000003e6a5783d7 in QEventLoop::exec (this=0x7fff73f31950, flags=...) at kernel/qeventloop.cpp:204
#38 0x0000003e6a57cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x0000000000420a92 in main (argc=1, argv=0x7fff73f31c38) at /usr/src/debug/kaffeine-1.2.2/src/main.cpp:79

Reported using DrKonqi
Comment 1 Bernard Ladenthin 2012-03-23 23:33:03 UTC
The new kernel has create a new device. A switch of the device and i can still watch tv. Can't replicate the bug.
Comment 2 Jekyll Wu 2012-11-15 09:40:13 UTC
*** Bug 310133 has been marked as a duplicate of this bug. ***
Comment 3 Ziktofel 2013-03-29 21:11:22 UTC
Created attachment 78492 [details]
New crash information added by DrKonqi

kaffeine (1.2.2) on KDE Platform 4.9.5 using Qt 4.8.3

unplugged the DVB-T stick

lsusb:
Bus 002 Device 008: ID 048d:9006 Integrated Technology Express, Inc.

Linux Mint 14 64-bit Cinnamon

-- Backtrace (Reduced):
#6  DvbManager::deviceRemoved (this=0x2560e70, backendDevice=0x25dae20) at /build/buildd/kaffeine-1.2.2/src/dvb/dvbmanager.cpp:451
[...]
#8  0x0000000000423430 in DvbLinuxDeviceManager::deviceRemoved (this=<optimized out>, _t1=0x25dae20) at /build/buildd/kaffeine-1.2.2/obj-x86_64-linux-gnu/src/moc_dvbdevice_linux.cpp:129
#9  0x000000000044993a in DvbLinuxDeviceManager::componentRemoved (this=0x2548e90, udi=...) at /build/buildd/kaffeine-1.2.2/src/dvb/dvbdevice_linux.cpp:966
[...]
#11 0x00007fdc0ddc4a65 in Solid::DeviceNotifier::deviceRemoved (this=this@entry=0x256d520, _t1=...) at ./devicenotifier.moc:108
#12 0x00007fdc0ddc5bc9 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x256d520, udi=...) at ../../../solid/solid/devicemanager.cpp:207
Comment 4 Christoph Feck 2014-04-19 20:14:27 UTC
*** Bug 333626 has been marked as a duplicate of this bug. ***
Comment 5 Mauro Carvalho Chehab 2016-06-01 10:32:36 UTC
The Kaffeine version you're using is too old. We just released upstream a version 2.0.1, with is based on KDE5, and uses a different solution to hot plug/unplug devices.

Could you please test the upstream version and see if it works? The README file contains instructions about how to compile it. You can find it at our git repository:

https://quickgit.kde.org/?p=kaffeine.git

As this BZ is on an old version that we're not maintaining anymore, I'm closing the bug. If you find similar issues with version 2.0.1, please re-open.