Bug 213495 - Dragging or attempting to detach Plasma Extender crashes plasma [QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data, qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >, QWidget::d_func]
Summary: Dragging or attempting to detach Plasma Extender crashes plasma [QScopedPoint...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 00:24 UTC by Shawn Starr
Modified: 2010-02-10 09:33 UTC (History)
5 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 Shawn Starr 2009-11-07 00:24:45 UTC
Application: plasma-desktop (0.3)
KDE Version: 4.3.74 (KDE 4.3.74 (KDE 4.4 >= 20091102)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.32-rc6-custom x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
When I clicked the power plasmoid in systray and tried to drag the extender off panel, plasma-desktop crashed.

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

Thread 2 (Thread 0x7fdb3ab35910 (LWP 6439)):
#0  0x00007fdb5ad6ebe2 in select () from /lib/libc.so.6
#1  0x00007fdb5ed0bae9 in QProcessManager::run (this=0x7fdb5f0b9980) at /root/qt/src/corelib/io/qprocess_unix.cpp:245
#2  0x00007fdb5ec0d469 in QThreadPrivate::start (arg=0x7fdb5f0b9980) at /root/qt/src/corelib/thread/qthread_unix.cpp:244
#3  0x00007fdb5e95b73a in start_thread () from /lib/libpthread.so.0
#4  0x00007fdb5ad752fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdb5f19b7f0 (LWP 6194)):
[KCrash Handler]
#5  0x00007fdb5b9bd9d0 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../include/QtCore/../../../qt/src/corelib/tools/qscopedpointer.h:145
#6  0x00007fdb5ba48e72 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (p=...) at ../../include/QtCore/../../../qt/src/corelib/global/qglobal.h:2310
#7  0x00007fdb5ba49e4a in QWidget::d_func (this=0x0) at ../../include/QtGui/../../../qt/src/gui/kernel/qwidget.h:143
#8  0x00007fdb5ba62ee1 in QWidgetPrivate::screenGeometry (widget=0x0) at /root/qt/src/gui/kernel/qwidget_p.h:479
#9  0x00007fdb5ba62d5c in QDesktopWidget::availableGeometry (this=0xbc4c20, widget=0x0) at /root/qt/src/gui/kernel/qdesktopwidget.cpp:58
#10 0x00007fdb5c1bae07 in QGraphicsScenePrivate::drawItemHelper (this=0xccc9e0, item=0x138e500, painter=0x7fffb7112770, option=0xcccc28, widget=0x0, painterStateProtection=true)
    at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:4366
#11 0x00007fdb5c1bd168 in QGraphicsScenePrivate::draw (this=0xccc9e0, item=0x138e500, painter=0x7fffb7112770, viewTransform=0x7fffb7112330, transformPtr=0x7fffb7111bb0, exposedRegion=0x0, 
    widget=0x0, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:4671
#12 0x00007fdb5c1bca6a in QGraphicsScenePrivate::drawSubtreeRecursive (this=0xccc9e0, item=0x138e500, painter=0x7fffb7112770, viewTransform=0x7fffb7112330, exposedRegion=0x0, widget=0x0, 
    parentOpacity=1, effectTransform=0x0) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:4604
#13 0x00007fdb5c1bd260 in QGraphicsScenePrivate::draw (this=0xccc9e0, item=0x1333900, painter=0x7fffb7112770, viewTransform=0x7fffb7112330, transformPtr=0x7fffb7112080, exposedRegion=0x0, 
    widget=0x0, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:4685
#14 0x00007fdb5c1bca6a in QGraphicsScenePrivate::drawSubtreeRecursive (this=0xccc9e0, item=0x1333900, painter=0x7fffb7112770, viewTransform=0x7fffb7112330, exposedRegion=0x0, widget=0x0, 
    parentOpacity=1, effectTransform=0x0) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:4604
#15 0x00007fdb5c1bf3ca in QGraphicsScene::drawItems (this=0xccc510, painter=0x7fffb7112770, numItems=20, items=0x1f36cc0, options=0x25f1d80, widget=0x0)
    at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:5032
#16 0x00007fdb5c1ebbec in QGraphicsView::drawItems (this=0x7fffb7112740, painter=0x7fffb7112770, numItems=20, items=0x1f36cc0, options=0x25f1d80)
    at /root/qt/src/gui/graphicsview/qgraphicsview.cpp:3563
#17 0x00007fdb5c1e53bd in QGraphicsView::render (this=0x7fffb7112740, painter=0x7fffb7112770, target=..., source=..., aspectRatioMode=Qt::KeepAspectRatio)
    at /root/qt/src/gui/graphicsview/qgraphicsview.cpp:2010
