Bug 227297

Summary: Plasma crash when removing a widget from the desktop
Product: [Unmaintained] plasma4 Reporter: Dima Ryazanov <dima>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dima Ryazanov 2010-02-17 01:03:21 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Earlier, KDE crashed and messed up my settings - created extra desktop activities, panels, etc. Now, I deleted one of the activities, and then tried to delete a widget - and that caused Plasma to crash.


The crash can be reproduced some of the time.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7faa9f9297f0 (LWP 19817))]

Thread 2 (Thread 0x7faa73fff910 (LWP 19821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007faa907e4396 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7faa90ac2220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007faa907e43d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7faa90ad02ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007faa9db79a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007faa9c93e80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faa9f9297f0 (LWP 19817)):
[KCrash Handler]
#5  0x00007faa95e8b5a8 in Plasma::Applet::extender() const () from /usr/lib/libplasma.so.3
#6  0x00007faa95ee0803 in Plasma::ExtenderItem::returnToSource() () from /usr/lib/libplasma.so.3
#7  0x00007faa95effb35 in ?? () from /usr/lib/libplasma.so.3
#8  0x00007faa9df0cc9d in QObject::event (this=0x15f8020, e=0x5141ed0) at kernel/qobject.cpp:1231
#9  0x00007faa9d6dfb7b in QGraphicsWidget::event (this=0x15f8020, event=0x5141ed0) at graphicsview/qgraphicswidget.cpp:1361
#10 0x00007faa9d09bfac in QApplicationPrivate::notify_helper (this=0x10f2cf0, receiver=0x15f8020, e=0x5141ed0) at kernel/qapplication.cpp:4298
#11 0x00007faa9d0a259b in QApplication::notify (this=0x10dcd00, receiver=0x15f8020, e=0x5141ed0) at kernel/qapplication.cpp:4181
#12 0x00007faa9e444d16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0x00007faa9defcf3c in QCoreApplication::notifyInternal (this=0x10dcd00, receiver=0x15f8020, event=0x5141ed0) at kernel/qcoreapplication.cpp:704
#14 0x00007faa9deff6b7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x10662e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x10662e0) at kernel/qcoreapplication.cpp:1345
#16 0x00007faa9df26923 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#17 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007faa9910bbce in g_main_dispatch (context=0x10f5480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#19 IA__g_main_context_dispatch (context=0x10f5480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#20 0x00007faa9910f598 in g_main_context_iterate (context=0x10f5480, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#21 0x00007faa9910f6c0 in IA__g_main_context_iteration (context=0x10f5480, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#22 0x00007faa9df26463 in QEventDispatcherGlib::processEvents (this=0x10677f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007faa9d14b7ee in QGuiEventDispatcherGlib::processEvents (this=0x185f680, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007faa9defb862 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007faa9defbc3c in QEventLoop::exec (this=0x7fffc83af9d0, flags=) at kernel/qeventloop.cpp:201
#26 0x00007faa9deff97b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#27 0x00007faa90d490a2 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#28 0x0000000000406fb8 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

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

Possible duplicates by query: bug 227192, bug 226989, bug 226008, bug 225143, bug 220479.

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-17 13:38:31 UTC
It seems that the widget you deleted was a detached widget("extender") from some panel widget (may be the calendar from a clock; or a notification).

- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdelibs5-dbg" package and post a complete backtrace here? (you can get more information at http://techbase.kde.org/User:DarioAndres/Basic_Guide_about_Crash_Reporting ) Thanks
Comment 2 Dima Ryazanov 2010-02-17 18:58:04 UTC
This happens once in a while; however, I installed KDE from an Ubuntu PPA, and I don't think it's possible to install debug symbols for it...
https://bugs.launchpad.net/soyuz/+bug/156575
Comment 3 Dima Ryazanov 2010-02-19 03:19:12 UTC
Figured out how to get the stack traces:

#0  0x00007f6355a167d1 in Plasma::ExtenderItem::returnToSource (this=0x25091c0) at ../../plasma/extenders/extenderitem.cpp:464
#1  0x00007f6355a35b35 in ~ExtenderApplet (this=0x2360860, __in_chrg=<value optimized out>) at ../../plasma/private/extenderapplet.cpp:42
#2  0x00007f63526f3c9d in QObject::event (this=0x2360860, e=0x25aba50) at kernel/qobject.cpp:1231                                        
#3  0x00007f6353475b7b in QGraphicsWidget::event (this=0x2360860, event=0x25aba50) at graphicsview/qgraphicswidget.cpp:1361              
#4  0x00007f6352e31fac in QApplicationPrivate::notify_helper (this=0x18e65a0, receiver=0x2360860, e=0x25aba50) at kernel/qapplication.cpp:4298
#5  0x00007f6352e3859b in QApplication::notify (this=0x18c6cd0, receiver=0x2360860, e=0x25aba50) at kernel/qapplication.cpp:4181              
#6  0x00007f6353fe2d16 in KApplication::notify (this=0x18c6cd0, receiver=0x2360860, event=0x25aba50) at ../../kdeui/kernel/kapplication.cpp:302
#7  0x00007f63526e3f3c in QCoreApplication::notifyInternal (this=0x18c6cd0, receiver=0x2360860, event=0x25aba50) at kernel/qcoreapplication.cpp:704
#8  0x00007f63526e66b7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x18ad3d0)                             
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                                                        
#9  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x18ad3d0) at kernel/qcoreapplication.cpp:1345 
#10 0x00007f635270d923 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#11 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276                                                                 
#12 0x00007f634bb68bce in g_main_dispatch (context=0x18e8c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960                                               
#13 IA__g_main_context_dispatch (context=0x18e8c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513                                                         
#14 0x00007f634bb6c598 in g_main_context_iterate (context=0x18e8c80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) 
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591                                                                                                         
#15 0x00007f634bb6c6c0 in IA__g_main_context_iteration (context=0x18e8c80, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654                     
#16 0x00007f635270d463 in QEventDispatcherGlib::processEvents (this=0x18acf10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412           
#17 0x00007f6352ee17ee in QGuiEventDispatcherGlib::processEvents (this=0x25091c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204     
#18 0x00007f63526e2862 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.                                                                                                                                                              
) at kernel/qeventloop.cpp:149                                                                                                                                                  
#19 0x00007f63526e2c3c in QEventLoop::exec (this=0x20bd3b0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.   
) at kernel/qeventloop.cpp:201                                                                                                                                                  
#20 0x00007f6352ec9adc in QDragManager::drag (this=0x259e160, o=<value optimized out>) at kernel/qdnd_x11.cpp:1960                                                              
#21 0x00007f6352e48748 in QDrag::exec (this=0x2363640, supportedActions=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.                                                                                                                                                                             
) at kernel/qdrag.cpp:282                                                                                                                                                       
#22 0x00007f6352e48803 in QDrag::exec (this=0x25091c0, supportedActions=<value optimized out>) at kernel/qdrag.cpp:239                                                          
#23 0x00007f6355a14bab in Plasma::ExtenderItem::mouseMoveEvent (this=0x25091c0, event=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:631                     
#24 0x00007f635342a122 in QGraphicsItem::sceneEvent (this=0x25091d0, event=0x25f8bd0) at graphicsview/qgraphicsitem.cpp:6395                                                    
#25 0x00007f6353440418 in QGraphicsScenePrivate::sendMouseEvent (this=0x1a4bfc0, mouseEvent=0x7fff110f76f0) at graphicsview/qgraphicsscene.cpp:1232                             
#26 0x00007f6353444071 in QGraphicsScene::mouseMoveEvent (this=<value optimized out>, mouseEvent=0x7fff110f76f0) at graphicsview/qgraphicsscene.cpp:4006                        
#27 0x00007f63534561db in QGraphicsScene::event (this=0x1a470c0, event=0x7fff110f76f0) at graphicsview/qgraphicsscene.cpp:3366                                                  
#28 0x00007f6352e31fac in QApplicationPrivate::notify_helper (this=0x18e65a0, receiver=0x1a470c0, e=0x7fff110f76f0) at kernel/qapplication.cpp:4298                             
#29 0x00007f6352e3859b in QApplication::notify (this=0x18c6cd0, receiver=0x1a470c0, e=0x7fff110f76f0) at kernel/qapplication.cpp:4181                                           
#30 0x00007f6353fe2d16 in KApplication::notify (this=0x18c6cd0, receiver=0x1a470c0, event=0x7fff110f76f0) at ../../kdeui/kernel/kapplication.cpp:302                            
#31 0x00007f63526e3f3c in QCoreApplication::notifyInternal (this=0x18c6cd0, receiver=0x1a470c0, event=0x7fff110f76f0) at kernel/qcoreapplication.cpp:704                        
#32 0x00007f6353470f47 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x218f0f0, event=0x7fff110f8240) at graphicsview/qgraphicsview.cpp:645                              
#33 0x00007f635347113e in QGraphicsView::mouseMoveEvent (this=0x2147210, event=0x7fff110f8240) at graphicsview/qgraphicsview.cpp:3198                                           
#34 0x00007f6352e87faf in QWidget::event (this=0x2147210, event=0x7fff110f8240) at kernel/qwidget.cpp:7963                                                                      
#35 0x00007f635322e0d6 in QFrame::event (this=0x2147210, e=0x7fff110f8240) at widgets/qframe.cpp:557                                                                            
#36 0x00007f635346d49b in QGraphicsView::viewportEvent (this=0x2147210, event=0x7fff110f8240) at graphicsview/qgraphicsview.cpp:2788                                            
#37 0x00007f63526e3357 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2193880, event=0x7fff110f8240)                         
    at kernel/qcoreapplication.cpp:819                                                                                                                                          
