Bug 254121

Summary: kaffeine crashes without closed source nvidia driver
Product: [Applications] kaffeine Reporter: p <peter.mueller_1955>
Component: generalAssignee: Christoph Pfister <christophpfister>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p 2010-10-14 09:18:04 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

First of all sorry if that bug is already filed, the "bug already filed" section doesn't show anything.

On my laptop with nvidia graphics card kaffeine 1.1 (from packman repository as well as from openSuse repository) crashes if I run with the default open source driver. Once the closed source is installed it works fine. The crash happens once I press to start the mpg file/DVD (not-encrypted). It all worked fine with KDE3 / kaffeine 0.x.

The backtrace shows:
Application: Kaffeine (kaffeine-xbu), signal: Segmentation fault
[Current thread is 1 (Thread 0xb59c0710 (LWP 8404))]

Thread 9 (Thread 0xb17f3b70 (LWP 8406)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76531d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#4  0xb611646e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb0c88b70 (LWP 8409)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb610b75e in poll () from /lib/libc.so.6
#2  0xb0da504c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#3  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#4  0xb611646e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb0487b70 (LWP 8410)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb610b75e in poll () from /lib/libc.so.6
#2  0xb2be4c65 in ?? () from /usr/lib/libasound.so.2
#3  0xb2be4e2c in snd_pcm_wait () from /usr/lib/libasound.so.2
#4  0xb0da6a71 in ao_alsa_write () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#5  0xb7663b98 in ao_fill_gap () from /usr/lib/libxine.so.1
#6  0xb7665cf1 in ao_loop () from /usr/lib/libxine.so.1
#7  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#8  0xb611646e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaf861b70 (LWP 8412)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7661c41 in video_out_loop () from /usr/lib/libxine.so.1
#3  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#4  0xb611646e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xaec77b70 (LWP 8413)):
[KCrash Handler]
#7  0xafc73568 in xv_update_frame_format () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#8  0xb7660095 in vo_get_frame () from /usr/lib/libxine.so.1
#9  0xb183e675 in deinterlace_draw () from /usr/lib/xine/plugins/1.29/post/xineplug_post_tvtime.so
#10 0xac5950f8 in mpeg2_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_mpeg2.so
#11 0xac5ab1ab in mpeg2dec_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_mpeg2.so
#12 0xb765dd18 in video_decoder_loop () from /usr/lib/libxine.so.1
#13 0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#14 0xb611646e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae2a9b70 (LWP 8414)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76573a4 in fifo_buffer_get () from /usr/lib/libxine.so.1
#3  0xb765ec45 in audio_decoder_loop () from /usr/lib/libxine.so.1
#4  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#5  0xb611646e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xadaa8b70 (LWP 8415)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb766927c in listener_loop () from /usr/lib/libxine.so.1
#3  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#4  0xb611646e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac427b70 (LWP 8418)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76572b8 in buffer_pool_alloc () from /usr/lib/libxine.so.1
#3  0xb7677b8b in cache_plugin_read_block () from /usr/lib/libxine.so.1
#4  0xb0f0ff4e in parse_mpeg2_packet () from /usr/lib/xine/plugins/1.29/xineplug_dmx_mpeg.so
#5  0xb0f11055 in demux_mpeg_send_chunk () from /usr/lib/xine/plugins/1.29/xineplug_dmx_mpeg.so
#6  0xb766e299 in demux_loop () from /usr/lib/libxine.so.1
#7  0xb6d29b25 in start_thread () from /lib/libpthread.so.0
#8  0xb611646e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb59c0710 (LWP 8404)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d2e452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb764ebe3 in xine_play () from /usr/lib/libxine.so.1
#3  0x0804c7fb in XineObject::customEvent (this=0xbfa021f0, event=0x80e0d18) at /usr/src/debug/kaffeine-1.0/src/backend-xine/xineapplication.cpp:707
#4  0xb6eaf99c in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#5  0xb63d6c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#6  0xb63debf7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#7  0xb7381911 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#8  0xb6e9ce0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#9  0xb6ea09b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#10 0xb6ea0b9c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#11 0xb6ec883d in ?? () from /usr/lib/libQtCore.so.4
#12 0xb5b9cb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0xb5b9d350 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb5b9d60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#15 0xb6ec8d4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#16 0xb648719a in ?? () from /usr/lib/libQtGui.so.4
#17 0xb6e9c11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0xb6e9c319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0xb6ea0c70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#20 0xb63d4164 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#21 0x0804e12f in main (argc=1, argv=) at /usr/src/debug/kaffeine-1.0/src/backend-xine/xineapplication.cpp:1007


Reproducible: Always

Steps to Reproduce:
Others reported the same issue with nvidia, so take a system with nvidia graphics card and try to play a DVD.

Actual Results:  
crash

Expected Results:  
played a DVD

I wonder why for playing a simple movie I need a closed source driver. If that is for some reason really necessary, do a check at startup and tell the user "sorry runs only with non-open source software".  If there is a performance reason still offer the open source variant and give an information at first startup that performance with the closed driver would be better.
Comment 1 Christoph Feck 2011-08-04 00:12:16 UTC

*** This bug has been marked as a duplicate of bug 222993 ***