#18 0x00007fdb54f88a31 in Plasma::ExtenderItem::mouseMoveEvent (this=0x13338f0, event=0x7fffb7113530) at /root/kdelibs/plasma/extenders/extenderitem.cpp:586
#19 0x00007fdb5c184201 in QGraphicsItem::sceneEvent (this=0x1333900, event=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicsitem.cpp:6436
#20 0x00007fdb5c1f1dcb in QGraphicsWidget::sceneEvent (this=0x13338f0, event=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicswidget.cpp:1104
#21 0x00007fdb5c1af526 in QGraphicsScenePrivate::sendEvent (this=0xccc9e0, item=0x1333900, event=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:1085
#22 0x00007fdb5c1aff45 in QGraphicsScenePrivate::sendMouseEvent (this=0xccc9e0, mouseEvent=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:1159
#23 0x00007fdb5c1b8e19 in QGraphicsScene::mouseMoveEvent (this=0xccc510, mouseEvent=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:3922
#24 0x00007fdb5c1b6c16 in QGraphicsScene::event (this=0xccc510, event=0x7fffb7113530) at /root/qt/src/gui/graphicsview/qgraphicsscene.cpp:3282
#25 0x00007fdb5b9cda2e in QApplicationPrivate::notify_helper (this=0xb69850, receiver=0xccc510, e=0x7fffb7113530) at /root/qt/src/gui/kernel/qapplication.cpp:4242
#26 0x00007fdb5b9cb16a in QApplication::notify (this=0xb53300, receiver=0xccc510, e=0x7fffb7113530) at /root/qt/src/gui/kernel/qapplication.cpp:3661
#27 0x00007fdb5cf1a687 in KApplication::notify (this=0xb53300, receiver=0xccc510, event=0x7fffb7113530) at /root/kdelibs/kdeui/kernel/kapplication.cpp:302
#28 0x00007fdb5ed374b8 in QCoreApplication::notifyInternal (this=0xb53300, receiver=0xccc510, event=0x7fffb7113530) at /root/qt/src/corelib/kernel/qcoreapplication.cpp:704
#29 0x00007fdb5b9cffb5 in QCoreApplication::sendSpontaneousEvent (receiver=0xccc510, event=0x7fffb7113530) at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:218
#30 0x00007fdb5b9cdd63 in qt_sendSpontaneousEvent (receiver=0xccc510, event=0x7fffb7113530) at /root/qt/src/gui/kernel/qapplication.cpp:5219
#31 0x00007fdb5c1e000f in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x14b8d80, event=0x7fffb71143b0) at /root/qt/src/gui/graphicsview/qgraphicsview.cpp:617
#32 0x00007fdb5c1e9e34 in QGraphicsView::mouseMoveEvent (this=0x150d810, event=0x7fffb71143b0) at /root/qt/src/gui/graphicsview/qgraphicsview.cpp:3132
#33 0x00007fdb5ba4032b in QWidget::event (this=0x150d810, event=0x7fffb71143b0) at /root/qt/src/gui/kernel/qwidget.cpp:7959
#34 0x00007fdb5bf1248b in QFrame::event (this=0x150d810, e=0x7fffb71143b0) at /root/qt/src/gui/widgets/qframe.cpp:557
#35 0x00007fdb5bfc9ebf in QAbstractScrollArea::viewportEvent (this=0x150d810, e=0x7fffb71143b0) at /root/qt/src/gui/widgets/qabstractscrollarea.cpp:1015
#36 0x00007fdb5c1e8306 in QGraphicsView::viewportEvent (this=0x150d810, event=0x7fffb71143b0) at /root/qt/src/gui/graphicsview/qgraphicsview.cpp:2722
#37 0x00007fdb5bfcab3f in QAbstractScrollAreaPrivate::viewportEvent (this=0x14b8d80, event=0x7fffb71143b0) at /root/qt/src/gui/widgets/qabstractscrollarea_p.h:100
#38 0x00007fdb5bfcac48 in QAbstractScrollAreaFilter::eventFilter (this=0x14cbfb0, o=0x151fa80, e=0x7fffb71143b0) at /root/qt/src/gui/widgets/qabstractscrollarea_p.h:116
#39 0x00007fdb5ed377d3 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xb69850, receiver=0x151fa80, event=0x7fffb71143b0) at /root/qt/src/corelib/kernel/qcoreapplication.cpp:819
#40 0x00007fdb5b9cda05 in QApplicationPrivate::notify_helper (this=0xb69850, receiver=0x151fa80, e=0x7fffb71143b0) at /root/qt/src/gui/kernel/qapplication.cpp:4238
#41 0x00007fdb5b9cbb4f in QApplication::notify (this=0xb53300, receiver=0x151fa80, e=0x7fffb71143b0) at /root/qt/src/gui/kernel/qapplication.cpp:3822
#42 0x00007fdb5cf1a687 in KApplication::notify (this=0xb53300, receiver=0x151fa80, event=0x7fffb71143b0) at /root/kdelibs/kdeui/kernel/kapplication.cpp:302
#43 0x00007fdb5ed374b8 in QCoreApplication::notifyInternal (this=0xb53300, receiver=0x151fa80, event=0x7fffb71143b0) at /root/qt/src/corelib/kernel/qcoreapplication.cpp:704
#44 0x00007fdb5b9cffb5 in QCoreApplication::sendSpontaneousEvent (receiver=0x151fa80, event=0x7fffb71143b0) at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:218
#45 0x00007fdb5b9ca004 in QApplicationPrivate::sendMouseEvent (receiver=0x151fa80, event=0x7fffb71143b0, alienWidget=0x151fa80, nativeWidget=0x131af20, buttonDown=0x7fdb5c7a15c8, 
    lastMouseReceiver=..., spontaneous=true) at /root/qt/src/gui/kernel/qapplication.cpp:2954
