Bug 209394

Summary: kaffeine crashes when trying to play dvd
Product: [Applications] kaffeine Reporter: Michael Hoffer <info>
Component: generalAssignee: Christophe Thommeret <hftom>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael Hoffer 2009-10-04 13:51:12 UTC
Application that crashed: kaffeine
Version of the application: 1.0-pre2
KDE Version: 4.3.1 (KDE 4.3.1) "release 3"
Qt Version: 4.5.2
Operating System: Linux 2.6.31-10-default x86_64
Distribution: "openSUSE 11.2 Milestone 8 (x86_64)"

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

Thread 10 (Thread 0x7fe3f2a73910 (LWP 11113)):
#0  0x00007fe3ff9ef2cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3f87a9271 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fe40016914d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fe3f131f910 (LWP 11114)):
#0  0x00007fe400160033 in poll () from /lib64/libc.so.6
#1  0x00007fe3fcd3b61c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe3fcd3b960 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe401651d3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fe401628072 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fe401628444 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fe4015406cb in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fe3f8a033f4 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fe401543435 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe40016914d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fe3f0914910 (LWP 11117)):
#0  0x00007fe40015bdfb in read () from /lib64/libc.so.6
#1  0x00007fe3f8ee12f5 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007fe3f8edc058 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007fe3f8ee5da9 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007fe3f091ac94 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe40016914d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fe3f00d1910 (LWP 11118)):
#0  0x00007fe3ff9ef049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3f87ba133 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fe40016914d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe3eec95910 (LWP 11119)):
#0  0x00007fe3fb65b920 in ?? () from /usr/lib64/libxcb.so.1
#1  0x00007fe3fb65be57 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fe3fb65bf7d in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007fe3fb65d35a in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#4  0x00007fe3ef6ca420 in create_ximage () from /usr/lib64/xine/plugins/1.26/xineplug_vo_out_xcbxv.so
#5  0x00007fe3ef6ca851 in xv_update_frame_format () from /usr/lib64/xine/plugins/1.26/xineplug_vo_out_xcbxv.so
#6  0x00007fe3f87b46c1 in duplicate_frame () from /usr/lib64/libxine.so.1
#7  0x00007fe3f87b751c in video_out_loop () from /usr/lib64/libxine.so.1
#8  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fe40016914d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe3edbe7910 (LWP 11131)):
#0  0x00007fe3ff9ef049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3f87acb3b in fifo_buffer_get () from /usr/lib64/libxine.so.1
#2  0x00007fe3f87b2add in video_decoder_loop () from /usr/lib64/libxine.so.1
#3  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe40016914d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe3ed219910 (LWP 11132)):
#0  0x00007fe3ff9ef049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3f87acb3b in fifo_buffer_get () from /usr/lib64/libxine.so.1
#2  0x00007fe3f87b3b05 in audio_decoder_loop () from /usr/lib64/libxine.so.1
#3  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe40016914d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe3eca18910 (LWP 11133)):
#0  0x00007fe3ff9ef049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3f87bd1fb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007fe3f87bd26e in listener_loop () from /usr/lib64/libxine.so.1
#3  0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe40016914d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe3e311c910 (LWP 11134)):
[KCrash Handler]
#5  0x00007fe3f72afad8 in process_command () from /usr/lib64/xine/plugins/1.26/xineplug_inp_dvd.so
#6  0x00007fe3f72b1604 in vm_get_next_cell () from /usr/lib64/xine/plugins/1.26/xineplug_inp_dvd.so
#7  0x00007fe3f72a800a in dvdnav_get_next_cache_block () from /usr/lib64/xine/plugins/1.26/xineplug_inp_dvd.so
#8  0x00007fe3f72a38dc in dvd_plugin_read_block () from /usr/lib64/xine/plugins/1.26/xineplug_inp_dvd.so
#9  0x00007fe3f87ca31a in cache_plugin_read_block () from /usr/lib64/libxine.so.1
#10 0x00007fe3e47549f7 in demux_mpeg_block_parse_pack () from /usr/lib64/xine/plugins/1.26/xineplug_dmx_mpeg_block.so
#11 0x00007fe3e47558bb in demux_mpeg_block_send_chunk () from /usr/lib64/xine/plugins/1.26/xineplug_dmx_mpeg_block.so
#12 0x00007fe3f87c2045 in demux_loop () from /usr/lib64/libxine.so.1
#13 0x00007fe3ff9ea65d in start_thread () from /lib64/libpthread.so.0
#14 0x00007fe40016914d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe4033e0750 (LWP 11112)):
#0  0x00007fe3ff9ef049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe4015444eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe3f8a0616d in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#3  0x00007fe3f8a13ae6 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fe40286d1b4 in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib64/libphonon.so.4
#5  0x00007fe4028795a5 in ?? () from /usr/lib64/libphonon.so.4
#6  0x00007fe4000cd065 in ?? () from /lib64/libc.so.6
#7  0x00007fe4000cd0b5 in exit () from /lib64/libc.so.6
#8  0x00007fe400b4f678 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007fe40220f2b8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007fe3fef4b2be in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007fe3fef52c95 in ?? () from /usr/lib64/libX11.so.6
#12 0x00007fe3fef53547 in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007fe3fef3c24b in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00007fe400b874bc in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007fe3fcd3ad4a in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#16 0x00007fe3fcd3b530 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007fe3fcd3b960 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fe401651ce6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#19 0x00007fe400b872fe in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007fe401628072 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007fe401628444 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00007fe40162a5f9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#23 0x00000000004786fd in _start ()

Reported using DrKonqi
Comment 1 Christoph Pfister 2009-10-04 14:01:47 UTC
can you try the same dvd e.g. with gxine?
Comment 2 Michael Hoffer 2009-10-04 14:13:10 UTC
gxine does not crash but hangs forever. console message is the same as in kaffeine:
-------------------------------------------------------------
gxine: Fehler: Fataler Fehler: Speicherzugriffsfehler
libdvdread: Invalid IFO for title 2 (VTS_02_0.IFO).
In gxine ist ein fataler interner Fehler aufgetreten.
Um einen 'backtrace' zu bekommen, starten sie gxine in einem Debugger wie gdb.
Dann, wenn der Fehler auftritt:
  (gdb) thread apply all bt
libdvdnav: ifoOpenVTSI failed
libdvdnav: *** pgci_ut handle is NULL ***
-------------------------------------------------------------
vlc works though. dragonplayer behaves exactly like kaffeine.
Comment 3 Christoph Pfister 2009-10-04 14:22:34 UTC
this is a xine bug (and gxine is intercepting the segmentation fault signal, that's why it "doesn't crash")
run "gdb gxine" in a console, type "run" + enter, start playing the dvd, type 
"thread apply all bt" + enter, open a bug report against xine and attach the console output