Bug 321438 - crash starting plasma-desktop
Summary: crash starting plasma-desktop
Status: RESOLVED DUPLICATE of bug 217392
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-icontasks (show other bugs)
Version: 4.10.80
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Craig Drummond
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-06-20 17:44 UTC by Jaime Torres
Modified: 2018-01-02 12:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2013-06-20 17:44:22 UTC
Application: plasma-desktop (4.10.80)
KDE Platform Version: 4.10.80 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.9.3-10.g06ad9d8-desktop x86_64
Distribution: "openSUSE 13.1 Milestone 2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just start plasma

valgrind output:
==19390== Warning: set address range perms: large range [0x397a9000, 0xb97a9000) (defined)
==19390== Invalid read of size 8
==19390==    at 0x23812C0E: TaskGroupItem::createAbstractItem(TaskManager::AbstractGroupableItem*) (taskgroupitem.cpp:529)
==19390==    by 0x23812513: TaskGroupItem::itemAdded(TaskManager::AbstractGroupableItem*) (taskgroupitem.cpp:563)
==19390==    by 0x2381288A: TaskGroupItem::reload() (taskgroupitem.cpp:408)
==19390==    by 0x23812B6B: TaskGroupItem::setGroup(TaskManager::TaskGroup*) (taskgroupitem.cpp:456)
==19390==    by 0x237F78BD: Tasks::init() (tasks.cpp:180)
==19390==    by 0x5F4B56C: Plasma::ContainmentPrivate::initApplets() [clone .31349] (containment.cpp:460)
==19390==    by 0x5F4C363: Plasma::CoronaPrivate::importLayout(KConfigBase const&, bool) [clone .31309] (corona.cpp:1067)
==19390==    by 0x5F4C488: Plasma::Corona::loadLayout(QString const&) (corona.cpp:278)
==19390==    by 0x5F4C501: Plasma::Corona::initializeLayout(QString const&) (corona.cpp:181)
==19390==    by 0x4E8EB5D: PlasmaApp::corona(bool) (plasmaapp.cpp:856)
==19390==    by 0x4E8F007: PlasmaApp::setupDesktop() (plasmaapp.cpp:314)
==19390==    by 0x4E9225F: PlasmaApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (plasmaapp.moc:128)
==19390==  Address 0x1bc868e8 is 8 bytes inside a block of size 48 free'd
==19390==    at 0x4C2AF6C: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==19390==    by 0x1195445D: ??? (in /usr/lib64/libudev.so.1.3.5)
==19390==    by 0x11954E1A: udev_device_unref (in /usr/lib64/libudev.so.1.3.5)
==19390==    by 0xB77C990: UdevQt::Device::~Device() (udevqtdevice.cpp:97)
==19390==    by 0xB77CA9B: QList<UdevQt::Device>::node_destruct(QList<UdevQt::Device>::Node*, QList<UdevQt::Device>::Node*) [clone .isra.6.63281.4987] (qlist.h:431)
==19390==    by 0xB77CADA: QList<UdevQt::Device>::free(QListData::Data*) [clone .isra.7.63285.4984] (qlist.h:757)
==19390==    by 0xB7A092F: Solid::Backends::UDev::UDevManager::allDevices() (udevmanager.cpp:184)
==19390==    by 0xB7BFA1D: Solid::Backends::UDev::UDevManager::devicesFromQuery(QString const&, Solid::DeviceInterface::Type) (udevmanager.cpp:196)
==19390==    by 0xB7A6E44: Solid::Device::listFromType(Solid::DeviceInterface::Type const&, QString const&) (devicemanager.cpp:112)
==19390==    by 0x25492CF3: system_has_SSE2() (detectSSE2.cpp:31)
==19390==    by 0x2548B257: Mandelbrot::Mandelbrot(QObject*, QList<QVariant> const&) (mandelbrot.cpp:46)
==19390==    by 0x2548FDF4: QObject* KPluginFactory::createInstance<Mandelbrot, QObject>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:477)
==19390== 
==19390== Jump to the invalid address stated on the next line
==19390==    at 0x0: ???
==19390==    by 0x23812C10: TaskGroupItem::createAbstractItem(TaskManager::AbstractGroupableItem*) (taskgroupitem.cpp:529)
==19390==    by 0x23812513: TaskGroupItem::itemAdded(TaskManager::AbstractGroupableItem*) (taskgroupitem.cpp:563)
==19390==    by 0x2381288A: TaskGroupItem::reload() (taskgroupitem.cpp:408)
==19390==    by 0x23812B6B: TaskGroupItem::setGroup(TaskManager::TaskGroup*) (taskgroupitem.cpp:456)
==19390==    by 0x237F78BD: Tasks::init() (tasks.cpp:180)
==19390==    by 0x5F4B56C: Plasma::ContainmentPrivate::initApplets() [clone .31349] (containment.cpp:460)
==19390==    by 0x5F4C363: Plasma::CoronaPrivate::importLayout(KConfigBase const&, bool) [clone .31309] (corona.cpp:1067)
==19390==    by 0x5F4C488: Plasma::Corona::loadLayout(QString const&) (corona.cpp:278)
==19390==    by 0x5F4C501: Plasma::Corona::initializeLayout(QString const&) (corona.cpp:181)
==19390==    by 0x4E8EB5D: PlasmaApp::corona(bool) (plasmaapp.cpp:856)
==19390==    by 0x4E8F007: PlasmaApp::setupDesktop() (plasmaapp.cpp:314)
==19390==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

