<?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>317541</bug_id>
          
          <creation_ts>2013-03-29 13:14:24 +0000</creation_ts>
          <short_desc>Plasma crashes when applying changes in display settings connecting second monitor</short_desc>
          <delta_ts>2013-03-29 14:34:48 +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>4.10.1</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>309240</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="Alexander">4eckbox</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>4eckbox</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>1355393</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander">4eckbox</who>
    <bug_when>2013-03-29 13:14:24 +0000</bug_when>
    <thetext>Application: plasma-desktop (0.4)
KDE Platform Version: 4.10.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I am trying to connect second monitor to my notebook. When I change some options in display settings (like second monitor position) or disabling second monitor (in size option) and clicking Apply button, plasma seems to be restarted and crash after that.
- Unusual behavior I noticed:
When I disconnect second monitor cable from notebook it still enabled and i can&apos;t disable it from settings without connecting cable back.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f2cbc075780 (LWP 2230))]

Thread 5 (Thread 0x7f2cb0c32700 (LWP 2231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2cc90e4cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f2cc90e4d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f2cc3792e9a in start_thread (arg=0x7f2cb0c32700) at pthread_create.c:308
#4  0x00007f2ccf4a1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2caf78a700 (LWP 2232)):
#0  0x00007f2cc3794f69 in __pthread_mutex_lock (mutex=0x7f2ca8000a60) at pthread_mutex_lock.c:92
#1  0x00007f2cc30d0e21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cc3093623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cc3093cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2cc3093ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2ccc08dc46 in QEventDispatcherGlib::processEvents (this=0x7f2ca80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2ccc05e2ef in QEventLoop::processEvents (this=this@entry=0x7f2caf789dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2ccc05e578 in QEventLoop::exec (this=0x7f2caf789dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2ccbf5fb40 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#9  0x00007f2ccc03e9df in QInotifyFileSystemWatcherEngine::run (this=0x26e2a10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f2ccbf62b1c in QThreadPrivate::start (arg=0x26e2a10) at thread/qthread_unix.cpp:338
#11 0x00007f2cc3792e9a in start_thread (arg=0x7f2caf78a700) at pthread_create.c:308
#12 0x00007f2ccf4a1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2ca2d1e700 (LWP 2233)):
#0  0x00007f2ccf9fa2b3 in _dl_update_slotinfo (req_modid=2) at dl-tls.c:568
#1  0x00007f2ccf9fa5cd in __tls_get_addr (ti=0x7f2ccc3b5990) at dl-tls.c:757
#2  0x00007f2ccbf6182f in get_thread_data () at thread/qthread_unix.cpp:182
#3  QThreadData::current () at thread/qthread_unix.cpp:208
#4  0x00007f2ccc08d509 in postEventSourcePrepare (s=0x7f2c9c0012d0, timeout=0x7f2ca2d1dc14) at kernel/qeventdispatcher_glib.cpp:256
#5  0x00007f2cc3093618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2cc3093cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f2cc3093ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f2ccc08dc46 in QEventDispatcherGlib::processEvents (this=0x7f2c9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x00007f2ccc05e2ef in QEventLoop::processEvents (this=this@entry=0x7f2ca2d1ddd0, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f2ccc05e578 in QEventLoop::exec (this=0x7f2ca2d1ddd0, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007f2ccbf5fb40 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#12 0x00007f2ccc03e9df in QInotifyFileSystemWatcherEngine::run (this=0x2c0e7d0) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007f2ccbf62b1c in QThreadPrivate::start (arg=0x2c0e7d0) at thread/qthread_unix.cpp:338
#14 0x00007f2cc3792e9a in start_thread (arg=0x7f2ca2d1e700) at pthread_create.c:308
#15 0x00007f2ccf4a1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2c97587700 (LWP 2235)):
#0  0x00007f2ccf496303 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  0x00007f2cc3093d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cc30941e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2c980744a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f2cc30b7645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2cc3792e9a in start_thread (arg=0x7f2c97587700) at pthread_create.c:308
#6  0x00007f2ccf4a1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2cbc075780 (LWP 2230)):
[KCrash Handler]
#6  QHashData::nextNode (node=0x7585cb0) at tools/qhash.cpp:294
#7  0x00007f2cb341bc9f in operator++ (this=0x7ffff3673d70) at /usr/include/qt4/QtCore/qhash.h:427
#8  TaskItemLayout::size (this=this@entry=0x8146d40) at ../../../../../plasma/desktop/applets/tasks/taskitemlayout.cpp:166
#9  0x00007f2cb341be62 in TaskItemLayout::gridLayoutSize (this=this@entry=0x8146d40) at ../../../../../plasma/desktop/applets/tasks/taskitemlayout.cpp:256
#10 0x00007f2cb341befe in TaskItemLayout::layoutItems (this=this@entry=0x8146d40) at ../../../../../plasma/desktop/applets/tasks/taskitemlayout.cpp:281
#11 0x00007f2cb341c637 in TaskItemLayout::remove (this=0x8146d40, item=0x6611340) at ../../../../../plasma/desktop/applets/tasks/taskitemlayout.cpp:153
#12 0x00007f2cb341c66d in qt_static_metacall (_a=&lt;optimized out&gt;, _o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;) at ./taskitemlayout.moc:50
#13 TaskItemLayout::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) at ./taskitemlayout.moc:44
#14 0x00007f2ccc074f8f in QMetaObject::activate (sender=0x6611340, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7ffff3674030) at kernel/qobject.cpp:3547
#15 0x00007f2cb3420ee2 in AbstractTaskItem::destroyed (this=this@entry=0x6611340, _t1=_t1@entry=0x6611340) at ./abstracttaskitem.moc:169
#16 0x00007f2cb3421444 in AbstractTaskItem::~AbstractTaskItem (this=0x6611340, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/abstracttaskitem.cpp:163
#17 0x00007f2cb3416345 in ~WindowTaskItem (this=0x6611340, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.h:34
#18 WindowTaskItem::~WindowTaskItem (this=0x6611340, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.h:34
#19 0x00007f2ccb9d1054 in QGraphicsItem::~QGraphicsItem (this=0x6c1ff30, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicsitem.cpp:1493
#20 0x00007f2ccba233c4 in ~QGraphicsObject (this=0x6c1ff20, __in_chrg=&lt;optimized out&gt;) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#21 QGraphicsWidget::~QGraphicsWidget (this=0x6c1ff20, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicswidget.cpp:232
#22 0x00007f2cb3424499 in TaskGroupItem::~TaskGroupItem (this=0x6c1ff20, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:87
#23 0x00007f2ccb9d1054 in QGraphicsItem::~QGraphicsItem (this=0x6eba7c0, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicsitem.cpp:1493
#24 0x00007f2ccba233c4 in ~QGraphicsObject (this=0x6eba7b0, __in_chrg=&lt;optimized out&gt;) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#25 QGraphicsWidget::~QGraphicsWidget (this=0x6eba7b0, __in_chrg=&lt;optimized out&gt;) at graphicsview/qgraphicswidget.cpp:232
#26 0x00007f2cb3424499 in TaskGroupItem::~TaskGroupItem (this=0x6eba7b0, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:87
#27 0x00007f2cb3416bb6 in Tasks::~Tasks (this=0x5bc6560, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/tasks.cpp:97
#28 0x00007f2cb3416c39 in Tasks::~Tasks (this=0x5bc6560, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/applets/tasks/tasks.cpp:99
#29 0x00007f2ccefaee06 in ~ContainmentPrivate (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at ../../plasma/private/containment_p.h:72
#30 Plasma::Containment::~Containment (this=0x562f3d0, __in_chrg=&lt;optimized out&gt;) at ../../plasma/containment.cpp:151
#31 0x00007f2cb43568f9 in Panel::~Panel (this=0x562f3d0, __in_chrg=&lt;optimized out&gt;) at ../../../../../plasma/desktop/containments/panel/panel.cpp:129
#32 0x00007f2ccc074498 in QObject::event (this=0x562f3d0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1176
#33 0x00007f2ccba1f53b in QGraphicsWidget::event (this=0x562f3d0, event=0x9c05de0) at graphicsview/qgraphicswidget.cpp:1461
#34 0x00007f2ccb406e9c in QApplicationPrivate::notify_helper (this=this@entry=0x16b8080, receiver=receiver@entry=0x562f3d0, e=e@entry=0x9c05de0) at kernel/qapplication.cpp:4562
#35 0x00007f2ccb40b30a in QApplication::notify (this=0x1681970, receiver=0x562f3d0, e=0x9c05de0) at kernel/qapplication.cpp:4423
#36 0x00007f2cccd19ad6 in KApplication::notify (this=0x1681970, receiver=0x562f3d0, event=0x9c05de0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f2ccc05f59e in QCoreApplication::notifyInternal (this=0x1681970, receiver=receiver@entry=0x562f3d0, event=event@entry=0x9c05de0) at kernel/qcoreapplication.cpp:915
#38 0x00007f2ccc063421 in sendEvent (event=0x9c05de0, receiver=0x562f3d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x16221f0) at kernel/qcoreapplication.cpp:1539
#40 0x00007f2ccc08da93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x16a8480) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007f2cc3093ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f2cc3093de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f2cc3093ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f2ccc08dc26 in QEventDispatcherGlib::processEvents (this=0x1623ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f2ccb4abc1e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f2ccc05e2ef in QEventLoop::processEvents (this=this@entry=0x7ffff3674c30, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f2ccc05e578 in QEventLoop::exec (this=0x7ffff3674c30, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f2ccc063738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#50 0x00007f2ccf7aa721 in kdemain (argc=1, argv=0x7ffff3674f28) at ../../../../plasma/desktop/shell/main.cpp:126
#51 0x00007f2ccf3cf76d in __libc_start_main (main=0x4006a0 &lt;main(int, char**)&gt;, argc=1, ubp_av=0x7ffff3674f28, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffff3674f18) at libc-start.c:226
#52 0x00000000004006d1 in _start ()

Possible duplicates by query: bug 313779, bug 309240, bug 300852, bug 298848.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1355417</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-03-29 14:34:48 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>