<?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>315450</bug_id>
          
          <creation_ts>2013-02-19 13:07:44 +0000</creation_ts>
          <short_desc>KWin crashes when pluggin/unplugging external display</short_desc>
          <delta_ts>2013-02-19 13:30:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>4.10.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>293209</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="Andreas Kuhl">mail</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <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>1343317</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Kuhl">mail</who>
    <bug_when>2013-02-19 13:07:44 +0000</bug_when>
    <thetext>Application: kwin (4.10.00 &quot;release 1&quot;)
KDE Platform Version: 4.10.00 &quot;release 1&quot;
Qt Version: 4.8.4
Operating System: Linux 3.7.7-1.2-desktop x86_64
Distribution: &quot;openSUSE 12.3 (x86_64)&quot;

-- Information about the crash:
When I plug or unplug an external display, KWin crashes with the attached backtrace.

The displayconfiguration itself is handled by libkscreen/kscreen kded

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7ff4620f4780 (LWP 7867))]

Thread 3 (Thread 0x7ff445825700 (LWP 7872)):
#0  0x00007ff45c94b964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff45e1ce307 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff45e4db660 &lt;QTWTF::pageheap_memory&gt;) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff45e1ce339 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=&lt;optimized out&gt;) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff45c947e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff4619167dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff431b14700 (LWP 7874)):
#0  0x00007ff45c94b964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff431f35543 in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007ff45c947e0f in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff4619167dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff4620f4780 (LWP 7867)):
[KCrash Handler]
#5  0x00007ff4618ac634 in free () from /lib64/libc.so.6
#6  0x00007ff45f994089 in XFree (data=&lt;optimized out&gt;) at XlibInt.c:1701
#7  0x00007ff45f532ad6 in XRRUpdateConfiguration (event=&lt;optimized out&gt;) at Xrandr.c:509
#8  0x00007ff461c51b78 in KWin::Workspace::workspaceEvent (this=0x1a176a0, e=0x7fffc1065510) at /usr/src/debug/kde-workspace-4.10.0/kwin/events.cpp:464
#9  0x00007ff461c43328 in KWin::Application::x11EventFilter (this=0x7fffc1065a70, e=0x7fffc1065510) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:362
#10 0x00007ff45bed3bfc in qt_x11EventFilter (ev=0x7fffc1065510) at kernel/qapplication_x11.cpp:435
#11 qt_x11EventFilter (ev=0x7fffc1065510) at kernel/qapplication_x11.cpp:423
#12 0x00007ff45bee11eb in QApplication::x11ProcessEvent (this=0x7fffc1065a70, event=0x7fffc1065510) at kernel/qapplication_x11.cpp:3362
#13 0x00007ff45bf089d9 in QEventDispatcherX11::processEvents (this=0x18b27b0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#14 0x00007ff45ccd89bf in QEventLoop::processEvents (this=this@entry=0x7fffc1065780, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007ff45ccd8c48 in QEventLoop::exec (this=0x7fffc1065780, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007ff45ccdd8e8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#17 0x00007ff461c4597a in kdemain (argc=2, argv=0x7fffc1065bb8) at /usr/src/debug/kde-workspace-4.10.0/kwin/main.cpp:537
#18 0x00007ff46184fa15 in __libc_start_main () from /lib64/libc.so.6
#19 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:123

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

Possible duplicates by query: bug 309268, bug 308535, bug 307675, bug 301388, bug 300515.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1343326</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2013-02-19 13:30:46 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>