The crash can be reproduced every time.

-- Backtrace:
Application: Shell de escritorio Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
To enable execution of this file add
	add-auto-load-safe-path /home/jtorres/gcc44/lib64/libstdc++.so.6.0.18-gdb.py
line to your configuration file "/home/jtorres/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/jtorres/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[Current thread is 1 (Thread 0x7f9a6ecdc880 (LWP 24222))]

Thread 2 (Thread 0x7f9a63769700 (LWP 24244)):
#0  0x00007f9a749b9289 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f9a749b94c9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9a74979e75 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9a7497a0a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9a7c660967 in QEventDispatcherGlib::processEvents (this=0x7f9a5c0008c0, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f9a7c63151a in QEventLoop::processEvents (this=this@entry=0x7f9a63768c90, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#6  0x00007f9a7c63176f in QEventLoop::exec (this=0x7f9a63768c90, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#7  0x00007f9a7c537cf9 in QThread::exec (this=<optimized out>) at /g/kdegit/qt/src/corelib/thread/qthread.cpp:536
#8  0x00007f9a7c6136a6 in QInotifyFileSystemWatcherEngine::run (this=0x14f4e20) at /g/kdegit/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f9a7c53a131 in QThreadPrivate::start (arg=0x14f4e20) at /g/kdegit/qt/src/corelib/thread/qthread_unix.cpp:338
#10 0x00007f9a7c28de0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9a7a9d4b9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9a6ecdc880 (LWP 24222)):
[KCrash Handler]
#5  0x00007f9a653c8c0e in TaskGroupItem::createAbstractItem (this=0x1910a90, groupableItem=0x191f120) at /g/kdegit/kdeplasma-addons/applets/icontasks/taskgroupitem.cpp:529
#6  0x00007f9a653c8514 in TaskGroupItem::itemAdded (this=this@entry=0x1910a90, groupableItem=0x191f120) at /g/kdegit/kdeplasma-addons/applets/icontasks/taskgroupitem.cpp:563
#7  0x00007f9a653c888b in TaskGroupItem::reload (this=this@entry=0x1910a90) at /g/kdegit/kdeplasma-addons/applets/icontasks/taskgroupitem.cpp:408
#8  0x00007f9a653c8b6c in TaskGroupItem::setGroup (this=0x1910a90, group=<optimized out>) at /g/kdegit/kdeplasma-addons/applets/icontasks/taskgroupitem.cpp:456
#9  0x00007f9a653ad8be in Tasks::init (this=0x14a4dd0) at /g/kdegit/kdeplasma-addons/applets/icontasks/tasks.cpp:180
#10 0x00007f9a7ff3756d in Plasma::ContainmentPrivate::initApplets (this=0x1777e80) at /g/kdegit/kdelibs/plasma/containment.cpp:460
#11 0x00007f9a7ff38364 in Plasma::CoronaPrivate::importLayout (this=0x111b950, conf=..., mergeConfig=mergeConfig@entry=false) at /g/kdegit/kdelibs/plasma/corona.cpp:1067
#12 0x00007f9a7ff38489 in Plasma::Corona::loadLayout (this=this@entry=0x1117480, configName=...) at /g/kdegit/kdelibs/plasma/corona.cpp:278
#13 0x00007f9a7ff38502 in Plasma::Corona::initializeLayout (this=0x1117480, configName=...) at /g/kdegit/kdelibs/plasma/corona.cpp:181
#14 0x00007f9a80d92b5e in PlasmaApp::corona (this=this@entry=0x10b3ca0, createIfMissing=createIfMissing@entry=true) at /g/kdegit/kde-workspace/plasma/desktop/shell/plasmaapp.cpp:856
#15 0x00007f9a80d93008 in PlasmaApp::setupDesktop (this=this@entry=0x10b3ca0) at /g/kdegit/kde-workspace/plasma/desktop/shell/plasmaapp.cpp:314
#16 0x00007f9a80d96260 in PlasmaApp::qt_static_metacall (_o=0x10b3ca0, _c=<optimized out>, _id=<optimized out>, _a=0x1221940) at /g/b45/kde-workspace/plasma/desktop/shell/plasmaapp.moc:128
#17 0x00007f9a7c643498 in QMetaCallEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:524
#18 0x00007f9a7c64b481 in QObject::event (this=0x10b3ca0, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1194
#19 0x00007f9a7c636fba in QCoreApplication::event (this=<optimized out>, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1761
#20 0x00007f9a7b711fb9 in QApplication::event (this=0x10b3ca0, e=0x10c1ba0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:2544
#21 0x00007f9a7b70cc89 in QApplicationPrivate::notify_helper (this=this@entry=0x1094170, receiver=receiver@entry=0x10b3ca0, e=e@entry=0x10c1ba0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4562
#22 0x00007f9a7b713440 in QApplication::notify (this=0x10b3ca0, receiver=0x10b3ca0, e=0x10c1ba0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:3944
#23 0x00007f9a7d345b0e in KApplication::notify (this=0x10b3ca0, receiver=0x10b3ca0, event=0x10c1ba0) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0x00007f9a7c633134 in QCoreApplication::notifyInternal (this=0x10b3ca0, receiver=receiver@entry=0x10b3ca0, event=event@entry=0x10c1ba0) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:949
#25 0x00007f9a7c63602c in sendEvent (event=0x10c1ba0, receiver=0x10b3ca0) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xfef050) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1573
#27 0x00007f9a7c6361f9 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1466
#28 0x00007f9a7c661008 in sendPostedEvents () at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x10b82e0) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:280
#30 0x00007f9a74979ca5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f9a74979fe8 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f9a7497a0a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f9a7c660951 in QEventDispatcherGlib::processEvents (this=0xfeed70, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#34 0x00007f9a7b7af286 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f9a7c63151a in QEventLoop::processEvents (this=this@entry=0x7fffae322270, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#36 0x00007f9a7c63176f in QEventLoop::exec (this=0x7fffae322270, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#37 0x00007f9a7c636e85 in QCoreApplication::exec () at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1221
#38 0x00007f9a7b70b19a in QApplication::exec () at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:3823
#39 0x00007f9a80d7bf2d in kdemain (argc=1, argv=0x7fffae3224e8) at /g/kdegit/kde-workspace/plasma/desktop/shell/main.cpp:126
#40 0x00007f9a7a90da15 in __libc_start_main () from /lib64/libc.so.6
#41 0x00000000004009b1 in _start () at ../sysdeps/x86_64/start.S:123

This bug may be a duplicate of or related to bug 217392.

Possible duplicates by query: bug 217392.

Reported using DrKonqi
Comment 1 Jaime Torres 2018-01-02 12:27:45 UTC

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