Bug 171567 - KWallet authentication causes Plasma to crash.
Summary: KWallet authentication causes Plasma to crash.
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 01:54 UTC by Ammaar Limbada
Modified: 2008-11-11 00:48 UTC (History)
3 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 Ammaar Limbada 2008-09-24 01:54:45 UTC
Version:            (using KDE 4.1.0)
OS:                Linux
Installed from:    Fedora RPMs

Steps to reproduce:

1) Add the Twitter widget to the desktop.
2) Configure the Twitter widget with username and password.
3) KWallet asks if you would like it to remember your passwords. Asks you to enter a master password and confirm it so give it a master password.
4) Click OK and watch Plasma die and restart.

This also happened on a consequent attempt to login to the Twitter service using the widget. KWallet gave the option of Allow Once/Allow Always/Deny Once/Deny Always to which I replied Allow Always. Plasma died yet again.

Crash report follows:
Application: Plasma Workspace (plasma), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f3d770 (LWP 2658)]
[New Thread 0xb5087b90 (LWP 17735)]
[New Thread 0xb5afdb90 (LWP 25625)]
[New Thread 0xb67a3b90 (LWP 2663)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x07a6e02d in QGraphicsItem::clearFocus () from /usr/lib/libQtGui.so.4
#7  0x07ab7244 in ?? () from /usr/lib/libQtGui.so.4
#8  0x07ab5fc6 in QGraphicsWidget::itemChange () from /usr/lib/libQtGui.so.4
#9  0x02c3c09d in Plasma::Applet::itemChange () from /usr/lib/libplasma.so.2
#10 0x07a783b5 in QGraphicsItem::setParentItem () from /usr/lib/libQtGui.so.4
#11 0x02c56bbc in ?? () from /usr/lib/libplasma.so.2
#12 0x02c66e23 in Plasma::Containment::sceneEventFilter ()
   from /usr/lib/libplasma.so.2
#13 0x07a8f45f in ?? () from /usr/lib/libQtGui.so.4
#14 0x07a8f523 in ?? () from /usr/lib/libQtGui.so.4
#15 0x07a90a7a in ?? () from /usr/lib/libQtGui.so.4
#16 0x07a982f3 in ?? () from /usr/lib/libQtGui.so.4
#17 0x07a986bf in QGraphicsScene::mouseMoveEvent ()
   from /usr/lib/libQtGui.so.4
#18 0x07a988d7 in QGraphicsScene::event () from /usr/lib/libQtGui.so.4
#19 0x074f630c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#20 0x074fe16e in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x021b9ddd in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0x0024d731 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#23 0x07aa5e98 in ?? () from /usr/lib/libQtGui.so.4
#24 0x07aae3c6 in QGraphicsView::mouseMoveEvent () from /usr/lib/libQtGui.so.4
#25 0x0754df2b in QWidget::event () from /usr/lib/libQtGui.so.4
#26 0x07884033 in QFrame::event () from /usr/lib/libQtGui.so.4
#27 0x0791a60f in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#28 0x07aa7daf in QGraphicsView::viewportEvent () from /usr/lib/libQtGui.so.4
#29 0x0791cbb5 in ?? () from /usr/lib/libQtGui.so.4
#30 0x0024c91a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#31 0x074f62ea in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#32 0x074feb21 in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0x021b9ddd in KApplication::notify () from /usr/lib/libkdeui.so.5
#34 0x0024d731 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#35 0x074fddae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#36 0x07567e16 in ?? () from /usr/lib/libQtGui.so.4
#37 0x07567185 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#38 0x0758f6cc in ?? () from /usr/lib/libQtGui.so.4
#39 0x0096a0d8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x0096d783 in ?? () from /lib/libglib-2.0.so.0
#41 0x0096d941 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00277ea8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#43 0x0758ed95 in ?? () from /usr/lib/libQtGui.so.4
#44 0x0024be1a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0x0024bfda in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0x0024e685 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#47 0x074f6187 in QApplication::exec () from /usr/lib/libQtGui.so.4
#48 0x005977a1 in kdemain () from /usr/lib/libkdeinit4_plasma.so
#49 0x080487d2 in _start ()
Comment 1 Casper Clemence 2008-09-25 17:35:38 UTC
confirmed. (openSUSE 11.0 + "unstable KDE" kde-workspace = 4.1.67-4.3) 

Rather complex behaviour though: 
(1) If I set up a twitter applet in a new desktop containment, plasma doesn't crash on accessing kwallet but does crash if I try to kill the new twitter applet. 
(2) All sorts of strange things then start to happen, with applets forgetting their position, being unable to delete new containments and plasma crashing whenever I try to delete an applet.

Thought it could just be screwed-up rc-files, so I started with fresh ones but the problems returned.
Comment 2 Ammaar Limbada 2008-09-25 21:53:19 UTC
Thanks Casper. I forgot to mention the part where Plasma forgets the position of widgets. Most notably, any .desktop icons that I placed in the panel next to the Application Launcher had disappeared. Thankfully, I only had two there to begin with (Konsole and Firefox).
Comment 3 Casper Clemence 2008-09-30 10:49:54 UTC
Update: though Plasma crashed once in the process, removing the plasmarc and plasma-appsrc files did fix the problem for me. So it seems plasma allows these files to be put in a bad state then does not deal with said bad state.
Comment 4 Andre Duffeck 2008-11-07 11:44:53 UTC
Here's a better backtrace. The problem is somehow related to the AppletOverlayWidget that is shown when the applet is not configured yet. After disabling the call to setConfigurationRequired() in twitter.cpp the crash disappears...

This is in KDE 4.1 branch btw. i don't know if the problem also exists in trunk.

Anwendung: Plasma-Arbeitsfläche (plasma), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f87c96e8950 (LWP 18486)]
[New Thread 0x7f87caddb950 (LWP 18483)]
[New Thread 0x7f87cbd30950 (LWP 18482)]
[KCrash handler]
#5  QGraphicsItem::clearFocus (this=0xa2f5b0)
    at graphicsview/qgraphicsitem.cpp:1954
