Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299527 - media-video/kaffeine-1.0_pre2 randomly crashes changing channel on DVB-S
Summary: media-video/kaffeine-1.0_pre2 randomly crashes changing channel on DVB-S
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 23:21 UTC by Flavio
Modified: 2010-02-05 22:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Flavio 2010-01-03 23:21:24 UTC
Hello, 

few days ago I found out a problem in kaffeine-1.0_pre2.
In the TV mode, using a DVB-S card, when I try to change channel using the list on the left side, the application suddenly crashes.
The strange fact is that sometime this doesn't happen, but most of the times it does.
The KDE Crash Handler gave me the following information about the crash:

=============================================================================
Application: Kaffeine (kaffeine), signal: Aborted
[Current thread is 1 (Thread 0x7f72780a8740 (LWP 7763))]

Thread 9 (Thread 0x7f72685ef950 (LWP 7764)):
#0  0x00007f7275a8704d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f726cec6fbe in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#3  0x00007f727458448d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f7267dee950 (LWP 7765)):
#0  0x00007f7275a86dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7275cf4589 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f7275cf0bfb in QSemaphore::acquire(int) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f7275dd799e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f726d140985 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x00007f726d142b36 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#6  0x00007f726cec44ac in xine_open () from /usr/lib64/libxine.so.1
#7  0x00007f726d12453d in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f726d125724 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f726d125bc9 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#10 0x00007f727514c8fd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f72751541ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f7276be1f9b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x00007f7275dc5a5b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f7275dc63b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f7275dea7c3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f7271ae44a9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f7271ae7ae8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f7271ae7c9c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f7275dea45f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f7275dc4442 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f7275dc45dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f7275cf0cec in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f726d11e56c in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#24 0x00007f7275cf3804 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#26 0x00007f727458448d in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f72673e3950 (LWP 7768)):
#0  0x00007f7275a8988b in read () from /lib/libpthread.so.0
#1  0x00007f726d505ac5 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007f726d5006a3 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007f726d509fe5 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007f72673e8ad7 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#6  0x00007f727458448d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7266be2950 (LWP 7769)):
#0  0x00007f7275a86dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f726ced4c50 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f726ced65cc in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#4  0x00007f727458448d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f72657a5950 (LWP 7770)):
#0  0x00007f727457db92 in select () from /lib/libc.so.6
#1  0x00007f726ceec504 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f726ced34d4 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#4  0x00007f727458448d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f72641ae950 (LWP 7773)):
#0  0x00007f7275a86dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f726ceca36b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f726cecfa9f in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#4  0x00007f727458448d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f72637e0950 (LWP 7774)):
#0  0x00007f7275a86dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f726ceca36b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f726ced0b1f in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#4  0x00007f727458448d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7262fdf950 (LWP 7775)):
#0  0x00007f7275a86dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f726ced8ffb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007f726ced906e in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f7275a83017 in start_thread () from /lib/libpthread.so.0
#4  0x00007f727458448d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f72780a8740 (LWP 7763)):
[KCrash Handler]
#5  0x00007f72744e6205 in raise () from /lib/libc.so.6
#6  0x00007f72744e7723 in abort () from /lib/libc.so.6
#7  0x00007f7275ceca15 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7275cecb30 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7277533890 in Phonon::StreamInterface::reset() () from /usr/lib64/libphonon.so.4
#10 0x00007f726d142732 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#11 0x00007f7275dd4451 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f727514c8fd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f72751541ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f7276be1f9b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f7275dc5a5b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f7275dc63b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f7275dea7c3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f7271ae44a9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f7271ae7ae8 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f7271ae7c9c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f7275dea45f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f72751d189f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f7275dc4442 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f7275dc45dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f7275dc661c in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00000000004788e6 in _start ()
=============================================================================
The KDE Crash Handler says the text above couldn't be useful, but it's what I can do now.

Another information I can give you, is about starting kaffeine from a shell:
This is what I get:
ASSERT: "d->connected" in file /var/tmp/portage/media-sound/phonon-4.3.50_pre20090520/work/phonon-4.4_pre20090520/phonon/streaminterface.cpp, line 102
KCrash: Application 'kaffeine' crashing...
sock_file=/home/flavio/.kde4/socket-Gentoo/kdeinit4__0

It seems to depend on phonon, but why it is looking in the /var/tmp/portage directory? It doesn't sound nothing good for me. It's strange.

This is my emerge --info kaffeine:
Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================                                              
                        System Settings                                                                        
=================================================================                                              
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.0.0      
Timestamp of tree: Sun, 03 Jan 2010 12:15:01 +0000                                                             
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                      
ccache version 2.4 [enabled]                                                                                   
app-shells/bash:     4.0_p35                                                                                   
dev-java/java-config: 2.1.9-r2                                                                                 
dev-lang/python:     2.5.4-r3, 2.6.4                                                                           
dev-python/pycrypto: 2.1.0_beta1                                                                               
dev-util/ccache:     2.4-r7                                                                                    
dev-util/cmake:      2.6.4-r3                                                                                  
sys-apps/baselayout: 2.0.0                                                                                     
sys-apps/openrc:     0.6.0                                                                                     
sys-apps/sandbox:    2.2                                                                                       
sys-devel/autoconf:  2.13, 2.63-r1                                                                             
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                      
sys-devel/binutils:  2.18-r3                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                    
sys-devel/libtool:   2.2.6b                                                                                    
virtual/os-headers:  2.6.27-r2                                                                                 
ACCEPT_KEYWORDS="amd64"                                                                                        
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                                   
CFLAGS="-march=core2 -O2 -pipe"                                                                                
CHOST="x86_64-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                                     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                  
CXXFLAGS="-march=core2 -O2 -pipe"                                                                                                       
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="pbzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli composite consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif glx gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb userlocales utempter vorbis x264 xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/kaffeine-1.0_pre2 was built with the following:
USE="(multilib) (-aqua) -debug" LINGUAS="-cs -da -de -el -en_GB -es -et -fi -fr -ga -gl -hu -it -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -se -sk -sv -th -tr -uk -zh_CN -zh_TW"
Comment 1 Flavio 2010-01-04 10:19:10 UTC
By the way, 

Meanwhile I found another bug report on KDE bugtracking system right now:
https://bugs.kde.org/show_bug.cgi?id=204026

But it seems to be not solved yet.

Flavio
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-05 21:32:25 UTC
http://bugs.kde.org/show_bug.cgi?id=204026#c14

Quoting: "Maybe the problem is just in Phonon, not in Kaffeine at all."

Well, kaffeine-1.0_pre3 doesn't use Phonon anymore, it switched to using xine-lib directly (again)

Please try 1.0_pre3, it was just added to Portage
Comment 3 Flavio 2010-02-05 21:34:33 UTC
I am using the svn version at the moment.
It seems to be ok.

Thank you.

Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-02-05 21:40:24 UTC
(In reply to comment #3)
> I am using the svn version at the moment.
> It seems to be ok.
> 
> Thank you.
> 

OK, since it was released just couple of days ago and SVN is working for you I'm assuming this is fixed also in _pre3

Closing as fixed
Comment 5 Flavio 2010-02-05 22:26:09 UTC
I have the svn version 1072269 of kaffeine.
I didn't perform any checkout since the last month ago.

Flavio