Bug 224186 - plasma crashes when I cancel add widgets
Summary: plasma crashes when I cancel add widgets
Status: RESOLVED DUPLICATE of bug 219664
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 17:49 UTC by Per Ångström
Modified: 2010-01-25 19:08 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 Per Ångström 2010-01-25 17:49:41 UTC
Version:            (using Devel)
Installed from:    Compiled sources

KDE 4.3.95 (KDE 4.4 RC2), Ubuntu Lucid Lynx Alpha 2+.

In just a few minutes I have had a couple of plasma-desktop crashes by simply exiting the Add Widgets mode without making a choice (pressing Cancel in the search box).

It seems that it is easiest to get the crash if do this immediately after logging in.

The crash dump is said to unusable, but I'm pasting it anyway:

Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fddc8b99800 (LWP 6466))]

Thread 2 (Thread 0x7fdda5e3d710 (LWP 6467)):
#0  0x00007fddc6df06cc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fddc707c66b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fddc582807c in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007fddc707b6b5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fddc6debb14 in start_thread () from /lib/libpthread.so.0
#5  0x00007fddc5bac05d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fddc8b99800 (LWP 6466)):
[KCrash Handler]
#5  0x00007fddc692e72c in ?? () from /usr/lib/libQtGui.so.4
#6  0x00007fddc692f55c in ?? () from /usr/lib/libQtGui.so.4
#7  0x00007fddc694e355 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#8  0x00007fddc63691b5 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007fddc670cae6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fddc69496cb in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fddc716ded7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007fddc6313efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fddc631a53d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fddc76b3b66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007fddc716eabc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007fddc637176d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#17 0x00007fddc6527e36 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fddc6362ba0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#19 0x00007fddc63698c5 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fddc670cae6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007fddc679758b in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007fddc6313f2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fddc631a53d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007fddc76b3b66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fddc716eabc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fddc7171237 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0x00007fddc69360fa in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007fddc6936682 in QGraphicsScene::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#29 0x00007fddbe7d3165 in Plasma::Corona::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3
#30 0x00007fddbafb6dd3 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#31 0x00007fddc717e789 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x00007fddc6932690 in QGraphicsScene::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fddc6313f2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fddc631a53d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fddc76b3b66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007fddc716eabc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007fddc7171237 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#38 0x00007fddc7198513 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007fddc236bd4e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fddc236f718 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fddc236f840 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fddc7198053 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007fddc63c23de in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007fddc716d3e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007fddc716d7bc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007fddc71714fb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x00007fddbafbdec2 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#48 0x0000000000406fb8 in _start ()
Comment 1 Per Ångström 2010-01-25 18:03:02 UTC
I can reproduce the crash consistently if I perform the following for the first time in a new session:

1) Open Panel Toolbox.
2) Choose "Add Widgets..."
3) Press Cancel, or click the top-right X. 

If I do the same again, in the same session, I will not have a crash.
Comment 2 Per Ångström 2010-01-25 18:19:13 UTC
I installed the debug symbols and reproduced the crash, so now I have more information:

Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7ffbf57f0800 (LWP 9969))]

Thread 2 (Thread 0x7ffbd2a94710 (LWP 9970)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffbf3cd366b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x222c6f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x222c6f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbf247f07c in QHostInfoAgent::run (this=0x222c6e0) at kernel/qhostinfo.cpp:252
#4  0x00007ffbf3cd26b5 in QThreadPrivate::start (arg=0x222c6e0) at thread/qthread_unix.cpp:244
#5  0x00007ffbf3a42b14 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ffbf280305d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffbf57f0800 (LWP 9969)):
[KCrash Handler]
#5  QGraphicsScenePrivate::processDirtyItemsRecursive (this=0x1d657d0, item=0x291bbb0, dirtyAncestorContainsChildren=false, parentOpacity=0) at graphicsview/qgraphicsscene.cpp:4895
#6  0x00007ffbf358d03d in QGraphicsScenePrivate::_q_processDirtyItems (this=0x1d657d0) at graphicsview/qgraphicsscene.cpp:466
#7  0x00007ffbf358d682 in QGraphicsScene::qt_metacall (this=0x1e4ade0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x29a3960) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#8  0x00007ffbeb42a165 in Plasma::Corona::qt_metacall (this=0x1d657d0, _c=43105200, _id=0, _a=0x1) at ./corona.moc:107
#9  0x00007ffbe7c0ddd3 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#10 0x00007ffbf3dd5789 in QObject::event (this=0x1e4ade0, e=0x29117a0) at kernel/qobject.cpp:1260
#11 0x00007ffbf3589690 in QGraphicsScene::event (this=0x1e4ade0, event=0x29117a0) at graphicsview/qgraphicsscene.cpp:3450
#12 0x00007ffbf2f6af2c in QApplicationPrivate::notify_helper (this=0x1cd6150, receiver=0x1e4ade0, e=0x29117a0) at kernel/qapplication.cpp:4242
#13 0x00007ffbf2f7153d in QApplication::notify (this=0x1ca8180, receiver=0x1e4ade0, e=0x29117a0) at kernel/qapplication.cpp:4125
#14 0x00007ffbf430ab66 in KApplication::notify (this=0x1ca8180, receiver=0x1e4ade0, event=0x29117a0) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007ffbf3dc5abc in QCoreApplication::notifyInternal (this=0x1ca8180, receiver=0x1e4ade0, event=0x29117a0) at kernel/qcoreapplication.cpp:704
#16 0x00007ffbf3dc8237 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1c5cad0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1c5cad0) at kernel/qcoreapplication.cpp:1345
#18 0x00007ffbf3def513 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007ffbeefc2d4e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007ffbeefc6718 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007ffbeefc6840 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007ffbf3def053 in QEventDispatcherGlib::processEvents (this=0x1cd5e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#24 0x00007ffbf30193de in QGuiEventDispatcherGlib::processEvents (this=0x1d657d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007ffbf3dc43e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007ffbf3dc47bc in QEventLoop::exec (this=0x7fff16f294f0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007ffbf3dc84fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0x00007ffbe7c14ec2 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#29 0x0000000000406fb8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4c1 "0") at ../../kinit/kinit.cpp:706
#30 0x0000000000407c70 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1198
#31 0x00000000004081ff in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1391
#32 0x0000000000408e0a in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1830
Comment 3 Beat Wolf 2010-01-25 19:08:08 UTC

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