Bug 248146

Summary: Kaffeine crashes upon opening 480/720/1080p .mkv video file
Product: [I don't know] kde Reporter: hochiminh
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hochiminh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description hochiminh 2010-08-17 14:55:01 UTC
Application: kaffeine-xbu (1.0 1.1.19)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
I have tried several times to open different video files with a Matroska container in High-Definition, every time causing Kaffeine to crash. Note that the video files are NOT on a DVD medium, but on my HDD, which is not the case with the other probable duplicate bug reports. (at the bottom)

Further results of experimenting: 
1- The crash does NOT happen when Kaffeine opens .mkv files with the free Xvid codec. Only, as already stated, when playing H264-compressed HD .mkv files. I haven't tried files compressed with Theora.
2- The crash does NOT occur when playing the same files (H264-compressed, .mkv) with xine-ui. This leads me to the conclusion, which may be wrong, that the problem is NOT related to xine, but only to its Kaffeine-frontend.

The crash can be reproduced every time.

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

Thread 9 (Thread 0xb27edb70 (LWP 12574)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb75691d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#4  0xb608646e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb1e69b70 (LWP 12577)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb607b75e in poll () from /lib/libc.so.6
#2  0xb1fdd04c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#3  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#4  0xb608646e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb1668b70 (LWP 12578)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb757c180 in ao_loop () from /usr/lib/libxine.so.1
#3  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#4  0xb608646e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb0a28b70 (LWP 12580)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7577c41 in video_out_loop () from /usr/lib/libxine.so.1
#3  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#4  0xb608646e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xafe3eb70 (LWP 12581)):
[KCrash Handler]
#6  0xb0e54568 in xv_update_frame_format () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#7  0xb7576095 in vo_get_frame () from /usr/lib/libxine.so.1
#8  0xb2838675 in deinterlace_draw () from /usr/lib/xine/plugins/1.29/post/xineplug_post_tvtime.so
#9  0xb3aa6e36 in ff_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so
#10 0xb7573d18 in video_decoder_loop () from /usr/lib/libxine.so.1
#11 0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#12 0xb608646e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf470b70 (LWP 12582)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb756d3a4 in fifo_buffer_get () from /usr/lib/libxine.so.1
#3  0xb7574c45 in audio_decoder_loop () from /usr/lib/libxine.so.1
#4  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#5  0xb608646e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaec6fb70 (LWP 12583)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb757f27c in listener_loop () from /usr/lib/libxine.so.1
#3  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#4  0xb608646e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xadd9db70 (LWP 12605)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb607f0b1 in select () from /lib/libc.so.6
#2  0xb7596318 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xb7584417 in demux_loop () from /usr/lib/libxine.so.1
#4  0xb6c99b25 in start_thread () from /lib/libpthread.so.0
#5  0xb608646e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb596a710 (LWP 12573)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c9e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb75e1b53 in ?? () from /usr/lib/libX11.so.6
#3  0xb75e152a in ?? () from /usr/lib/libX11.so.6
#4  0xb75e52a5 in XEventsQueued () from /usr/lib/libX11.so.6
#5  0xb63f7053 in ?? () from /usr/lib/libQtGui.so.4
#6  0xb5b410c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb5b41f22 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb5b4260e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb6e38d4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb63f719a in ?? () from /usr/lib/libQtGui.so.4
#11 0xb6e10e03 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0804c50e in XineObject::customEvent(QEvent*) ()
#13 0xb6e1f99c in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#14 0xb6346c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb634ebf7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb72ad9d1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb6e0ce0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb6e109b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0xb6e10b9c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#20 0xb6e3883d in ?? () from /usr/lib/libQtCore.so.4
#21 0xb5b41b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb5b42350 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb5b4260e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb6e38d4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb63f719a in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6e0c11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb6e0c319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb6e10c70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0xb6344164 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0x0804e0ef in main ()

Possible duplicates by query: bug 246216, bug 245309.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-08-17 21:02:27 UTC

*** This bug has been marked as a duplicate of bug 245309 ***
Comment 2 hochiminh 2010-08-19 12:16:19 UTC
Created attachment 50732 [details]
New crash information added by DrKonqi

Today some additional information to the bug.

I see it has been closed, but I have reasons to believe this crash is NOT caused by xine, but by kaffeine. Those reasons include:

1 After opening a 480p mkv file compressed with Theora, kaffeine does NOT crash. But
2 After opening the same HD H264 files on another PC, using Totem (Gnome) with Xine as a backend, the crash does NOT occur. 
3 Aditionally, I tried opening mkv files, compressed with the H264 codec that are of lower resolution, aka lower than 480p, but Kaffeine crashes again.

From the test cases above I can sumarise that the bug is a problem related to Kaffeine, NOT to xine-lib and therefore the bug report should be reopened.