Bug 268793 - kaffeine crashed when playing *.m4v video.
Summary: kaffeine crashed when playing *.m4v video.
Status: RESOLVED INTENTIONAL
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 00:34 UTC by james
Modified: 2016-06-01 11:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description james 2011-03-18 00:34:37 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

I opened kaffeine and selected play file. Browsed for file and when it tried to play it, the KDE crash handler appeared.

Reproducible: Always

Steps to Reproduce:
I just selected a *.m4v file and kaffeine dies

Actual Results:  
After I close the KDE crash handler, my system is still running and I can reopen kaffeine.

Expected Results:  
I should see the *.m4v video playing.

Application: Kaffeine (kaffeine-xbu), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f70f088b760 (LWP 31072))]

Thread 9 (Thread 0x7f70dfd9b700 (LWP 31073)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f70f0122081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f70de84c700 (LWP 31077)):
#0  0x00007f70ed3c1f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f70dde46915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f70dde41700 (LWP 31078)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f70f0132e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f70dcc02700 (LWP 31080)):
#0  0x00007f70ed3c6ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f70f014b2c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f70f012fc99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f70dc018700 (LWP 31081)):
[KCrash Handler]
#5  0x00007f70dd232448 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_vo_out_xv.so
#6  0x00007f70f012db1c in ?? () from /usr/lib/libxine.so.1
#7  0x00007f70dfd9e9ef in ?? () from /usr/lib/xine/plugins/1.27/post/xineplug_post_tvtime.so
#8  0x00007f70e35489bd in ?? () from /usr/lib/xine/plugins/1.27/xineplug_decode_ff.so
#9  0x00007f70f012bcdb in ?? () from /usr/lib/libxine.so.1
#10 0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f70db64a700 (LWP 31082)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f70f012cdc3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f70dae49700 (LWP 31083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f70f0135f6b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f70d4606700 (LWP 31090)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f70f013b664 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f70eed119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f70ed3ce70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f70f088b760 (LWP 31072)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f70f011f353 in xine_play () from /usr/lib/libxine.so.1
#2  0x0000000000406f25 in XineObject::customEvent (this=0x7fff2d0dc7d0, event=<value optimized out>) at /build/buildd/kaffeine-1.0~pre3/src/backend-xine/xineapplication.cpp:643
#3  0x00007f70ef0a5da4 in QObject::event (this=0x7fff2d0dc7d0, e=0x2516b80) at kernel/qobject.cpp:1279
#4  0x00007f70edfd722c in QApplicationPrivate::notify_helper (this=0x2469b10, receiver=0x7fff2d0dc7d0, e=0x2516b80) at kernel/qapplication.cpp:4300
#5  0x00007f70edfdd6fb in QApplication::notify (this=0x7fff2d0dc8a0, receiver=0x7fff2d0dc7d0, e=0x2516b80) at kernel/qapplication.cpp:4183
#6  0x00007f70efcf7a16 in KApplication::notify (this=0x7fff2d0dc8a0, receiver=0x7fff2d0dc7d0, event=0x2516b80) at ../../kdeui/kernel/kapplication.cpp:302
#7  0x00007f70ef09606c in QCoreApplication::notifyInternal (this=0x7fff2d0dc8a0, receiver=0x7fff2d0dc7d0, event=0x2516b80) at kernel/qcoreapplication.cpp:704
#8  0x00007f70ef0987e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x24533a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#9  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x24533a0) at kernel/qcoreapplication.cpp:1345
#10 0x00007f70ef0bf9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#11 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#12 0x00007f70ea73c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0x00007f70ea740748 in ?? () from /lib/libglib-2.0.so.0
#14 0x00007f70ea7408fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0x00007f70ef0bf513 in QEventDispatcherGlib::processEvents (this=0x2452b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#16 0x00007f70ee08746e in QGuiEventDispatcherGlib::processEvents (this=0x2b93d7c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#17 0x00007f70ef094992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#18 0x00007f70ef094d6c in QEventLoop::exec (this=0x7fff2d0dc710, flags=) at kernel/qeventloop.cpp:201
#19 0x00007f70ef098aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#20 0x0000000000404b97 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kaffeine-1.0~pre3/src/backend-xine/xineapplication.cpp:943
Comment 1 Mauro Carvalho Chehab 2016-06-01 11:34:36 UTC
The Kaffeine version you're using is too old. It still uses libxine backend to play videos. We moved to libVLC sometime ago (version 1.3.x), and we just released upstream a version 2.0.1, with is based on KDE5. So, lots of change too. 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.