#6  0x00007f87d96f3e45 in QGraphicsWidgetPrivate::fixFocusChainBeforeReparenting (this=0x9598b0, newParent=0x0) at graphicsview/qgraphicswidget_p.cpp:586
#7  0x00007f87d96f2ce3 in QGraphicsWidget::itemChange (this=0x9170b0, 
    change=<value optimized out>, value=@0x7fffe6b2c550)
    at graphicsview/qgraphicswidget.cpp:935
#8  0x00007f87de3b63e1 in Plasma::Applet::itemChange (this=0x9170b0, 
    change=QGraphicsItem::ItemParentChange, value=@0x7fffe6b2c550)
    at /usr/src/debug/kdebase-workspace-4.1.2/libs/plasma/applet.cpp:1412
#9  0x00007f87d96b7e73 in QGraphicsItem::setParentItem (this=0x9170c0, 
    parent=0x711120) at graphicsview/qgraphicsitem.cpp:973
#10 0x00007f87de3cf028 in AppletHandle (this=0x711110, 
    parent=<value optimized out>, applet=<value optimized out>, 
    hoverPos=@0x7fffe6b2c800)
    at /usr/src/debug/kdebase-workspace-4.1.2/libs/plasma/applethandle.cpp:85
#11 0x00007f87de3d8e1b in Plasma::Containment::sceneEventFilter (
    this=0x8eeb20, watched=<value optimized out>, event=0x7fffe6b2c930)
    at /usr/src/debug/kdebase-workspace-4.1.2/libs/plasma/containment.cpp:1003
#12 0x00007f87d96cf103 in QGraphicsScenePrivate::filterEvent (this=0x6bfa90, 
    item=0x9170c0, event=0x7fffe6b2c930)
    at graphicsview/qgraphicsscene.cpp:1010
#13 0x00007f87d96cf199 in QGraphicsScenePrivate::sendEvent (this=0xa2f5b0, 
    item=0x0, event=0x9170b0) at graphicsview/qgraphicsscene.cpp:1028
#14 0x00007f87d96d05cd in QGraphicsScenePrivate::sendHoverEvent (
    this=0x6bfa90, type=<value optimized out>, item=0x9170c0, 
    hoverEvent=0x7fffe6b2cae0) at graphicsview/qgraphicsscene.cpp:1077
#15 0x00007f87d96d762d in QGraphicsScenePrivate::dispatchHoverEvent (
    this=0x6bfa90, hoverEvent=0x7fffe6b2cae0)
    at graphicsview/qgraphicsscene.cpp:3420
#16 0x00007f87d96d79a0 in QGraphicsScene::mouseMoveEvent (
    this=<value optimized out>, mouseEvent=0x7fffe6b2d0b0)
    at graphicsview/qgraphicsscene.cpp:3566
#17 0x00007f87d96d7c00 in QGraphicsScene::event (this=0x69ac80, 
    event=0x7fffe6b2d0b0) at graphicsview/qgraphicsscene.cpp:2960
