[Bug 164849] [testcase] Plasma crash when moving widgets from desktop to panel

Christophe Giboudeaux kropx77 at gmail.com
Wed Jun 25 23:23:49 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164849         




------- Additional Comments From kropx77 gmail com  2008-06-25 23:23 -------
I'm trying to gather useful informations but it leads to nothing for the moment... 

Except my testcase is partially false : Due to the latency brought by Valgrind, I realized that it's not dragging the trash from the desktop containment to the panel that makes plasma crash but mouseHovering the widget after it was dragged.

To be totally sure it wasn't a local problem, this time, I deleted both my qt and kde installation and build files and recompiled everything.

I'm still able to reproduce the crash : (I cleaned up the gdb output)

krop mokona:~$ gdb --args plasma --nofork

==> Browsing the widgets 
                                                              
plasma(20201)/libplasma KCategorizedItemsViewFilterDelegate::KCategorizedItemsViewFilterDelegate: KCategorizedItemsViewFilterDelegate(QObject *parent)              
plasma(20201)/libplasma Plasma::AppletBrowserWidget::setApplication: QHash(("Folder View", 1)("Task Manager", 1)("System Tray", 1)("Digital Clock", 1)("New Device Notifier", 1)("Pager", 1)("Application Launcher", 1))                                                                                                                                  
plasma(20201)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "world"                                                                                                
plasma(20201) HddTemp::updateData: "Connection refused"                                                                                                                      

==> Adding the trash widget

plasma(20201)/libplasma PlasmaAppletItemModel::mimeData: GETTING MIME DATA                                                                                                   
QGraphicsItem::installSceneEventFilter: event filters can only be installed on items in a scene.                                                                             

=> Dragging 
plasma(20201)/libplasma Plasma::Applet::screenRect: screenRect =  QPoint(1240,909)                                                                                           
plasma(20201)/libplasma Plasma::AppletHandle::mouseMoveEvent: screenRect =  QRect(1262,1170 86x78)                                                                           
plasma(20201)/libplasma Plasma::View::Private::updateSceneRect: !!!!!!!!!!!!!!!!! setting the scene rect to QRectF(0,0 1600x1200) associated screen is 0                     
plasma(20201)/libplasma Plasma::Applet::screenRect: screenRect =  QPoint(1240,909)                                                                                           

[cut]

plasma(20201)/libplasma Plasma::AppletHandle::mouseMoveEvent: screenRect =  QRect(1262,1185 86x78)                                                                           
plasma(20201)/libplasma Plasma::AppletHandle::switchContainment: panel                                                                                                       


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb49e3740 (LWP 20201)]        
0xb657b208 in QGraphicsScenePrivate::filterEvent (this=0x82b7308, item=0x8992008, event=0xbfacaca8) at graphicsview/qgraphicsscene.cpp:1026
1026            if (it.value()->sceneEventFilter(it.key(), event))                                                                         
(gdb) bt                                                                                                                                   
#0  0xb657b208 in QGraphicsScenePrivate::filterEvent (this=0x82b7308, item=0x8992008, event=0xbfacaca8) at graphicsview/qgraphicsscene.cpp:1026
#1  0xb657b28d in QGraphicsScenePrivate::sendEvent (this=0x82b7308, item=0x8992008, event=0xbfacaca8) at graphicsview/qgraphicsscene.cpp:1044  
#2  0xb657e4fe in QGraphicsScenePrivate::sendHoverEvent (this=0x82b7308, type=QEvent::GraphicsSceneHoverEnter, item=0x8992008, hoverEvent=0xbfacadf0)
    at graphicsview/qgraphicsscene.cpp:1093                                                                                                          

+ regular backtrace

The only new element is :
1026            if (it.value()->sceneEventFilter(it.key(), event))                                                                         

I'm going to retry with valgrind and paste the result somewhere.


More information about the Panel-devel mailing list