Bug 258456 - Kaffeine xbu crashes when opening any WMV files
Summary: Kaffeine xbu crashes when opening any WMV files
Status: RESOLVED INTENTIONAL
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 02:39 UTC by Myrosia
Modified: 2016-06-01 12:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the test file that files (102.98 KB, video/x-ms-wmv)
2010-12-01 02:41 UTC, Myrosia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myrosia 2010-12-01 02:39:02 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

I am using openSuse 11.3, with kaffeine and libxine from packman
kaffeine-1.1-1.pm.1.1.i586
libxine1-1.1.19-1.pm.45.1.i586

Whenever I try to open a wmv file with kaffeine, I receive an error message about xbu crashing.


The same file plays fine with xine.

Reproducible: Always

Steps to Reproduce:
Download the wmv test file from Ubuntu media page (http://dougneubauer.com/mhcctest/), also attached

Run
kaffeine test.wmv

Actual Results:  
Black screen. Error message on console:

KCrash: Application 'kaffeine-xbu' crashing...
sock_file=/home/myrosia/.kde4/socket-myrosia-home2.site/kdeinit4__0
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
kaffeine-xbu: Fatal IO error: client killed

Expected Results:  
A video playing, showing a men shooting a target
Comment 1 Myrosia 2010-12-01 02:41:14 UTC
Created attachment 53929 [details]
the test file that files
Comment 2 Myrosia 2010-12-01 02:45:23 UTC
Here's the stack trace. I only get it when I start the Kaffeine first and then try to open the file (instead of giving it a file name on the command line)

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

Thread 9 (Thread 0xb281ab70 (LWP 10698)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d97452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76621d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#4  0xb617f46e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb2019b70 (LWP 10699)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb617475e in poll () from /lib/libc.so.6
#2  0xb3b3c04c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#3  0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#4  0xb617f46e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb1818b70 (LWP 10700)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d97125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7675180 in ao_loop () from /usr/lib/libxine.so.1
#3  0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#4  0xb617f46e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb0c0cb70 (LWP 10701)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d99cc9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb6d951d5 in _L_lock_790 () from /lib/libpthread.so.0
#3  0xb6d94ff3 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb76dac5a in ?? () from /usr/lib/libX11.so.6
#5  0xb76da2e8 in XLockDisplay () from /usr/lib/libX11.so.6
#6  0xb3b2376b in xv_redraw_needed () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#7  0xb3b23bbb in xv_display_frame () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#8  0xb76703c3 in overlay_and_display_frame () from /usr/lib/libxine.so.1
#9  0xb7670a50 in video_out_loop () from /usr/lib/libxine.so.1
#10 0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#11 0xb617f46e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb0022b70 (LWP 10702)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb617475e in poll () from /lib/libc.so.6
#2  0xb6094470 in ?? () from /usr/lib/libxcb.so.1
#3  0xb6095930 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb76f5a3b in _XReply () from /usr/lib/libX11.so.6
#5  0xb76e9286 in XSync () from /usr/lib/libX11.so.6
#6  0xb3b2219e in create_ximage () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#7  0xb3b244af in xv_update_frame_format () from /usr/lib/xine/plugins/1.29/xineplug_vo_out_xv.so
#8  0xb766f095 in vo_get_frame () from /usr/lib/libxine.so.1
#9  0xb7682449 in post_video_get_frame () from /usr/lib/libxine.so.1
#10 0xb3b61881 in get_buffer () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so
#11 0xb32f9757 in ?? () from /usr/lib/libavcodec.so.52
#12 0xb32f9907 in ?? () from /usr/lib/libavcodec.so.52
#13 0xb3308ffb in MPV_frame_start () from /usr/lib/libavcodec.so.52
#14 0xb321118f in ff_h263_decode_frame () from /usr/lib/libavcodec.so.52
#15 0xb33c0542 in avcodec_decode_video () from /usr/lib/libavcodec.so.52
#16 0xb3b6284f in ff_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so
#17 0xb766cd18 in video_decoder_loop () from /usr/lib/libxine.so.1
#18 0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#19 0xb617f46e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf654b70 (LWP 10703)):
[KCrash Handler]
#6  0xb344ffff in ?? () from /usr/lib/libavcodec.so.52
#7  0xb341e704 in ?? () from /usr/lib/libavcodec.so.52
#8  0xb341fed9 in ?? () from /usr/lib/libavcodec.so.52
#9  0xb33c06b1 in avcodec_decode_audio2 () from /usr/lib/libavcodec.so.52
#10 0xb3b5f002 in ff_audio_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so
#11 0xb766e32d in audio_decoder_loop () from /usr/lib/libxine.so.1
#12 0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#13 0xb617f46e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaee53b70 (LWP 10704)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d97125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb767827c in listener_loop () from /usr/lib/libxine.so.1
#3  0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#4  0xb617f46e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xadf4ab70 (LWP 10705)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb61780b1 in select () from /lib/libc.so.6
#2  0xb768f318 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xb767d417 in demux_loop () from /usr/lib/libxine.so.1
#4  0xb6d92b25 in start_thread () from /lib/libpthread.so.0
#5  0xb617f46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5a63710 (LWP 10697)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d97452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb765dbe3 in xine_play () from /usr/lib/libxine.so.1
#3  0x0804c7bb in _start ()
Comment 3 Pino Toscano 2010-12-01 21:34:15 UTC
It'd look like a bug in either xine or libavcodec.
Comment 4 Myrosia 2010-12-01 22:51:05 UTC
The xine command from xine-ui plays that same file just fine, without crashes. If this is a bug in xine or codec's, wouldn't xine ui have a problem with it as well?
Comment 5 Dario Andres 2010-12-02 22:42:13 UTC
[Comment from a bug triager]
This looks like bug 245679 and bug 247228
Thanks for the media file, it can be useful so other people can test it.
Regards
Comment 6 Mauro Carvalho Chehab 2016-06-01 12:04:39 UTC
The Kaffeine version you're using is too old. We just released upstream a version 2.0.1, with is based on KDE5, and changed both the DVB and video play backends. Could you please test the upstream version and see if it works? The README file contains instructions about how to compile it. You can find it at our git repository:

https://quickgit.kde.org/?p=kaffeine.git

As this BZ is on an old version that we're not maintaining upstream anymore, I'm closing the bug. If you find similar issues with version 2.0.1, please re-open.