#18 0x00007f87d91971bd in QApplicationPrivate::notify_helper (this=0x6413f0, 
    receiver=0x69ac80, e=0x7fffe6b2d0b0) at kernel/qapplication.cpp:3803
#19 0x00007f87d919ef8a in QApplication::notify (this=0x633e30, 
    receiver=0x69ac80, e=0x7fffe6b2d0b0) at kernel/qapplication.cpp:3768
#20 0x00007f87dc709c9b in KApplication::notify (this=0x633e30, 
    receiver=0x69ac80, event=0x7fffe6b2d0b0)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#21 0x00007f87da0e1091 in QCoreApplication::notifyInternal (this=0x633e30, 
    receiver=0x69ac80, event=0x7fffe6b2d0b0) at kernel/qcoreapplication.cpp:587
#22 0x00007f87d96e3a30 in QGraphicsViewPrivate::mouseMoveEventHandler (
    this=0xa3c880, event=0x7fffe6b2d9b0)
    at ../../src/corelib/kernel/qcoreapplication.h:209
#23 0x00007f87d96e8cbe in QGraphicsView::mouseMoveEvent (this=0xa3c820, 
    event=0x7fffe6b2d9b0) at graphicsview/qgraphicsview.cpp:2748
#24 0x00007f87d91e95e6 in QWidget::event (this=0xa3c820, event=0x7fffe6b2d9b0)
    at kernel/qwidget.cpp:7148
#25 0x00007f87d96e578b in QGraphicsView::viewportEvent (this=0xa3c820, 
    event=0x7fffe6b2d9b0) at graphicsview/qgraphicsview.cpp:2337
#26 0x00007f87da0e0358 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xa3f270, event=0x7fffe6b2d9b0)
    at kernel/qcoreapplication.cpp:694
#27 0x00007f87d919718c in QApplicationPrivate::notify_helper (this=0x6413f0, 
    receiver=0xa3f270, e=0x7fffe6b2d9b0) at kernel/qapplication.cpp:3799
#28 0x00007f87d919f7fa in QApplication::notify (this=<value optimized out>, 
    receiver=0xa3f270, e=0x7fffe6b2d9b0) at kernel/qapplication.cpp:3528
#29 0x00007f87dc709c9b in KApplication::notify (this=0x633e30, 
    receiver=0xa3f270, event=0x7fffe6b2d9b0)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#30 0x00007f87da0e1091 in QCoreApplication::notifyInternal (this=0x633e30, 
    receiver=0xa3f270, event=0x7fffe6b2d9b0) at kernel/qcoreapplication.cpp:587
#31 0x00007f87d919eb98 in QApplicationPrivate::sendMouseEvent (
    receiver=0xa3f270, event=0x7fffe6b2d9b0, alienWidget=0xa3f270, 
    nativeWidget=0xa3c820, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f87d9b12760)
    at ../../src/corelib/kernel/qcoreapplication.h:212
#32 0x00007f87d9202ff9 in QETWidget::translateMouseEvent (this=0xa3c820, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4040
#33 0x00007f87d9201a17 in QApplication::x11ProcessEvent (this=0x633e30, 
    event=0x7fffe6b2e420) at kernel/qapplication_x11.cpp:3158
#34 0x00007f87d9228194 in x11EventSourceDispatch (s=0x644890, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#35 0x00007f87d59950cb in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#36 0x00007f87d599889d in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f87d5998a5b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#38 0x00007f87da1094ef in QEventDispatcherGlib::processEvents (this=0x640c10, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#39 0x00007f87d922793f in QGuiEventDispatcherGlib::processEvents (
    this=0xa2f5b0, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#40 0x00007f87da0df9a2 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -424483056})
    at kernel/qeventloop.cpp:143
#41 0x00007f87da0dfb2d in QEventLoop::exec (this=0x7fffe6b2e750, flags=
      {i = -424482976}) at kernel/qeventloop.cpp:194
#42 0x00007f87da0e1ffd in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#43 0x00007f87de6f5f23 in kdemain (argc=1, argv=0x7fffe6b2eac8)
    at /usr/src/debug/kdebase-workspace-4.1.2/plasma/plasma/main.cpp:58
#44 0x00007f87d6d45586 in __libc_start_main () from /lib64/libc.so.6
#45 0x00000000004008d9 in _start ()
Comment 5 Aaron J. Seigo 2008-11-11 00:48:42 UTC
ah the focus change bug. upstream problem, and fixed upstream.