Bug 348472 - crash when trying to click on "Special Windows Settings" or "Special Application Settings"
Summary: crash when trying to click on "Special Windows Settings" or "Special Applicat...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/123...
Keywords:
: 346486 348963 349023 349406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-30 21:33 UTC by raphael.cazenave
Modified: 2015-07-01 09:05 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
thomas.luebking: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raphael.cazenave 2015-05-30 21:33:45 UTC
Crash when trying to click on "Special Windows Settings" or "Special Application Settings".
Same issue on two differents computer.

Reproducible: Always

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


Actual Results:  
Segfault, cannot use theses 2 features

Expected Results:  
"Special Windows Settings" or "Special Application Settings" 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 "/usr/lib/libthread_db.so.1".
[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 <xcb_req>) at xcb_out.c:187
#6  0x00007f2b25f51a0c in xcb_get_property (c=<optimized out>, _delete=<optimized out>, window=<optimized out>, property=<optimized out>, type=<optimized out>, long_offset=<optimized out>, 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=<optimized out>, wid=<optimized out>) at /mnt/500gb/builds/kwin/src/kwin-5.3.1/kcmkwin/kwinrules/main.cpp:212
#11 kdemain (argc=3, argv=<optimized out>) 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 ()
Comment 1 raphael.cazenave 2015-05-30 21:45:06 UTC
Workaround: open "Window rules" via krunner :)
Comment 2 Thomas Lübking 2015-05-30 22:00:02 UTC
Bleh, regression in attempting to fix/prevent bug #346748
Comment 3 raphael.cazenave 2015-05-30 22:21:49 UTC
Sorry for the duplicate.

*** This bug has been marked as a duplicate of bug 346748 ***
Comment 4 Thomas Lübking 2015-05-30 22:39:16 UTC
It's not a duplicate - the approach to fix the other bug caused this one.
Comment 5 Thomas Lübking 2015-06-03 20:35:23 UTC
Git commit 6a276260906353ebeedcd07abd081c28e67a8163 by Thomas Lübking.
Committed on 03/06/2015 at 19:22.
Pushed by luebking into branch 'Plasma/5.3'.

set still required xcb properties in findRule

which is invoked "in place" 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
Comment 6 Thomas Lübking 2015-06-10 12:54:37 UTC
*** Bug 348963 has been marked as a duplicate of this bug. ***
Comment 7 Martin Flöser 2015-06-12 14:35:45 UTC
*** Bug 349023 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Lübking 2015-06-16 15:09:19 UTC
*** Bug 346486 has been marked as a duplicate of this bug. ***
Comment 9 Martin Flöser 2015-06-20 16:48:00 UTC
*** Bug 349406 has been marked as a duplicate of this bug. ***
Comment 10 raphael.cazenave 2015-07-01 09:05:28 UTC
Thanks,
I can confirm It's solved, just try on plasma-desktop 5.3.2-1 :)