#38 0x00007f6352e31f7c in QApplicationPrivate::notify_helper (this=0x18e65a0, receiver=0x2193880, e=0x7fff110f8240) at kernel/qapplication.cpp:4294                             
#39 0x00007f6352e38d7b in QApplication::notify (this=0x18c6cd0, receiver=0x2193880, e=0x7fff110f8240) at kernel/qapplication.cpp:3863                                           
#40 0x00007f6353fe2d16 in KApplication::notify (this=0x18c6cd0, receiver=0x2193880, event=0x7fff110f8240) at ../../kdeui/kernel/kapplication.cpp:302                            
#41 0x00007f63526e3f3c in QCoreApplication::notifyInternal (this=0x18c6cd0, receiver=0x2193880, event=0x7fff110f8240) at kernel/qcoreapplication.cpp:704                        
#42 0x00007f6352e37f56 in QCoreApplication::sendEvent (receiver=0x2193880, event=0x7fff110f8240, alienWidget=0x2193880, nativeWidget=0x2164570,                                 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215        
#43 QApplicationPrivate::sendMouseEvent (receiver=0x2193880, event=0x7fff110f8240, alienWidget=0x2193880, nativeWidget=0x2164570, buttonDown=<value optimized out>,             
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2963                                                                                  
#44 0x00007f6352eb7545 in QETWidget::translateMouseEvent (this=0x2164570, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368                                      
#45 0x00007f6352eb625a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff110f8b60) at kernel/qapplication_x11.cpp:3501                                  
#46 0x00007f6352ee1c02 in x11EventSourceDispatch (s=0x18e9c30, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146      
#47 0x00007f634bb68bce in g_main_dispatch (context=0x18e8c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960                                                                 
#48 IA__g_main_context_dispatch (context=0x18e8c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513                                                                           
#49 0x00007f634bb6c598 in g_main_context_iterate (context=0x18e8c80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)                   
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591                                                                                                                           
#50 0x00007f634bb6c6c0 in IA__g_main_context_iteration (context=0x18e8c80, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654                                       
#51 0x00007f635270d463 in QEventDispatcherGlib::processEvents (this=0x18acf10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412                             
#52 0x00007f6352ee17ee in QGuiEventDispatcherGlib::processEvents (this=0x25091c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204                       
#53 0x00007f63526e2862 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.                                                                                                                                                              
) at kernel/qeventloop.cpp:149                                                                                                                                                  
#54 0x00007f63526e2c3c in QEventLoop::exec (this=0x7fff110f8e90, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.                                                                                                                                                                              
) at kernel/qeventloop.cpp:201                                                                                                                                                  
#55 0x00007f63526e697b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981                                                                                          
#56 0x00007f63561630a2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112                                     
#57 0x00007f6355dd6abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>,                  
    fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff110f9218) at libc-start.c:220                                                                  
#58 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113                                                                                                        


I got this crash the same way as in bug 227615 which I just filed, so they may be duplicates.
Comment 4 Dario Andres 2010-02-19 14:25:49 UTC
Fixed in KDE SC 4.4.1 and 4.5: bug 219194.
Regards

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