Bug 270117 - Kaffeine-1.2 crashes on dvb HD channels
Summary: Kaffeine-1.2 crashes on dvb HD channels
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Pfister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 01:31 UTC by boris64
Modified: 2011-04-05 11:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boris64 2011-04-05 01:31:08 UTC
Application: kaffeine (1.3-svn)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.2-ck1-v2k11+-v373 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Kaffeine instantly crashes when switching to hd channels.
Some hd channels still work, but have crackling sound or no sound at all.

The crash can be reproduced every time.

-- Backtrace:
Application: Kaffeine (kaffeine), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe2237c7760 (LWP 19941))]

Thread 2 (Thread 0x7fe211c35700 (LWP 19951)):
#0  0x00007fe21fb81603 in poll () from /lib64/libc.so.6
#1  0x00007fe21bfbff64 in g_main_context_iterate.clone.5 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe21bfc049d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe2213d9e26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fe2213ae252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fe2213ae494 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fe2212c45e4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fe22138fe48 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fe2212c6e35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fe22103cd4c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe21fb8a42d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe2237c7760 (LWP 19941)):
[KCrash Handler]
#6  DvbDevice::tune (this=0x1be9f70, transponder=<value optimized out>) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/dvb/dvbdevice.cpp:425
#7  0x000000000045a598 in DvbManager::requestDevice (this=0xc7a130, source=..., transponder=..., requestType=DvbManager::Shared) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/dvb/dvbmanager.cpp:116
#8  0x0000000000456df2 in DvbLiveView::playChannel (this=0xc7ba00, channel_=...) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/dvb/dvbliveview.cpp:200
#9  0x0000000000473dec in DvbTab::playChannel (this=0xc79d80, channel=..., index=...) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/dvb/dvbtab.cpp:465
#10 0x00000000004759a6 in DvbTab::tuneOsdChannel (this=0xc79d80) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/dvb/dvbtab.cpp:398
#11 0x0000000000422acc in DvbTab::qt_metacall (this=0xc79d80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a6010c0) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999_build/src/moc_dvbtab.cpp:100
#12 0x00007fe2213c3587 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fe2213c2db9 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fe220580664 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007fe2205851da in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fe222069412 in KApplication::notify (this=0x7fff1a601b40, receiver=0xc79df0, event=0x7fff1a601820) at /tmp/portage/portage/kde-base/kdelibs-4.6.1-r2/work/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#17 0x00007fe2213aee8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007fe2213dc67e in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fe2213d96f8 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fe21bfbfa22 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fe21bfc0200 in g_main_context_iterate.clone.5 () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fe21bfc049d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fe2213d9dcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fe220625a4e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fe2213ae252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fe2213ae494 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fe2213b28fb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#28 0x000000000048a372 in main (argc=2, argv=0x7fff1a601dc8) at /tmp/portage/portage/media-video/kaffeine-9999/work/kaffeine-9999/src/main.cpp:79

Reported using DrKonqi
Comment 1 Christoph Pfister 2011-04-05 08:45:29 UTC
Git commit 835d024670a4cf26938d93c082df530730594481 by Christoph Pfister.
Committed on 05/04/2011 at 08:46.
Pushed by pfister into branch 'master'.

fix dvb-s2 crash

BUG: 270117

M  +6    -7    src/dvb/dvbdevice.cpp     

http://commits.kde.org/kaffeine/835d024670a4cf26938d93c082df530730594481
Comment 2 Christoph Pfister 2011-04-05 08:53:42 UTC
> Some hd channels still work, but have crackling sound or no sound at all.

that sounds more like a xine-lib problem (you could make a recording and test with e.g. mplayer; there may exist some 'tweaks', but xine is going to be replaced sooner than later anyway)
Comment 3 boris64 2011-04-05 11:00:40 UTC
Wow, that was fast. Thanks.

(In reply to comment #2)
> > Some hd channels still work, but have crackling sound or no sound at all.
> 
> that sounds more like a xine-lib problem (you could make a recording and test
> with e.g. mplayer; there may exist some 'tweaks', but xine is going to be
> replaced sooner than later anyway)

Indeed, looks like a xine problem as it also happens with xine-ui.
"Tweaking" engine.buffers.video_num_buffers to a higher value works
somehow, but makes switching channel really slow.