Version: 0.9.0-pre-alpha (using 4.2.1 (KDE 4.2.1), Mandriva Linux release 2009.1 (Cooker) for i586) Compiler: gcc OS: Linux (i686) release 2.6.29-desktop586-0.rc6.1.1mnb This bug has already been reported to Mandriva <https://qa.mandriva.com/show_bug.cgi?id=48818>. (I suspect that Kaffeine should still be the default rather than Kaffeine4.) Here is a copy of the bug report... Description of problem: Kaffeine4 has several problems. It is necessary to set DVB -> Configure DVB -> Source and quit Kaffiene4 before tuning, otherwise tuning information does not stick. After tuning, Kaffeine4 crashes when a channel is selected. Running kaffeine4 from the command line the last bit of the output looks like this... [snip] kaffeine4(4804) DvbManager::readChannelList: successfully read 26 entries kaffeine4(4804) DvbDevice::identifyDevice: found dvb device "P113171334e423306" / "Philips TDA10046H DVB-T" kaffeine4(4804) DvbDevice::identifyDevice: found dvb device "P14f1880217de08a6" / "Zarlink MT352 DVB-T" Object::connect: No such slot QAbstractTableModel::actionEdit() in /home/mandrake/rpm/BUILD/kaffeine/src/dvb/dvbchannelview.cpp:84 Object::connect: No such slot QAbstractTableModel::actionChangeIcon() in /home/mandrake/rpm/BUILD/kaffeine/src/dvb/dvbchannelview.cpp:88 [psd@test ~]$ kaffeine4(4804) DvbManager::readScanFile: can't open "/home/psd/.kde4/share/apps/kaffeine4/scanfile.dvb" KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kaffeine4 path = <unknown> pid = 4804 sock_file=/home/psd/.kde4/socket-test.home.invalid/kdeinit4__0 kaffeine4: Fatal IO error: client killed Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2144, function pa_close_pipe(). Aborting. Unable to start Dr. Konqi [end of terminal output] Version-Release number of selected component (if applicable): 2009.1 rc1 dual CD x86, plus updates.
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
More important to me: which phonon-* are you using? > It is necessary to set DVB -> Configure DVB -> Source and > quit Kaffiene4 before tuning, otherwise tuning information > does not stick. Kaffeine saves those settings on shotdown, and if there is no shutdown (because of a crash) they're lost (could be improved a bit, i know, but it isn't a general problem).
Regarging version of phonon - none. There is a dependency error in Madriva's packageing. BUT after installing phonon there is still a problem. Now it can tune and display a channel, but changing channel causes a crash. [root@test bin]# rpm -q $(urpmq -Y phonon | uniq) libphonon4-4.3.1-3mdv2009.1 package libphononexperimental4 is not installed package libsmokephonon2 is not installed phonon-4.2-0.814039.2mdv2009.0 package phonon-devel is not installed phonon-gstreamer-4.3.1-3mdv2009.1 phonon-xine-4.3.1-3mdv2009.1 [root@test bin]# Here is the end of the command line output... kaffeine4(12380) DvbDevice::frontendEvent: tuning succeeded for "/dev/dvb/adapter1/frontend0" KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kaffeine4 path = <unknown> pid = 12380 sock_file=/home/psd/.kde4/socket-test.home.invalid/kdeinit4__0 Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2144, function pa_close_pipe(). Aborting. Unable to start Dr. Konqi I'll play with the debug packages next.
[psd@test bin]$ gdb kaffeine4 GNU gdb 6.8-5mdv2009.1 (Mandriva Linux release 2009.1) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-mandriva-linux-gnu"... (gdb) run --nofork Starting program: /usr/bin/kaffeine4 --nofork [Thread debugging using libthread_db enabled] [New Thread 0xb5fe66d0 (LWP 2605)] kaffeine4(2605)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-psd/ksycoca4" kaffeine4(2605)/kdecore (KLibLoader) kde4Factory: The library "" does not offer a qt_plugin_instance function. kaffeine4(2605)/kdecore (KLibLoader) kde3Factory: The library "" does not offer an "init_phonon_xine" function. [New Thread 0xb399fb90 (LWP 2623)] kaffeine4(2605) Phonon::KdePlatformPlugin::createBackend: using backend: "Xine" [New Thread 0xb30ddb90 (LWP 2624)] [New Thread 0xb28dcb90 (LWP 2625)] [New Thread 0xae098b90 (LWP 2626)] [New Thread 0xad474b90 (LWP 2627)] kaffeine4(2605) DvbManager::readChannelList: successfully read 26 entries kaffeine4(2605) DvbDevice::identifyDevice: found dvb device "P14f1880217de08a6" / "Zarlink MT352 DVB-T" kaffeine4(2605) DvbDevice::identifyDevice: found dvb device "P113171334e423306" / "Philips TDA10046H DVB-T" Object::connect: No such slot QAbstractTableModel::actionEdit() in /home/mandrake/rpm/BUILD/kaffeine/src/dvb/dvbchannelview.cpp:84 Object::connect: No such slot QAbstractTableModel::actionChangeIcon() in /home/mandrake/rpm/BUILD/kaffeine/src/dvb/dvbchannelview.cpp:88 [New Thread 0xabc01b90 (LWP 2646)] [New Thread 0xac402b90 (LWP 2643)] [New Thread 0xab233b90 (LWP 2648)] [New Thread 0xaaa32b90 (LWP 2649)] kaffeine4(2605) DvbDevice::frontendEvent: tuning succeeded for "/dev/dvb/adapter1/frontend0" [New Thread 0xaa163b90 (LWP 2650)] [Thread 0xabc01b90 (LWP 2646) exited] Program received signal SIGSEGV, Segmentation fault. 0x0807e65c in DvbTab::liveStopped (this=0x88d0d50) at /usr/src/debug/kaffeine/src/dvb/dvbtab.cpp:193 193 delete timeShiftFile; Missing debug package(s), you should install: bzip2-debug-1.0.5-5mdv2009.1.i586 dbus-debug-1.2.4.4permissive-2mdv2009.1.i586 faac-debug-1.28-2plf2009.1.i586 faad2-debug-2.7-1plf2009.1.i586 fontconfig-debug-2.6.0-4mdv2009.1.i586 freetype2-debug-2.3.9-1plf2009.1.i586 gamin-debug-0.1.10-2mdv2009.1.i586 gcc-debug-4.3.2-5mnb2.i586 gdbm-debug-1.8.3-10mdv2009.1.i586 glib2.0-debug-2.20.0-1mdv2009.1.i586 glibc-debug-2.9-0.20081113.2mnb2.i586 kde4-style-iaora-debug-0.1.9-2mdv2009.1.i586 kdebase4-runtime-debug-4.2.1-2mdv2009.1.i586 lame-debug-3.98.2-1plf2009.0.i586 libalsa2-debug-1.0.19-1mdv2009.1.i586 libcdio-debug-0.81-2mdv2009.1.i586 libice-debug-1.0.5-1mdv2009.1.i586 libmodplug-debug-0.8.4-4mdv2009.0.i586 libogg-debug-1.1.3-4mdv2009.0.i586 libpng-debug-1.2.35-1mdv2009.1.i586 libsm-debug-1.1.0-1mdv2009.0.i586 libtheora-debug-1.0-2mdv2009.1.i586 libvorbis-debug-1.2.0-4mdv2009.0.i586 libx11-debug-1.2-1mdv2009.1.i586 libxau-debug-1.0.4-1mdv2009.0.i586 libxcb-debug-1.2-1mdv2009.1.i586 libxcursor-debug-1.1.9-3mdv2009.1.i586 libxdmcp-debug-1.0.2-6mdv2009.0.i586 libxext-debug-1.0.5-2mdv2009.1.i586 libxfixes-debug-4.0.3-4mdv2009.1.i586 libxi-debug-1.2.1-1mdv2009.1.i586 libxinerama-debug-1.0.3-2mdv2009.1.i586 libxml2-debug-2.7.3-2mdv2009.1.i586 libxrandr-debug-1.3.0-1mdv2009.1.i586 libxrender-debug-0.9.4-4mdv2009.1.i586 libxtst-debug-1.0.3-3mdv2009.1.i586 pcre-debug-7.8-3mdv2009.1.i586 phonon-debug-4.3.1-3mdv2009.1.i586 pulseaudio-debug-0.9.15-0.20090305.1mdv2009.1.i586 qt4-debug-4.5.0-1mdv2009.1.i586 speex-debug-1.2-0.rc1.1mdv2009.0.i586 strigi-debug-0.6.4-1mdv2009.1.i586 tcp_wrappers-debug-7.6-39mdv2009.1.i586 vcdimager-debug-0.7.23-8mdv2009.1.i586 xine-lib-debug-1.1.16.2-1plf2009.1.i586 xz-debug-4.999.8beta-0.2mdv2009.1.i586 zlib-debug-1.2.3-13mdv2009.1.i586 (gdb) backtrace #0 0x0807e65c in DvbTab::liveStopped (this=0x88d0d50) at /usr/src/debug/kaffeine/src/dvb/dvbtab.cpp:193 #1 0x08057d80 in DvbTab::qt_metacall (this=0x88d0d50, _c=QMetaObject::InvokeMetaMethod, _id=113, _a=0xbfdc0778) at /usr/src/debug/kaffeine/build/src/moc_dvbtab.cpp:85 #2 0xb7622185 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #3 0xb7623a25 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #4 0x080566b7 in MediaWidget::dvbStopped (this=0x826fd10) at /usr/src/debug/kaffeine/build/src/moc_mediawidget.cpp:140 #5 0x0807e44a in DvbTab::playChannel (this=0x88d0d50, channel=@0x89008d0) at /usr/src/debug/kaffeine/src/dvb/dvbtab.cpp:199 #6 0x08057d37 in DvbTab::qt_metacall (this=0x88d0d50, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfdc08f0) at /usr/src/debug/kaffeine/build/src/moc_dvbtab.cpp:81 #7 0xb7622185 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #8 0xb7623a25 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #9 0xb7159335 in QAbstractItemView::activated () from /usr/lib/libQtGui.so.4 #10 0xb71ac062 in QTreeView::mouseDoubleClickEvent () from /usr/lib/libQtGui.so.4 #11 0xb6c304a4 in QWidget::event () from /usr/lib/libQtGui.so.4 #12 0xb700e699 in QFrame::event () from /usr/lib/libQtGui.so.4 #13 0xb70b2c60 in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4 #14 0xb716a223 in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4 #15 0xb71a68d1 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4 #16 0xb70b52d6 in ?? () from /usr/lib/libQtGui.so.4 #17 0xb760a81e in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 #18 0xb6bd724f in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 ---Type <return> to continue, or q <return> to quit--- #19 0xb6be0502 in QApplication::notify () from /usr/lib/libQtGui.so.4 #20 0xb7b01620 in KApplication::notify (this=0xbfdc1a54, receiver=0x888e688, event=0xbfdc1178) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307 #21 0xb760b67e in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #22 0xb6bdf331 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #23 0xb6c52b7d in ?? () from /usr/lib/libQtGui.so.4 #24 0xb6c5206c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #25 0xb6c7c004 in ?? () from /usr/lib/libQtGui.so.4 #26 0xb62fec0a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0xb6302274 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0xb63023ff in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0xb763851a in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #30 0xb6c7b75a in ?? () from /usr/lib/libQtGui.so.4 #31 0xb7609c43 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #32 0xb760a091 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #33 0xb760c5f6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #34 0xb6bd70e4 in QApplication::exec () from /usr/lib/libQtGui.so.4 #35 0x080846d6 in main (argc=2, argv=0xbfdc1b54) at /usr/src/debug/kaffeine/src/main.cpp:71 (gdb)
SVN commit 940379 by pfister: forgot to initialize one variable thanks for the report :) BUG: 187264 M +1 -1 dvbtab.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=940379
about the phonon-* issue: kaffeine depends on a specific phonon class (AbstractMediaStream), which isn't implemented in phonon-gstreamer (and won't be) afaik - we have to switch to QIODevice (which will happen soon)
Christoph what about QIODevice ? we still don't have kaffeine working with dvb under the gstreamer engine iirc. thanks a lot
yes, i will soon deal with that situation *** This bug has been marked as a duplicate of bug 188411 ***