Bug 364602

Summary: Amorak crashes on startup (OpenSUSE 13.2 -- MATE Desktop Environment 1.8.1)
Product: [Applications] amarok Reporter: Mike Kienenberger <mkienenb>
Component: generalAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 2.8.0   
Target Milestone: 2.9   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike Kienenberger 2016-06-21 14:07:09 UTC
Application: amarok (2.8.0)
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:
- What I was doing when the application crashed:

I was merely launching the application from the applications menu (Mate).

Yesterday was the first time I remember launching the application and having it crash.  When that happened, I had selected a number of mp3 files and said to open them all.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f0eb7b7dada in __strcmp_sse2_unaligned () at /lib64/libc.so.6
#6  0x00007f0e908abfee 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  0x00007f0e90dabf57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f0ebad048ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f0ebad049d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f0ebad08b08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f0ebad047a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f0ebad082fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f0eb0ff502b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007f0ebad047a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f0eb0ff55dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f0eb0ff50c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f0e96b5a59f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007f0e96b43d5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007f0e96b44057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007f0e96b442c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007f0e96b44534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007f0e96b44a87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007f0e96adc49d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007f0e968ad623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007f0e96ddeec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007f0e96dc4728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f0e96dc51eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f0eb8305641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007f0e975aaf8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007f0e975ab773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f0eb46a8c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007f0eb46a9317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007f0eb46a98e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007f0eb46a19b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007f0eb469f896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007f0eb9fa5adc in EngineController::initializePhonon() () at /usr/lib64/libamaroklib.so.1
#37 0x00007f0eb9fac2d5 in  () at /usr/lib64/libamaroklib.so.1
#38 0x00007f0eb8329348 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at /usr/lib64/libQtCore.so.4
#39 0x00007f0eb832b802 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib64/libQtCore.so.4
#40 0x00007f0eba06bfad in  () at /usr/lib64/libamaroklib.so.1
#41 0x00007f0eba06c011 in  () at /usr/lib64/libamaroklib.so.1
#42 0x00007f0eb9f9ebcd in App::continueInit() () at /usr/lib64/libamaroklib.so.1
#43 0x00007f0eb9f9fd26 in App::App() () at /usr/lib64/libamaroklib.so.1
#44 0x0000000000407fa7 in  ()
#45 0x00007f0eb7b0fb05 in __libc_start_main () at /lib64/libc.so.6
#46 0x00000000004080d2 in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2016-06-21 20:32:23 UTC
Unfortunately your backtrace has no debugging symbols, please install those and provide a new and more complete backtrace. See also https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Mike Kienenberger 2016-06-21 21:31:45 UTC
Sorry.  I had hit install symbols but hadn't noticed that there were still a bunch missing.

