<?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>348472</bug_id>
          
          <creation_ts>2015-05-30 21:33:45 +0000</creation_ts>
          <short_desc>crash when trying to click on &quot;Special Windows Settings&quot; or &quot;Special Application Settings&quot;</short_desc>
          <delta_ts>2015-07-01 09:05:28 +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>5.3.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://git.reviewboard.kde.org/r/123953/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>raphael.cazenave</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>emrecio</cc>
    
    <cc>greg</cc>
    
    <cc>kde</cc>
    
    <cc>mybugtraqer</cc>
    
    <cc>null</cc>
    
    <cc>quentin.retornaz</cc>
    
    <cc>raphael.cazenave</cc>
    
    <cc>rdieter</cc>
    
    <cc>stevenroose</cc>
          
          <cf_commitlink>http://commits.kde.org/kwin/6a276260906353ebeedcd07abd081c28e67a8163</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      <flag name="ReviewRequest"
          id="1071"
          type_id="14"
          status="+"
          setter="thomas.luebking"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1522816</commentid>
    <comment_count>0</comment_count>
    <who name="">raphael.cazenave</who>
    <bug_when>2015-05-30 21:33:45 +0000</bug_when>
    <thetext>Crash when trying to click on &quot;Special Windows Settings&quot; or &quot;Special Application Settings&quot;.
Same issue on two differents computer.

Reproducible: Always

Steps to Reproduce:
1. right click on a windows bar,
2. &quot;More Actions&quot;,
3. &quot;Special Windows Settings&quot; or &quot;Special Application Settings&quot;


Actual Results:  
Segfault, cannot use theses 2 features

Expected Results:  
&quot;Special Windows Settings&quot; or &quot;Special Application Settings&quot; windows appears 

Config:
  libxcb 1.11-1
  kwin-5.3.1-1
  kwindowsystem-5.10.0-1


Stacktrace:

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library &quot;/usr/lib/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f2b2869a780 (LWP 2241))]

Thread 2 (Thread 0x7f2b120b5700 (LWP 2242)):
#0  0x00007f2b26a5ae8d in poll () from /usr/lib/libc.so.6
#1  0x00007f2b25f4b9f2 in poll (__timeout=-1, __nfds=1, __fds=0x7f2b120b4d40) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x100c6a0, cond=cond@entry=0x100c6e0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f2b25f4d577 in xcb_wait_for_event (c=0x100c6a0) at xcb_in.c:623
#4  0x00007f2b133c7619 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#5  0x00007f2b26dbf18e in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f2b24e88354 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f2b26a63bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2b2869a780 (LWP 2241)):
[KCrash Handler]
#5  xcb_send_request (c=0x0, flags=flags@entry=1, vector=vector@entry=0x7ffc740c8850, req=req@entry=0x7f2b25f5b970 &lt;xcb_req&gt;) at xcb_out.c:187
#6  0x00007f2b25f51a0c in xcb_get_property (c=&lt;optimized out&gt;, _delete=&lt;optimized out&gt;, window=&lt;optimized out&gt;, property=&lt;optimized out&gt;, type=&lt;optimized out&gt;, long_offset=&lt;optimized out&gt;, long_length=100000) at xproto.c:2499
#7  0x00007f2b27b70100 in NETWinInfo::update (this=0x7ffc740c8ec0, dirtyProperties=..., dirtyProperties2=...) at /mnt/500gb/builds/kwindowsystem/src/kwindowsystem-5.10.0/src/netwm.cpp:4161
#8  0x00007f2b142d89a6 in KWin::ClientMachine::resolve (this=this@entry=0x7ffc740c9060, window=75497667, clientLeader=clientLeader@entry=0) at /mnt/500gb/builds/kwin/src/kwin-5.3.1/kcmkwin/kwinrules/../../client_machine.cpp:179
#9  0x00007f2b142b258f in findRule (whole_app=false, wid=75497667, rules=...) at /mnt/500gb/builds/kwin/src/kwin-5.3.1/kcmkwin/kwinrules/main.cpp:77
#10 edit (whole_app=&lt;optimized out&gt;, wid=&lt;optimized out&gt;) at /mnt/500gb/builds/kwin/src/kwin-5.3.1/kcmkwin/kwinrules/main.cpp:212
#11 kdemain (argc=3, argv=&lt;optimized out&gt;) at /mnt/500gb/builds/kwin/src/kwin-5.3.1/kcmkwin/kwinrules/main.cpp:266
#12 0x000000000040b848 in ?? ()
#13 0x000000000040cf9b in ?? ()
#14 0x0000000000404f8c in main ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522820</commentid>
    <comment_count>1</comment_count>
    <who name="">raphael.cazenave</who>
    <bug_when>2015-05-30 21:45:06 +0000</bug_when>
    <thetext>Workaround: open &quot;Window rules&quot; via krunner :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522823</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-05-30 22:00:02 +0000</bug_when>
    <thetext>Bleh, regression in attempting to fix/prevent bug #346748</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522829</commentid>
    <comment_count>3</comment_count>
    <who name="">raphael.cazenave</who>
    <bug_when>2015-05-30 22:21:49 +0000</bug_when>
    <thetext>Sorry for the duplicate.

*** This bug has been marked as a duplicate of bug 346748 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522831</commentid>
    <comment_count>4</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-05-30 22:39:16 +0000</bug_when>
    <thetext>It&apos;s not a duplicate - the approach to fix the other bug caused this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1523778</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-06-03 20:35:23 +0000</bug_when>
    <thetext>Git commit 6a276260906353ebeedcd07abd081c28e67a8163 by Thomas Lübking.
Committed on 03/06/2015 at 19:22.
Pushed by luebking into branch &apos;Plasma/5.3&apos;.

set still required xcb properties in findRule

which is invoked &quot;in place&quot; of the detect button
when calling the kcm as special window/application
setting from the Alt+F3 menu
REVIEW: 123953

M  +6    -0    kcmkwin/kwinrules/main.cpp

http://commits.kde.org/kwin/6a276260906353ebeedcd07abd081c28e67a8163</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525265</commentid>
    <comment_count>6</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-06-10 12:54:37 +0000</bug_when>
    <thetext>*** Bug 348963 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525630</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-06-12 14:35:45 +0000</bug_when>
    <thetext>*** Bug 349023 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1526263</commentid>
    <comment_count>8</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-06-16 15:09:19 +0000</bug_when>
    <thetext>*** Bug 346486 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1527140</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2015-06-20 16:48:00 +0000</bug_when>
    <thetext>*** Bug 349406 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529471</commentid>
    <comment_count>10</comment_count>
    <who name="">raphael.cazenave</who>
    <bug_when>2015-07-01 09:05:28 +0000</bug_when>
    <thetext>Thanks,
I can confirm It&apos;s solved, just try on plasma-desktop 5.3.2-1 :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>