Bug 358111

Summary: Kphotoalbum (KPA) crashed, on trying to view a mpeg file
Product: [Frameworks and Libraries] Phonon Reporter: Martin Jost <ntgbkrg7t>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: johannes, myriam, romain.perier
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Jost 2016-01-17 06:51:02 UTC
Application: kphotoalbum (4.6.2)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-29-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
KPA crashes on trying to view a mpg file. (2016-01-16_14-08-34.mp4: ISO Media, MPEG v4 system, version 2)
When I try to open this file KPA crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f71aa20b800 (LWP 3205))]

Thread 5 (Thread 0x7f7191cc0700 (LWP 3206)):
#0  0x00007f71a5c0be5d in recvmsg () at /lib64/libpthread.so.0
#1  0x00007f71aa269fb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f71923bd2eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f71a5c050a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f71a511b08d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f718a11f700 (LWP 3209)):
#0  0x00007f71a5c0905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f71a5e9bc86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000004f637a in ImageManager::AsyncLoader::next() (this=0x63d8910) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/AsyncLoader.cpp:143
#3  0x00000000004f5ae0 in ImageManager::ImageLoaderThread::run() (this=0x63f3230) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/ImageLoaderThread.cpp:56
#4  0x00007f71a5e9b79f in  () at /usr/lib64/libQtCore.so.4
#5  0x00007f71a5c050a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f71a511b08d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f718991e700 (LWP 3210)):
#0  0x00007f71a5c0905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f71a5e9bc86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000004f637a in ImageManager::AsyncLoader::next() (this=0x63d8910) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/AsyncLoader.cpp:143
#3  0x00000000004f5ae0 in ImageManager::ImageLoaderThread::run() (this=0x63d90f0) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/ImageLoaderThread.cpp:56
#4  0x00007f71a5e9b79f in  () at /usr/lib64/libQtCore.so.4
#5  0x00007f71a5c050a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f71a511b08d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f718911d700 (LWP 3211)):
#0  0x00007f71a5c0905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f71a5e9bc86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000004f637a in ImageManager::AsyncLoader::next() (this=0x63d8910) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/AsyncLoader.cpp:143
#3  0x00000000004f5ae0 in ImageManager::ImageLoaderThread::run() (this=0x63d94a0) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/ImageManager/ImageLoaderThread.cpp:56
#4  0x00007f71a5e9b79f in  () at /usr/lib64/libQtCore.so.4
#5  0x00007f71a5c050a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f71a511b08d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f71aa20b800 (LWP 3205)):
[KCrash Handler]
#5  0x00007f71a515a06c in __strcmp_ssse3 () at /lib64/libc.so.6
#6  0x00007f716da26fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f716df26f57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f71aa0b58ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f71aa0b59d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f71aa0b9b08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f71aa0b57a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f71aa0b92fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f71a2f8e02b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007f71aa0b57a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f71a2f8e5dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f71a2f8e0c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f717952759f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007f7179510d5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007f7179511057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007f71795112c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007f7179511534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007f7179511a87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007f71794a949d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007f717927a623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007f71797abec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007f7179791728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f71797921eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f71a5f81641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007f71881ccf8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007f71881cd773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f71a9553c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007f71a9554317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007f71a95548e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007f71a954c9b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007f71a954a896 in  () at /usr/lib64/libphonon.so.4
#36 0x00000000004b4ca2 in Viewer::VideoDisplay::setup() (this=0x6c82480) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/Viewer/VideoDisplay.cpp:62
#37 0x00000000004b4f4d in Viewer::VideoDisplay::setImage(KSharedPtr<DB::ImageInfo>, bool) (this=0x6c82480, info=...) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/Viewer/VideoDisplay.cpp:87
#38 0x00000000004a82e6 in Viewer::ViewerWidget::load() (this=0x6bdb710) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/Viewer/ViewerWidget.cpp:484
#39 0x00000000004ab89a in Viewer::ViewerWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (this=<optimized out>) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/Viewer/ViewerWidget.cpp:553
#40 0x00000000004ab89a in Viewer::ViewerWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xdb1c8b0, _id=1840633856, _a=0x7ffce9f49370, _c=<optimized out>) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/build/ViewerWidget.moc:146
#41 0x00007f71a5fb11fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#42 0x00007f71a6e7a622 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#43 0x00007f71a6e7bfd3 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#44 0x00007f71a6e7c12c in QAction::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#45 0x00007f71a7ac32bf in KAction::event(QEvent*) () at /usr/lib64/libkdeui.so.5
#46 0x00007f71a6e8076c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007f71a6e86cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007f71a7b98e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#49 0x00007f71a5f9d2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#50 0x00007f71a6eb19d6 in  () at /usr/lib64/libQtGui.so.4
#51 0x00007f71a6eb1b0c in  () at /usr/lib64/libQtGui.so.4
#52 0x00007f71a6e87fe3 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#53 0x00007f71a7b98e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#54 0x00007f71a5f9d2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#55 0x00007f71a6f1aab7 in  () at /usr/lib64/libQtGui.so.4
#56 0x00007f71a6f1ae59 in  () at /usr/lib64/libQtGui.so.4
#57 0x00007f71a6ef6a5f in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#58 0x00007f71a6f1d5c2 in  () at /usr/lib64/libQtGui.so.4
#59 0x00007f719d7e9a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#60 0x00007f719d7e9c48 in  () at /usr/lib64/libglib-2.0.so.0
#61 0x00007f719d7e9cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f71a5fca0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#63 0x00007f71a6f1d676 in  () at /usr/lib64/libQtGui.so.4
#64 0x00007f71a5f9be6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#65 0x00007f71a5f9c165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#66 0x00007f71a5fa15b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#67 0x0000000000440ee3 in main(int, char**) (argc=1, argv=0x7ffce9f4a9b8) at /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.6.2/main.cpp:89

Reported using DrKonqi
Comment 1 Johannes Zarl-Zierl 2016-01-17 18:05:36 UTC
Thanks for the bug report!

Judging from the backtrace, it seems like the crash happened in either phonon or libvlccore. I'm therefore moving this bug to Phonon...
Comment 2 Christoph Feck 2016-01-24 03:22:56 UTC

*** This bug has been marked as a duplicate of bug 347917 ***