#46 0x00007fdb5ba78eaf in QETWidget::translateMouseEvent (this=0x131af20, event=0x7fffb7114f00) at /root/qt/src/gui/kernel/qapplication_x11.cpp:4368
#47 0x00007fdb5ba75762 in QApplication::x11ProcessEvent (this=0xb53300, event=0x7fffb7114f00) at /root/qt/src/gui/kernel/qapplication_x11.cpp:3379
#48 0x00007fdb5bab07f3 in x11EventSourceDispatch (s=0xb6cd30, callback=0, user_data=0x0) at /root/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007fdb5a1f912a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x00007fdb5a1fc988 in ?? () from /lib/libglib-2.0.so.0
#51 0x00007fdb5a1fcb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00007fdb5ed743c3 in QEventDispatcherGlib::processEvents (this=0xb69580, flags=...) at /root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#53 0x00007fdb5bab0eec in QGuiEventDispatcherGlib::processEvents (this=0xb69580, flags=...) at /root/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#54 0x00007fdb5ed344dc in QEventLoop::processEvents (this=0x7fffb71152e0, flags=...) at /root/qt/src/corelib/kernel/qeventloop.cpp:149
#55 0x00007fdb5ed34632 in QEventLoop::exec (this=0x7fffb71152e0, flags=...) at /root/qt/src/corelib/kernel/qeventloop.cpp:201
#56 0x00007fdb5ed37bba in QCoreApplication::exec () at /root/qt/src/corelib/kernel/qcoreapplication.cpp:981
#57 0x00007fdb5b9cad08 in QApplication::exec () at /root/qt/src/gui/kernel/qapplication.cpp:3570
#58 0x00007fdb50faf984 in kdemain (argc=1, argv=0xb42020) at /root/kdebase/workspace/plasma/desktop/shell/main.cpp:112
#59 0x0000000000406bf8 in launch (argc=1, _name=0xb330f8 "/usr/local/kde4/bin/plasma-desktop", args=0xb3311b "", cwd=0x0, envc=0, envs=0xb33123 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40c075 "0") at /root/kdelibs/kinit/kinit.cpp:705
#60 0x0000000000407d5c in handle_launcher_request (sock=7, who=0x40c30c "launcher") at /root/kdelibs/kinit/kinit.cpp:1197
#61 0x000000000040852e in handle_requests (waitForPid=0) at /root/kdelibs/kinit/kinit.cpp:1390
#62 0x0000000000409ab5 in main (argc=4, argv=0x7fffb7116098, envp=0x7fffb71160c0) at /root/kdelibs/kinit/kinit.cpp:1825

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-11 02:38:57 UTC
Hi. Have you tried to reproduce the crash ? What are your Qt/KDE versions (svn/git)? Thanks
Comment 2 Beat Wolf 2009-11-30 14:17:07 UTC

*** This bug has been marked as a duplicate of bug 210158 ***
Comment 3 Anne-Marie Mahfouf 2009-11-30 17:14:54 UTC
Beat Wolf, not the same as 210158 

I reproduce this crash today in trunk with kde-qt and kdebase revision 1056444
Comment 4 Beat Wolf 2009-11-30 17:20:19 UTC
my bad, should probably also be reported as a qt bug.
Comment 5 Aaron J. Seigo 2010-02-10 09:33:39 UTC
yes, this is an upstream bug.