Bug 363381

Summary: Crash of Kaffeine with any MPEG file
Product: [Applications] kaffeine Reporter: Andreas <anvoigt>
Component: generalAssignee: Christoph Pfister <christophpfister>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: mchehab
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas 2016-05-21 21:11:49 UTC
Application: kaffeine-xbu (1.2.2 1.2.6)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-35-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
<Erklären Sie bitte ganz genau, was Sie machten, als das Programm abstürzte.>

The crash can be reproduced every time.

-- Backtrace:
Application: Kaffeine (kaffeine-xbu), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ea2242780 (LWP 20407))]

Thread 9 (Thread 0x7f8e90e3e700 (LWP 20409)):
#0  0x00007f8ea08953e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1ac6701 in  () at /usr/lib64/libxine.so.2
#2  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f8e8a15c700 (LWP 20410)):
#0  0x00007f8e9f5f4bdd in poll () at /lib64/libc.so.6
#1  0x00007f8e8b458a41 in  () at /usr/lib64/libpulse.so.0
#2  0x00007f8e8b44a2ec in pa_mainloop_poll () at /usr/lib64/libpulse.so.0
#3  0x00007f8e8b44a95e in pa_mainloop_iterate () at /usr/lib64/libpulse.so.0
#4  0x00007f8e8b44aa10 in pa_mainloop_run () at /usr/lib64/libpulse.so.0
#5  0x00007f8e8b4589f3 in  () at /usr/lib64/libpulse.so.0
#6  0x00007f8e8b201808 in  () at /usr/lib64/pulseaudio/libpulsecommon-5.0.so
#7  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f8e8595a700 (LWP 20411)):
#0  0x00007f8ea089503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1ad8753 in  () at /usr/lib64/libxine.so.2
#2  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f8e7e9b4700 (LWP 20412)):
#0  0x00007f8ea08953e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1ad221b in  () at /usr/lib64/libxine.so.2
#2  0x00007f8ea1ad4a44 in  () at /usr/lib64/libxine.so.2
#3  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8e7ddca700 (LWP 20413)):
[KCrash Handler]
#5  0x00007f8e76d1e6ab in init_postprocess () at /usr/lib64/xine/plugins/2.5/xineplug_decode_ff.so
#6  0x00007f8e76d1f223 in ff_handle_preview_buffer () at /usr/lib64/xine/plugins/2.5/xineplug_decode_ff.so
#7  0x00007f8e76d1ff7b in ff_decode_data () at /usr/lib64/xine/plugins/2.5/xineplug_decode_ff.so
#8  0x00007f8ea1ad0a87 in  () at /usr/lib64/libxine.so.2
#9  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8e7d3fc700 (LWP 20414)):
#0  0x00007f8ea0895027 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8e8b459080 in pa_threaded_mainloop_wait () at /usr/lib64/libpulse.so.0
#2  0x00007f8e8b6759ed in  () at /usr/lib64/xine/plugins/2.5/xineplug_ao_out_pulseaudio.so
#3  0x00007f8ea1ad77ac in  () at /usr/lib64/libxine.so.2
#4  0x00007f8ea1ad7a42 in  () at /usr/lib64/libxine.so.2
#5  0x00007f8e768f52d0 in faad_open_output () at /usr/lib64/xine/plugins/2.5/xineplug_decode_faad.so
#6  0x00007f8e768f58bc in faad_decode_data () at /usr/lib64/xine/plugins/2.5/xineplug_decode_faad.so
#7  0x00007f8ea1ad1c8f in  () at /usr/lib64/libxine.so.2
#8  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8e7cbfb700 (LWP 20415)):
#0  0x00007f8ea089503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1ada5fb in xine_event_wait () at /usr/lib64/libxine.so.2
#2  0x00007f8ea1ada69e in  () at /usr/lib64/libxine.so.2
#3  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8e766b2700 (LWP 20416)):
#0  0x00007f8ea089503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1aca363 in  () at /usr/lib64/libxine.so.2
#2  0x00007f8e8db89dfd in  () at /usr/lib64/xine/plugins/2.5/xineplug_dmx_qt.so
#3  0x00007f8ea1adf9e8 in  () at /usr/lib64/libxine.so.2
#4  0x00007f8ea08910a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f8e9f5fd00d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8ea2242780 (LWP 20407)):
#0  0x00007f8ea08953e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ea1ac2f4f in xine_play () at /usr/lib64/libxine.so.2
#2  0x00000000004058cd in XineObject::customEvent(QEvent*) (this=0x7ffc83e77850, event=<optimized out>) at /usr/src/debug/kaffeine-1.2.2/src/backend-xine/xineapplication.cpp:708
#3  0x00007f8ea0c4162d in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#4  0x00007f8e9fda576c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#5  0x00007f8e9fdabcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#6  0x00007f8ea168ee0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#7  0x00007f8ea0c292ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#8  0x00007f8ea0c2c57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#9  0x00007f8ea0c568fe in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f8e9c016a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#11 0x00007f8e9c016c48 in  () at /usr/lib64/libglib-2.0.so.0
#12 0x00007f8e9c016cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#13 0x00007f8ea0c560be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#14 0x00007f8e9fe42676 in  () at /usr/lib64/libQtGui.so.4
#15 0x00007f8ea0c27e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#16 0x00007f8ea0c28165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#17 0x00007f8ea0c2d5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#18 0x0000000000404346 in main(int, char**) (argc=1, argv=0x7ffc83e77a48) at /usr/src/debug/kaffeine-1.2.2/src/backend-xine/xineapplication.cpp:1008

Possible duplicates by query: bug 362641, bug 358631, bug 358228, bug 357994.
Comment 1 Mauro Carvalho Chehab 2016-06-01 02:51:32 UTC
The Kaffeine version you're using is too old... it still uses the xine backend. We moved to libVLC sometime ago, 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 it if 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
Comment 2 Mauro Carvalho Chehab 2016-06-01 09:20:54 UTC
As this BZ seems to be related with a too old version, I'm closing the bug. If you find problems with version 2.0.1, please re-open.