Bug 347564 - Crash in KPluginMetadata on kded5 startup
Summary: Crash in KPluginMetadata on kded5 startup
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 19:04 UTC by Kai Uwe Broulik
Modified: 2017-09-17 14:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2015-05-11 19:04:30 UTC
I'm observing the following crash when starting kded5 from console:

Thread 1 (Thread 0x7f12e234b780 (LWP 4898)):
[KCrash Handler]
#6  0x00007f12e1c4e267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f12e1c4feca in __GI_abort () at abort.c:89
#8  0x00007f12e1c91c53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f12e1daa1a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f12e1c99c69 in malloc_printerr (ptr=<optimized out>, str=0x7f12e1daa2b8 "double free or corruption (out)", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007f12e1c9d89c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007f12e105d956 in QTypedArrayData<unsigned short>::deallocate (data=0x7cbd50) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:222
#13 0x00007f12e105cc03 in QString::~QString (this=0x7e4bc8, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:992
#14 0x00007f12e1088746 in KPluginMetaDataPrivate::~KPluginMetaDataPrivate (this=0x7e4bc0, __in_chrg=<optimized out>) at /home/kaiuwe/Projekte/kf5/src/frameworks/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:33
#15 0x00007f12e108879b in QExplicitlySharedDataPointer<KPluginMetaDataPrivate>::~QExplicitlySharedDataPointer (this=0x7f68c0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:156
#16 0x00007f12e1084f56 in KPluginMetaData::~KPluginMetaData (this=0x7f68a8, __in_chrg=<optimized out>) at /home/kaiuwe/Projekte/kf5/src/frameworks/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:56
#17 0x00007f12e1ff5b5c in QVector<KPluginMetaData>::destruct (this=0x7ffc9b9182a0, from=0x7f68c8, to=0x7f6c48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:313
#18 0x00007f12e1ff31ce in QVector<KPluginMetaData>::freeData (this=0x7ffc9b9182a0, x=0x7f67f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:483
#19 0x00007f12e1ff0dd4 in QVector<KPluginMetaData>::~QVector (this=0x7ffc9b9182a0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:68
#20 0x00007f12e1feb51c in Kded::initModules (this=0x7b6580) at /home/kaiuwe/Projekte/kf5/src/frameworks/kded/src/kded.cpp:287
#21 0x00007f12e1fed3e4 in Kded::recreateDone (this=0x7b6580) at /home/kaiuwe/Projekte/kf5/src/frameworks/kded/src/kded.cpp:575
#22 0x00007f12e1fed26d in Kded::recreate (this=0x7b6580, initial=true) at /home/kaiuwe/Projekte/kf5/src/frameworks/kded/src/kded.cpp:548
#23 0x00007f12e1fee8ae in kdemain (argc=1, argv=0x7ffc9b918588) at /home/kaiuwe/Projekte/kf5/src/frameworks/kded/src/kded.cpp:818
#24 0x0000000000400858 in main (argc=1, argv=0x7ffc9b918588) at /home/kaiuwe/Projekte/kf5/build/frameworks/kded/src/kded5_dummy.cpp:3

Reproducible: Always
Comment 1 Michael Pyne 2017-08-06 21:14:58 UTC
Kai, are you still seeing this bug?
Comment 2 Christoph Feck 2017-08-23 10:58:14 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2017-09-17 14:14:31 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Kai Uwe Broulik 2017-09-17 14:16:15 UTC
I think this fixed itself.