Bug 250935

Summary: Plasma crashes when editing dashboard activity [QGraphicsTextItem::document, FileWatcher::sizeHint]
Product: [Unmaintained] plasma4 Reporter: Bartosz Gęza <potatog>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: salva.ferrer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bartosz Gęza 2010-09-12 02:11:54 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-05010-ge3c3710 x86_64
Distribution (Platform): Gentoo Packages

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

I tried to change wallpaper of dashboard. 
Changing activity type also causes this.

- Custom settings of the application:

Dashboard is set to use independent set of widgets.

The crash can be reproduced every time.

-- Backtrace:
Application: Przestrzeń robocza Plazmy (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f75eaa6c7a0 (LWP 9754))]

Thread 3 (Thread 0x7f75c8f3d710 (LWP 9791)):
#0  0x00007f75e766e619 in pthread_cond_timedwait () from /lib/libpthread.so.0
#1  0x00007f75e78f9b31 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f75e78eec00 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f75e78f8b65 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f75e7669914 in start_thread () from /lib/libpthread.so.0
#5  0x00007f75ea3aa1dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f75c198e710 (LWP 9792)):
#0  0x00007f75e766e619 in pthread_cond_timedwait () from /lib/libpthread.so.0
#1  0x00007f75e78f9b31 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f75e78eec00 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f75e78f8b65 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f75e7669914 in start_thread () from /lib/libpthread.so.0
#5  0x00007f75ea3aa1dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f75eaa6c7a0 (LWP 9754)):
[KCrash Handler]
#6  0x00007f75e7166374 in QGraphicsTextItem::document() const () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007f75cc9e22e9 in FileWatcher::sizeHint(Qt::SizeHint, QSizeF const&) const () from /usr/kde/4.5/lib64/kde4/plasma_applet_fileWatcher.so
#8  0x00007f75e7187a6b in QGraphicsLayoutItemPrivate::effectiveSizeHints(QSizeF const&) const () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f75e7187e9d in QGraphicsLayoutItem::effectiveSizeHint(Qt::SizeHint, QSizeF const&) const () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f75c2050bd6 in AppletsContainer::optimalAppletSize(Plasma::Applet*, bool) const () from /usr/kde/4.5/lib64/kde4/plasma_containment_newspaper.so
#11 0x00007f75c2050f7d in AppletsContainer::createAppletTitle(Plasma::Applet*) () from /usr/kde/4.5/lib64/kde4/plasma_containment_newspaper.so
#12 0x00007f75c205136b in AppletsContainer::layoutApplet(Plasma::Applet*, QPointF const&) () from /usr/kde/4.5/lib64/kde4/plasma_containment_newspaper.so
#13 0x00007f75c2044daa in Newspaper::restore(KConfigGroup&) () from /usr/kde/4.5/lib64/kde4/plasma_containment_newspaper.so
#14 0x00007f75e9fa221f in Plasma::View::swapContainment(Plasma::Containment*, QString const&, QList<QVariant> const&) () from /usr/kde/4.5/lib64/libplasma.so.3
#15 0x00007f75e9240435 in BackgroundDialog::saveConfig() () from /usr/kde/4.5/lib64/libplasmagenericshell.so.4
#16 0x00007f75e923d5cc in BackgroundDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/kde/4.5/lib64/libplasmagenericshell.so.4
#17 0x00007f75e79fd386 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f75e85ef578 in KDialog::slotButtonClicked(int) () from /usr/kde/4.5/lib64/libkdeui.so.5
#19 0x00007f75e85f1409 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/kde/4.5/lib64/libkdeui.so.5
#20 0x00007f75e86c9c90 in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/kde/4.5/lib64/libkdeui.so.5
#21 0x00007f75e85de5a0 in KConfigDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/kde/4.5/lib64/libkdeui.so.5
#22 0x00007f75e923d4f0 in BackgroundDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/kde/4.5/lib64/libplasmagenericshell.so.4
#23 0x00007f75e79fd386 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f75e7a022fe in QSignalMapper::mapped(int) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f75e7a03502 in QSignalMapper::map(QObject*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f75e7a03780 in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f75e79fd386 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f75e7225082 in QAbstractButton::clicked(bool) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f75e6f374bb in QAbstractButtonPrivate::emitClicked() () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f75e6f3834b in QAbstractButtonPrivate::click() () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f75e6f385bc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f75e6bc95a1 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f75e6b7338c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f75e6b7a0ab in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f75e8691016 in KApplication::notify(QObject*, QEvent*) () from /usr/kde/4.5/lib64/libkdeui.so.5
#36 0x00007f75e79e9e9b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007f75e6b791d2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f75e6bf96c4 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f75e6bf835a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f75e6c22772 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f75df6fd5a1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f75df7013f8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#43 0x00007f75df7015ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x00007f75e7a13ba3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007f75e6c2236e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f75e79e87f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#47 0x00007f75e79e8bc4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007f75e79ed83b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f75ea66e746 in kdemain () from /usr/kde/4.5/lib64/libkdeinit4_plasma-desktop.so
#50 0x00007f75ea2f7bbd in __libc_start_main () from /lib/libc.so.6
#51 0x00000000004007b9 in _start ()

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-09-13 01:18:33 UTC
SVN commit 1174608 by aseigo:

initializing variables is good
BUG:250935


 M  +5 -5      fileWatcher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174608
Comment 2 Aaron J. Seigo 2010-09-13 01:21:32 UTC
SVN commit 1174609 by aseigo:

initializing variables is good
BUG:250935



 M  +5 -5      fileWatcher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174609
Comment 3 Dario Andres 2010-11-15 22:23:18 UTC
*** Bug 245981 has been marked as a duplicate of this bug. ***