I've managed to find the debuginfo packages for everything but two lines.  Here's the new backtrace:

Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fd89419aada in __strcmp_sse2_unaligned () at /lib64/libc.so.6
#6  0x00007fd86cec8fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) (length=22, typeName=0x286d9f8 <error: Cannot access memory at address 0x286d9f8>) at kernel/qmetatype.cpp:806
#7  0x00007fd86cec8fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) (normalizedTypeName=..., deleter=deleter@entry=0x7fd86d67f930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7fd86d67fab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7fd86d67f890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7fd86d67f8a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#8  0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#9  0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7fd86d75b9de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
#10 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2081
#11 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at ../../src/corelib/kernel/qmetatype.h:1509
#12 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at ../../src/corelib/kernel/qmetatype.h:1649
#13 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at ../../src/corelib/kernel/qmetatype.h:1698
#14 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2107
#15 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) (this=<optimized out>) at painting/qpaintbuffer.cpp:2111
#16 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) (__priority=65535, __initialize_p=1) at painting/qpaintbuffer.cpp:2111
#17 0x00007fd86d3c8f57 in _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2207
#18 0x00007fd8973218ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#19 0x00007fd8973219d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#20 0x00007fd897325b08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#21 0x00007fd8973217a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#22 0x00007fd8973252fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#23 0x00007fd88d61202b in dlopen_doit () at /lib64/libdl.so.2
#24 0x00007fd8973217a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#25 0x00007fd88d6125dd in _dlerror_run () at /lib64/libdl.so.2
#26 0x00007fd88d6120c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#27 0x00007fd87317759f in module_Load (p_this=p_this@entry=0x141c1a8, path=path@entry=0x144b0b0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7fffa3ad79e8, lazy=<optimized out>) at posix/plugin.c:60
#28 0x00007fd873160d5d in module_InitDynamic (obj=0x141c1a8, path=0x144b0b0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:586
#29 0x00007fd873161057 in AllocatePluginDir (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:529
#30 0x00007fd873161057 in AllocatePluginDir (bank=0x7fffa3ad7c40, maxdepth=1828714504, absdir=0x0, reldir=0x144a710 "gui") at modules/bank.c:490
#31 0x00007fd8731612c9 in AllocatePluginDir (bank=0x7fffa3ad7c40, maxdepth=1828714504, maxdepth@entry=5, absdir=0x0, absdir@entry=0x144e000 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:494
#32 0x00007fd873161534 in AllocatePluginPath (p_this=p_this@entry=0x141c1a8, path=0x144e000 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:403
#33 0x00007fd873161a87 in module_LoadPlugins (p_this=0x141c1a8) at modules/bank.c:330
#34 0x00007fd873161a87 in module_LoadPlugins (obj=obj@entry=0x141c1a8) at modules/bank.c:186
#35 0x00007fd8730f949d in libvlc_InternalInit (p_libvlc=0x141c1a8, i_argc=11, ppsz_argv=0x7fffa3ad7dc0) at libvlc.c:159
#36 0x00007fd872eca623 in libvlc_new () at /usr/lib64/libvlc.so.5
#37 0x00007fd8733fbec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#38 0x00007fd8733e1728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#39 0x00007fd8733e21eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#40 0x00007fd894922641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#41 0x00007fd873bc7f8b in Phonon::KdePlatformPlugin::createBackend(KSharedPtr<KService>) (this=this@entry=0x13d0c80, newService=...) at /usr/src/debug/kde-runtime-15.08.3/phonon/platform_kde/kdeplatformplugin.cpp:130
#42 0x00007fd873bc8773 in Phonon::KdePlatformPlugin::createBackend() (this=0x13d0c80) at /usr/src/debug/kde-runtime-15.08.3/phonon/platform_kde/kdeplatformplugin.cpp:183
#43 0x00007fd890cc5c76 in Phonon::FactoryPrivate::createBackend() (this=0x13ba900) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#44 0x00007fd890cc6317 in Phonon::Factory::backend(bool) (createWhenNull=248, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#45 0x00007fd890cc68e3 in Phonon::Factory::createAudioOutput(QObject*) (parent=0x13b9f30) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#46 0x00007fd890cbe9b9 in Phonon::AudioOutputPrivate::createBackendObject() (this=0x13bd1b0) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#47 0x00007fd890cbc896 in Phonon::AudioOutputPrivate::init(Phonon::Category) (this=0x13bd1b0, c=Phonon::MusicCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#48 0x00007fd8965c2adc in EngineController::initializePhonon() (this=0x13e46d0) at /usr/src/debug/amarok-2.8.0/src/EngineController.cpp:148
#49 0x00007fd8965c92d5 in EngineController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x13e46d0, _id=1828714504, _a=0x0, _c=<optimized out>) at /usr/src/debug/amarok-2.8.0/build/src/EngineController.moc:198
#50 0x00007fd894946348 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at /usr/lib64/libQtCore.so.4
#51 0x00007fd894948802 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib64/libQtCore.so.4
#52 0x00007fd896688fad in Amarok::DefaultApplicationController::initEngineController() (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7fd896723ba1 "initializePhonon", obj=0x13e46d0) at /usr/include/QtCore/qobjectdefs.h:418
#53 0x00007fd896688fad in Amarok::DefaultApplicationController::initEngineController() (this=this@entry=0x13d3a90) at /usr/src/debug/amarok-2.8.0/src/statemanagement/DefaultApplicationController.cpp:89
#54 0x00007fd896689011 in Amarok::DefaultApplicationController::start() (this=0x13d3a90) at /usr/src/debug/amarok-2.8.0/src/statemanagement/DefaultApplicationController.cpp:48
#55 0x00007fd8965bbbcd in App::continueInit() (this=this@entry=0x7fffa3ad91a0) at /usr/src/debug/amarok-2.8.0/src/App.cpp:433
#56 0x00007fd8965bcd26 in App::App() (this=0x7fffa3ad91a0) at /usr/src/debug/amarok-2.8.0/src/App.cpp:175
#57 0x0000000000407fa7 in main(int, char**) (argc=<optimized out>, argv=0x7fffa3ad9308) at /usr/src/debug/amarok-2.8.0/src/main.cpp:327
Comment 3 Myriam Schweingruber 2016-06-23 10:35:50 UTC
Could you please also install the missing symbols? Mainly for phonon-backend-vlc, but you should ideally have all debugging symbols for amarok's dependencies.
So far this doesn't appear to be an Amarok problem
Comment 4 Mike Kienenberger 2016-06-24 13:29:21 UTC
After spending some time to determine why the symbols for phonon-backend-vlc debuginfo were not showing up despite being installed, I finally noticed that the debuginfo version was 9.x and the installed package version was 8.x.   Once I upgraded that package and its dependencies, everything works again.

Thanks for insisting that I find the missing symbols, or I wouldn't have been able to resolve this.
Comment 5 Myriam Schweingruber 2016-06-24 14:43:43 UTC
You are welcome :-) Nice to see this is solved for you now!
Comment 6 Christoph Feck 2016-06-27 23:38:21 UTC
Myriam, bugs with "libvlc_InternalInit" in the backtrace are usually bug 335111.