<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>292897</bug_id>
          
          <creation_ts>2012-01-30 19:36:23 +0000</creation_ts>
          <short_desc>Plasma crashes when removing system tray from a panel</short_desc>
          <delta_ts>2012-01-31 08:47:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>281557</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hoopes">matthew.hoopes</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>thijs22nospam</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1220888</commentid>
    <comment_count>0</comment_count>
    <who name="Hoopes">matthew.hoopes</who>
    <bug_when>2012-01-30 19:36:23 +0000</bug_when>
    <thetext>Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

I have a configuration with two monitors, and KDE defaulted to a panel on left monitor only. I created a second panel on the bottom of the right monitor, and added a system tray. I attempted to remove the system tray from the left panel, but it then crashed. The panels were restarted, and had my new configuration still saved.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f07c26af7a0 (LWP 1697))]

Thread 4 (Thread 0x7f079fdee700 (LWP 1698)):
#0  0x00007f07c1f8d773 in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f07b62d1f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07b62d2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07bf179f3e in QEventDispatcherGlib::processEvents (this=0x2678800, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f07bf14dcf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f07bf14def7 in QEventLoop::exec (this=0x7f079fdeddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f07bf06527f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#7  0x00007f07bf130cbf in QInotifyFileSystemWatcherEngine::run (this=0x2675b70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f07bf067d05 in QThreadPrivate::start (arg=0x2675b70) at thread/qthread_unix.cpp:331
#9  0x00007f07b6ddeefc in start_thread (arg=0x7f079fdee700) at pthread_create.c:304
#10 0x00007f07c1f9989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f079d360700 (LWP 1699)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007f079d35fad0 in ?? ()
#2  0x00007fff20fff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f079603b700 (LWP 1705)):
#0  0x00007f07c1f8d773 in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f07b62d1f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07b62d2792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0796b19516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f07b62f72b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f07b6ddeefc in start_thread (arg=0x7f079603b700) at pthread_create.c:304
#6  0x00007f07c1f9989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f07c26af7a0 (LWP 1697)):
[KCrash Handler]
#6  QGraphicsLayoutItem::setParentLayoutItem (this=0x3495bd0, parent=0x0) at graphicsview/qgraphicslayoutitem.cpp:856
#7  0x00007f07a8522def in SystemTray::CompactLayout::removeItem (this=0x5e4d0c0, item=0x3495bd0) at ../../../../../plasma/generic/applets/systemtray/ui/compactlayout.cpp:127
#8  0x00007f07a8526cd7 in SystemTray::TaskArea::addWidgetForTask (this=0x5e4d3f0, task=0x2a64250) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:280
#9  0x00007f07a8527a36 in SystemTray::TaskArea::addTask (this=0x5e4d3f0, task=&lt;optimized out&gt;) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#10 0x00007f07a8528234 in SystemTray::TaskArea::qt_metacall (this=0x5e4d3f0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff20fbfde0) at ./taskarea.moc:89
#11 0x00007f07bf161eba in QMetaObject::activate (sender=0x21d0360, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff20fbfde0) at kernel/qobject.cpp:3278
#12 0x00007f07a850a8c2 in SystemTray::Manager::taskChanged (this=&lt;optimized out&gt;, _t1=0x2a64250) at ./manager.moc:106
#13 0x00007f07a850ac24 in SystemTray::Manager::qt_metacall (this=0x21d0360, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff20fbfef0) at ./manager.moc:84
#14 0x00007f07bf161eba in QMetaObject::activate (sender=0x2a64250, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff20fbfef0) at kernel/qobject.cpp:3278
#15 0x00007f07a850b45f in SystemTray::Task::changed (this=&lt;optimized out&gt;, _t1=0x2a64250) at ./task.moc:112
#16 0x00007f07a850b731 in SystemTray::Task::widgetDeleted (this=0x2a64250) at ../../../../../plasma/generic/applets/systemtray/core/task.cpp:129
#17 0x00007f07a850b9f4 in SystemTray::Task::qt_metacall (this=0x2a64250, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff20fc0080) at ./task.moc:100
#18 0x00007f07a850c4a0 in SystemTray::FdoTask::qt_metacall (this=0x2a64250, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff20fc0080) at ./fdotask.moc:67
#19 0x00007f07bf161eba in QMetaObject::activate (sender=0x3495bb0, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff20fc0080) at kernel/qobject.cpp:3278
#20 0x00007f07bf16236f in QObject::destroyed (this=&lt;optimized out&gt;, _t1=0x3495bb0) at .moc/release-shared/moc_qobject.cpp:149
#21 0x00007f07bf165ef7 in QObject::~QObject (this=0x3495bb0, __in_chrg=&lt;optimized out&gt;) at kernel/qobject.cpp:843
#22 0x00007f07beb20608 in ~QGraphicsObject (this=0x3495bb0, __in_chrg=&lt;optimized out&gt;) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#23 QGraphicsWidget::~QGraphicsWidget (this=0x3495bb0, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicswidget.cpp:232
#24 0x00007f07a850c779 in SystemTray::FdoGraphicsWidget::~FdoGraphicsWidget (this=0x3495bb0, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.cpp:77
#25 0x00007f07bead0e86 in QGraphicsItem::~QGraphicsItem (this=0x21d80f0, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicsitem.cpp:1488
#26 0x00007f07beb20600 in ~QGraphicsObject (this=0x21d80e0, __in_chrg=&lt;optimized out&gt;) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#27 QGraphicsWidget::~QGraphicsWidget (this=0x21d80e0, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicswidget.cpp:232
#28 0x00007f07a8525549 in SystemTray::TaskArea::~TaskArea (this=0x21d80e0, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:147
#29 0x00007f07a851dc6d in SystemTray::Applet::~Applet (this=0x2152c20, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:145
#30 0x00007f07a851de79 in SystemTray::Applet::~Applet (this=0x2152c20, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:163
#31 0x00007f07bf165a88 in QObject::event (this=0x2152c20, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1200
#32 0x00007f07beb1c95b in QGraphicsWidget::event (this=0x2152c20, event=0x32027c0) at graphicsview/qgraphicswidget.cpp:1455
#33 0x00007f07be4fe474 in notify_helper (e=0x32027c0, receiver=0x2152c20, this=0x1c75760) at kernel/qapplication.cpp:4486
#34 QApplicationPrivate::notify_helper (this=0x1c75760, receiver=0x2152c20, e=0x32027c0) at kernel/qapplication.cpp:4458
#35 0x00007f07be5032e1 in QApplication::notify (this=0x1c66d50, receiver=0x2152c20, e=0x32027c0) at kernel/qapplication.cpp:4365
#36 0x00007f07bfdfd466 in KApplication::notify (this=0x1c66d50, receiver=0x2152c20, event=0x32027c0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f07bf14eafc in QCoreApplication::notifyInternal (this=0x1c66d50, receiver=0x2152c20, event=0x32027c0) at kernel/qcoreapplication.cpp:787
#38 0x00007f07bf15251f in sendEvent (event=0x32027c0, receiver=0x2152c20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c09430) at kernel/qcoreapplication.cpp:1428
#40 0x00007f07bf179a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f07b62d1a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f07b62d2258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f07b62d2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f07bf179ed6 in QEventDispatcherGlib::processEvents (this=0x1c0af40, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007f07be5a610e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f07bf14dcf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f07bf14def7 in QEventLoop::exec (this=0x5aa48f0, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f07be58cc95 in QDragManager::drag (this=0x374eab0, o=&lt;optimized out&gt;) at kernel/qdnd_x11.cpp:1981
#50 0x00007f07be50ff88 in QDrag::exec (this=0x3f487c0, supportedActions=..., defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:284
#51 0x00007f07be510043 in QDrag::exec (this=&lt;optimized out&gt;, supportedActions=&lt;optimized out&gt;) at kernel/qdrag.cpp:239
#52 0x00007f07c1ad88b0 in Plasma::ExtenderItem::mouseMoveEvent (this=0x331c100, event=&lt;optimized out&gt;) at ../../plasma/extenders/extenderitem.cpp:755
#53 0x00007f07beac573e in QGraphicsItem::sceneEvent (this=0x331c110, event=0x7fff20fc1540) at graphicsview/qgraphicsitem.cpp:6724
#54 0x00007f07beaedcea in QGraphicsScenePrivate::sendMouseEvent (this=0x1dca6a0, mouseEvent=0x7fff20fc1540) at graphicsview/qgraphicsscene.cpp:1291
#55 0x00007f07beaee7dc in QGraphicsScene::mouseMoveEvent (this=&lt;optimized out&gt;, mouseEvent=0x7fff20fc1540) at graphicsview/qgraphicsscene.cpp:4095
#56 0x00007f07beafc98b in QGraphicsScene::event (this=0x1dcd390, event=0x7fff20fc1540) at graphicsview/qgraphicsscene.cpp:3446
#57 0x00007f07be4fe474 in notify_helper (e=0x7fff20fc1540, receiver=0x1dcd390, this=0x1c75760) at kernel/qapplication.cpp:4486
#58 QApplicationPrivate::notify_helper (this=0x1c75760, receiver=0x1dcd390, e=0x7fff20fc1540) at kernel/qapplication.cpp:4458
#59 0x00007f07be5032e1 in QApplication::notify (this=0x1c66d50, receiver=0x1dcd390, e=0x7fff20fc1540) at kernel/qapplication.cpp:4365
#60 0x00007f07bfdfd466 in KApplication::notify (this=0x1c66d50, receiver=0x1dcd390, event=0x7fff20fc1540) at ../../kdeui/kernel/kapplication.cpp:311
#61 0x00007f07bf14eafc in QCoreApplication::notifyInternal (this=0x1c66d50, receiver=0x1dcd390, event=0x7fff20fc1540) at kernel/qcoreapplication.cpp:787
#62 0x00007f07beb16999 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x5452fe0, event=0x7fff20fc1e70) at graphicsview/qgraphicsview.cpp:647
#63 0x00007f07beb16bbe in QGraphicsView::mouseMoveEvent (this=0x5a6b260, event=0x7fff20fc1e70) at graphicsview/qgraphicsview.cpp:3274
#64 0x00007f07be54ed1e in QWidget::event (this=0x5a6b260, event=0x7fff20fc1e70) at kernel/qwidget.cpp:8280
#65 0x00007f07be8f75b6 in QFrame::event (this=0x5a6b260, e=0x7fff20fc1e70) at widgets/qframe.cpp:557
#66 0x00007f07beb1adfb in QGraphicsView::viewportEvent (this=0x5a6b260, event=0x7fff20fc1e70) at graphicsview/qgraphicsview.cpp:2864
#67 0x00007f07bf14ec88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=&lt;optimized out&gt;, receiver=0x413a590, event=0x7fff20fc1e70) at kernel/qcoreapplication.cpp:902
#68 0x00007f07be4fe43f in notify_helper (e=0x7fff20fc1e70, receiver=0x413a590, this=0x1c75760) at kernel/qapplication.cpp:4482
#69 QApplicationPrivate::notify_helper (this=0x1c75760, receiver=0x413a590, e=0x7fff20fc1e70) at kernel/qapplication.cpp:4458
#70 0x00007f07be503cbb in QApplication::notify (this=&lt;optimized out&gt;, receiver=0x413a590, e=0x7fff20fc1e70) at kernel/qapplication.cpp:4047
#71 0x00007f07bfdfd466 in KApplication::notify (this=0x1c66d50, receiver=0x413a590, event=0x7fff20fc1e70) at ../../kdeui/kernel/kapplication.cpp:311
#72 0x00007f07bf14eafc in QCoreApplication::notifyInternal (this=0x1c66d50, receiver=0x413a590, event=0x7fff20fc1e70) at kernel/qcoreapplication.cpp:787
#73 0x00007f07be4ff442 in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QApplicationPrivate::sendMouseEvent (receiver=0x413a590, event=0x7fff20fc1e70, alienWidget=0x413a590, nativeWidget=0x31e5c40, buttonDown=0x413a590, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#75 0x00007f07be57e9d5 in QETWidget::translateMouseEvent (this=0x31e5c40, event=&lt;optimized out&gt;) at kernel/qapplication_x11.cpp:4571
#76 0x00007f07be57d94e in QApplication::x11ProcessEvent (this=0x1c66d50, event=0x7fff20fc2690) at kernel/qapplication_x11.cpp:3693
#77 0x00007f07be5a64a2 in x11EventSourceDispatch (s=0x1c7a420, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0x00007f07b62d1a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007f07b62d2258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007f07b62d2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007f07bf179ed6 in QEventDispatcherGlib::processEvents (this=0x1c0af40, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#82 0x00007f07be5a610e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x00007f07bf14dcf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#84 0x00007f07bf14def7 in QEventLoop::exec (this=0x7fff20fc2a60, flags=...) at kernel/qeventloop.cpp:201
#85 0x00007f07bf152789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#86 0x00007f07c22981a3 in kdemain (argc=1, argv=0x7fff20fc2e48) at ../../../../plasma/desktop/shell/main.cpp:120
#87 0x00007f07c1ed930d in __libc_start_main (main=0x400640 &lt;main(int, char**)&gt;, argc=1, ubp_av=0x7fff20fc2e48, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff20fc2e38) at libc-start.c:226
#88 0x0000000000400671 in _start ()

Possible duplicates by query: bug 290808, bug 289951, bug 287792, bug 287288, bug 286371.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1221054</commentid>
    <comment_count>1</comment_count>
    <who name="Thijs">thijs22nospam</who>
    <bug_when>2012-01-31 08:47:56 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 281557 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>