Bug 348227 - Opening new windows causes events to be raised on incorrect windows
Summary: Opening new windows causes events to be raised on incorrect windows
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.1.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 00:12 UTC by Mal Haak
Modified: 2022-08-18 23:10 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of error message (17.34 KB, image/png)
2017-10-12 07:58 UTC, saaadat
Details
screenshot of setting (26.89 KB, image/png)
2017-10-12 07:59 UTC, saaadat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mal Haak 2015-05-26 00:12:47 UTC
Opening new windows causes events to be directed at the window that was previously selected.
Some applications do not handle this well and close with errors. 

vncviewer is one example. 


Reproducible: Always

Steps to Reproduce:
1.Open vncviewer window
2.open anything else
3.

Actual Results:  
vncviewer closes

Expected Results:  
New window opens and does not cause other windows to close

Console output of vncviewer as follows

~ ))): vncviewer -encoding "copyrect tight hextile zlib corre rre raw" :1
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password: 
Authentication successful
Desktop name "remote:3 (root)"
VNC server default format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Using default colormap which is TrueColor.  Pixel format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
CleanupXtErrorHandler called
Error: Event with wrong window

This error is thrown as soon as another application is launched.
Comment 1 Martin Flöser 2015-05-26 06:38:51 UTC
does this only happen with kwin? Can you try with e.g. openbox whether the problem can be reproduced there as well?
Comment 2 Thomas Lübking 2015-05-26 07:56:00 UTC
That sounds as if the vnc viewer selected substructure notification events on the root window and the default Xt error handler notices that "I got an event for an X drawable that's none of mine - I better kill myself"

This sounds more like a bug in the client (toolkit, libxt) - maybe in the X11 server.
I've no idea how KWin could get events into vncviewer which that didn't select.

The next question would be what kind of ancient version of vncviewer that is - since tigervnc uses fltk.
Or is it tightvnc???
Comment 3 Mal Haak 2015-05-26 08:23:12 UTC
tightvnc.

It didn't happen when I was running KDE 4.13

OpenSuSE Tumbleweed just moved from KDE 4 to Plasma 5. 

Sorry if it's not a Kwin issue, but I assumed it might be as the compositor might be responsible for the windows, well more so than the rest of plasma.

If you need me to test anything or enable debugging or anything, I am more than happy to assist.
Comment 4 Martin Flöser 2015-05-26 08:29:47 UTC
can you please test with another window manager, e.g. openbox? This is required to figure out whether it's kwin's fault or not.
Comment 5 Mal Haak 2015-05-26 08:42:44 UTC
Just fired up in an openbox session.

I opened everything I could find.

No issues here until I opened yast2 with kdesu.

But like I said, under KDE4, it never happened.

So it could be elsewhere in the KDE stack.
Comment 6 Mal Haak 2015-05-26 08:47:05 UTC
(In reply to Mal Haak from comment #5)
> Just fired up in an openbox session.
> 
> I opened everything I could find.
> 
> No issues here until I opened yast2 with kdesu.
> 
> But like I said, under KDE4, it never happened.
> 
> So it could be elsewhere in the KDE stack.

Same in TWM.

But in Plasma5 everything kills it.
Comment 7 Thomas Lübking 2015-05-26 08:53:31 UTC
You can btw. just "openbox --replace &" in a KDE session.
I assume the issue still occurs (in KDE+Openbox instead of KDE+KWin)?

Wild guess:
in KDE, "pkill kglobalaccel5" (global shortcuts inc. Alt+tab will stop working, that's normal)
Then see what happens.
Comment 8 Mal Haak 2015-05-26 09:03:05 UTC
(In reply to Thomas Lübking from comment #7)
> You can btw. just "openbox --replace &" in a KDE session.
> I assume the issue still occurs (in KDE+Openbox instead of KDE+KWin)?
> 
> Wild guess:
> in KDE, "pkill kglobalaccel5" (global shortcuts inc. Alt+tab will stop
> working, that's normal)
> Then see what happens.

Doing this 'fixes' it. 

Loading 'systemsettings5' kills it tho, which I assume is because it also starts kglobalaccel5 if its missing.
Comment 9 Thomas Lübking 2015-05-27 21:46:28 UTC
hmmm... installed tightvnc, but cannot reproduce the behavior (nor do I have a good idea what kind of root event kglobalaccel could generate that vncviewer could stumble on - nor why latter would listen to root window events)

Is the server dialog a sufficient trigger or does one need an established connection?
Comment 10 Mal Haak 2015-05-27 22:21:27 UTC
Hi Thomas,

It needs to be connected. It doesn't seem to happen with the server dialog for me either.

Thanks for looking into this.
Comment 11 Thomas Lübking 2015-05-27 22:44:50 UTC
Nope - just to be sure: KDE runs in the host, not in the vncviewer, does it?
There might be something else - any relation to anything running inside the vnc server (tried an empty session?)
Does it matter whether server & client run on the same machine?

In case somebody else wants to try as well: 

$ cat /etc/tightvncserver.conf 
$fontPath = "/usr/share/fonts/misc/:/usr/share/fonts/TTF/:/usr/share/fonts/100dpi/:/usr/share/fonts/75dpi/:/usr/share/fonts/Type1";

or you'll get an error on starting the not-so-fresh-anymore vncserver from tightvnc ;-)
Comment 12 Mal Haak 2015-05-27 23:29:55 UTC
(In reply to Thomas Lübking from comment #11)
> Nope - just to be sure: KDE runs in the host, not in the vncviewer, does it?

Both  this case.  Client is my laptop (OpenSuse Tumbleweed) and server is running KDE (Centos 7.1)

Vncserver is tigervnc, I believe.



> There might be something else - any relation to anything running inside the
> vnc server (tried an empty session?)

Just tried a 'fallback session', so twm, xterm and such. An empty session and a Gnome session. All have the same behavour.

> Does it matter whether server & client run on the same machine?

Just tested it. It does not matter.


Can I enable some logging or something? Or get some strace output?
Comment 13 darwin te 2015-06-05 16:51:09 UTC
[darwin@cube 4] ~ > Connected to RFB server, using protocol version 3.8
No authentication needed
Authentication successful
Desktop name "zotac:0"
VNC server default format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Using default colormap which is TrueColor.  Pixel format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
CleanupXtErrorHandler called
Error: Event with wrong window
Comment 14 Thomas Lübking 2015-06-05 18:42:18 UTC
You could try to create a window rule ("kcmshell5 kwinrules" or Alt+f3/More actions/Special window settings) that in "Appearance & Fixes" sets the window to "ignore global shortcuts" (force & yes)

Could be kglobalaccel forwards the input that opened the other window to the vnc client (but it's really just a wild guess)

It would likely be required to patch libxt to debug the event that it doesn't like :-(
Comment 15 darwin te 2015-06-05 19:14:31 UTC
Run vncviewer -> press alt+f3 -> more actions -> special application settings... -> crashed always:

We are sorry, kdeinit5 closed unexpectedly.

Executable: kdeinit5 PID: 8460 Signal: Segmentation fault (11) Time: 6/5/15 12:08:28



Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff7db05f780 (LWP 8460))]

Thread 2 (Thread 0x7ff7c8459700 (LWP 8461)):
#0  0x00007ff7d975e8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff7d7cf5b72 in poll (__timeout=-1, __nfds=1, __fds=0x7ff7c8458d40) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x20fff10, cond=cond@entry=0x20fff50, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:447
#3  0x00007ff7d7cf764f in xcb_wait_for_event (c=0x20fff10) at ../../src/xcb_in.c:622
#4  0x00007ff7cb8f9099 in QXcbEventReader::run (this=0x210a890) at qxcbconnection.cpp:1105
#5  0x00007ff7d9ad0b0e in QThreadPrivate::start (arg=0x210a890) at thread/qthread_unix.cpp:337
#6  0x00007ff7d74496aa in start_thread (arg=0x7ff7c8459700) at pthread_create.c:333
#7  0x00007ff7d9769eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff7db05f780 (LWP 8460)):
[KCrash Handler]
#6  xcb_send_request (c=0x0, flags=flags@entry=1, vector=vector@entry=0x7ffd3c4130c0, req=req@entry=0x7ff7d7d032a0 <xcb_req>) at ../../src/xcb_out.c:160
#7  0x00007ff7d7cfb269 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:3901
#8  0x00007ff7da71e470 in NETWinInfo::update (this=0x7ffd3c413620, dirtyProperties=..., dirtyProperties2=...) at ../../src/netwm.cpp:4161
#9  0x00007ff7cb623443 in KWin::ClientMachine::resolve (this=0x7ffd3c4137c0, window=20971537, clientLeader=0) at ../../../kcmkwin/kwinrules/../../client_machine.cpp:179
#10 0x00007ff7cb5fc44f in findRule (whole_app=true, wid=20971537, rules=...) at ../../../kcmkwin/kwinrules/main.cpp:77
#11 edit (whole_app=true, wid=20971537) at ../../../kcmkwin/kwinrules/main.cpp:212
#12 kdemain (argc=4, argv=<optimized out>) at ../../../kcmkwin/kwinrules/main.cpp:266
#13 0x0000000000408716 in launch (argc=argc@entry=4, _name=_name@entry=0x20e02f8 "kwin_rules_dialog", args=<optimized out>, args@entry=0x20e030a "--wid", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x20e032d "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b710 "0") at ../../../src/kdeinit/kinit.cpp:741
#14 0x000000000040a132 in handle_launcher_request (sock=8, who=who@entry=0x40b6c6 "launcher") at ../../../src/kdeinit/kinit.cpp:1180
#15 0x000000000040a6ee in handle_requests (waitForPid=waitForPid@entry=0) at ../../../src/kdeinit/kinit.cpp:1369
#16 0x000000000040501b in main (argc=5, argv=<optimized out>) at ../../../src/kdeinit/kinit.cpp:1860
Comment 16 Thomas Lübking 2015-06-05 19:17:59 UTC
Ah, blast. Unrelated bug, fixed in 5.3.2.
No problem, though: just run "kcmshell5 kwinrules" and use the "detect" button to match the window (you just got to click it afterwards)
Comment 17 darwin te 2015-06-05 19:25:43 UTC
Done creating rules for vncviewer (ignore global shortcuts, force, and yes option).  Did not help, still crashed.
Comment 18 Thomas Lübking 2015-06-05 19:40:11 UTC
Does it matter how you open the next window (eg. "$ sleep 5; xterm")?

Random option for investigation:
$ xev -id <WID> # obtain <WID> eg. using "xwininfo"

=> cause the crash and let's see what the last events were, that the window received.
Comment 19 darwin te 2015-06-05 20:08:31 UTC
Seems in Shell.c in libxt:amd64 package:

static void EventHandler(
	Widget wid,
	XtPointer closure,	/* unused */
	XEvent *event,
        Boolean *continue_to_dispatch) /* unused */
{
	register ShellWidget w = (ShellWidget) wid;
	WMShellWidget wmshell = (WMShellWidget) w;
	Boolean  sizechanged = FALSE;

	if(w->core.window != event->xany.window) {
		XtAppErrorMsg(XtWidgetToApplicationContext(wid),
			"invalidWindow","eventHandler",XtCXtToolkitError,
                        "Event with wrong window",
			(String *)NULL, (Cardinal *)NULL);
		return;
	}

Breakpoint 1, EventHandler (wid=0x68f4f0, closure=0x0, event=0x7fffffffe020, continue_to_dispatch=0x7fffffffdeb5 "\001") at Shell.c:1569
1569                    XtAppErrorMsg(XtWidgetToApplicationContext(wid),
(gdb) bt
#0  EventHandler (wid=0x68f4f0, closure=0x0, event=0x7fffffffe020, continue_to_dispatch=0x7fffffffdeb5 "\001") at Shell.c:1569
#1  0x00007ffff7b86a40 in XtDispatchEventToWidget (widget=0x68f4f0, event=0x7fffffffe020) at Event.c:882
#2  0x00007ffff7b87754 in _XtDefaultDispatcher (event=0x7fffffffe020) at Event.c:1344
#3  0x00007ffff7b87b64 in XtDispatchEvent (event=0x7fffffffe020) at Event.c:1423
#4  0x00007ffff7b9802f in XtAppProcessEvent (app=0x6730e0, mask=15) at NextEvent.c:1397
#5  0x000000000041515d in ProcessXtEvents ()
#6  0x00000000004153b0 in ReadFromRFBServer ()
#7  0x000000000040c9d9 in HandleRFBServerMessage ()
#8  0x00000000004169eb in main ()
(gdb) print w->core.window
$1 = 20971563
(gdb) print event->xany.window
$2 = 153
(gdb) print *w
$3 = {core = {self = 0x68f4f0, widget_class = 0x7ffff7dd6040 <applicationShellClassRec>, parent = 0x0, xrm_name = 167, 
    being_destroyed = 0 '\000', destroy_callbacks = 0x68aa30, constraints = 0x0, x = 1284, y = 26, width = 845, height = 632, 
    border_width = 0, managed = 0 '\000', sensitive = 1 '\001', ancestor_sensitive = 1 '\001', event_table = 0x689ac0, tm = {
      translations = 0x6b28e0, proc_table = 0x6b2640, current_state = 0x0, lastEventTime = 0}, accelerators = 0x0, border_pixel = 0, 
    border_pixmap = 2, popup_list = 0x68b000, num_popups = 2, name = 0x670860 "vncviewer", screen = 0x67f110, colormap = 32, 
    window = 20971563, depth = 24, background_pixel = 0, background_pixmap = 2, visible = 1 '\001', mapped_when_managed = 1 '\001'}, 
  composite = {children = 0x6b1010, num_children = 1, num_slots = 2, insert_position = 0x0}, shell = {
    geometry = 0x6b0ed0 "1280x1000+638+0", create_popup_child_proc = 0x0, grab_kind = XtGrabNone, spring_loaded = 0 '\000', 
    popped_up = 0 '\000', allow_shell_resize = 0 '\000', client_specified = 9 '\t', save_under = 0 '\000', override_redirect = 0 '\000', 
    popup_callback = 0x0, popdown_callback = 0x0, visual = 0x0}}
(gdb) print *event
$4 = {type = 33, xany = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, window = 153}, xkey = {type = 33, serial = 406, 
    send_event = 1, display = 0x6743b0, window = 153, root = 381, subwindow = 8, time = 2322280117212898674, x = 1664959561, 
    y = 996500085, x_root = 858993713, y_root = 0, state = 16777216, keycode = 83886080, same_screen = 268435456}, xbutton = {type = 33, 
    serial = 406, send_event = 1, display = 0x6743b0, window = 153, root = 381, subwindow = 8, time = 2322280117212898674, 
    x = 1664959561, y = 996500085, x_root = 858993713, y_root = 0, state = 16777216, button = 83886080, same_screen = 268435456}, 
  xmotion = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, window = 153, root = 381, subwindow = 8, 
    time = 2322280117212898674, x = 1664959561, y = 996500085, x_root = 858993713, y_root = 0, state = 16777216, is_hint = 0 '\000', 
    same_screen = 268435456}, xcrossing = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, window = 153, root = 381, 
    subwindow = 8, time = 2322280117212898674, x = 1664959561, y = 996500085, x_root = 858993713, y_root = 0, mode = 16777216, 
    detail = 83886080, same_screen = 268435456, focus = -1, state = 4283256141}, xfocus = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, mode = 381, detail = 0}, xexpose = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, 
    window = 153, x = 381, y = 0, width = 8, height = 0, count = 1869440370}, xgraphicsexpose = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, drawable = 153, x = 381, y = 0, width = 8, height = 0, count = 1869440370, major_code = 540697974, 
    minor_code = 1664959561}, xnoexpose = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, drawable = 153, major_code = 381, 
    minor_code = 0}, xvisibility = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, window = 153, state = 381}, 
  xcreatewindow = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, parent = 153, window = 381, x = 8, y = 0, 
    width = 1869440370, height = 540697974, border_width = 1664959561, override_redirect = 996500085}, xdestroywindow = {type = 33, 
    serial = 406, send_event = 1, display = 0x6743b0, event = 153, window = 381}, xunmap = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, event = 153, window = 381, from_configure = 8}, xmap = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, event = 153, window = 381, override_redirect = 8}, xmaprequest = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, parent = 153, window = 381}, xreparent = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, 
    event = 153, window = 381, parent = 8, x = 1869440370, y = 540697974, override_redirect = 1664959561}, xconfigure = {type = 33, 
    serial = 406, send_event = 1, display = 0x6743b0, event = 153, window = 381, x = 8, y = 0, width = 1869440370, height = 540697974, 
    border_width = 1664959561, above = 858993713, override_redirect = 16777216}, xgravity = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, event = 153, window = 381, x = 8, y = 0}, xresizerequest = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, width = 381, height = 0}, xconfigurerequest = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, parent = 153, window = 381, x = 8, y = 0, width = 1869440370, height = 540697974, border_width = 1664959561, 
    above = 858993713, detail = 16777216, value_mask = 18446744069683019776}, xcirculate = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, event = 153, window = 381, place = 8}, xcirculaterequest = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, parent = 153, window = 381, place = 8}, xproperty = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, 
    window = 153, atom = 381, time = 8, state = 1869440370}, xselectionclear = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, selection = 381, time = 8}, xselectionrequest = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, owner = 153, requestor = 381, selection = 8, target = 2322280117212898674, property = 4279935277201179721, 
    time = 858993713}, xselection = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, requestor = 153, selection = 381, 
    target = 8, property = 2322280117212898674, time = 4279935277201179721}, xcolormap = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, colormap = 381, new = 8, state = 0}, xclient = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, message_type = 381, format = 8, data = {b = "remove: ID=cube;1433", s = {25970, 28525, 25974, 8250, 
        17481, 25405, 25205, 15205, 13361, 13107}, l = {2322280117212898674, 4279935277201179721, 858993713, 360287970206416896, 
        -4026531840}}}, xmapping = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, window = 153, request = 381, 
    first_keycode = 0, count = 8}, xerror = {type = 33, display = 0x196, resourceid = 72057594037927937, serial = 6767536, 
    error_code = 153 '\231', request_code = 0 '\000', minor_code = 0 '\000'}, xkeymap = {type = 33, serial = 406, send_event = 1, 
    display = 0x6743b0, window = 153, key_vector = "}\001\000\000\000\000\000\000\b\000\000\000\000\000\000\000remove: ID=cube;"}, 
  xgeneric = {type = 33, serial = 406, send_event = 1, display = 0x6743b0, extension = 153, evtype = 0}, xcookie = {type = 33, 
    serial = 406, send_event = 1, display = 0x6743b0, extension = 153, evtype = 0, cookie = 381, data = 0x8}, pad = {9108927621026021409, 
    406, 72057594037927937, 6767536, 153, 381, 8, 2322280117212898674, 4279935277201179721, 858993713, 360287970206416896, -4026531840, 
    -50299023440130739, -50299023440130739, -50299023440130739, -50299023440130739, 2017612637356949503, 432345564479225856, 33554432, 0, 
    0, 0, 0, 0}}
(gdb)
Comment 20 darwin te 2015-06-05 20:25:34 UTC
[01:22:55 - 0.17]
[root@cube 13] ~ > xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1400029 "TightVNC: zotac:0"

  Absolute upper-left X:  1448
  Absolute upper-left Y:  172
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 845
  Height: 632
  Depth: 24
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +1448+172  -267+172  -267-220  +1448-220
  -geometry 845x632+1444+146

[01:23:01 - 0.23]
[root@cube 14] ~ > xev -id 0x1400029

EnterNotify event, serial 18, synthetic NO, window 0x1400029,
    root 0x99, subw 0x140002a, time 11189217, (25,188), root:(1473,360),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys:  4294967237 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 18, synthetic NO, window 0x1400029,
    atom 0x2cd (_XT_SELECTION_0), time 11189225, state PropertyNewValue

PropertyNotify event, serial 19, synthetic NO, window 0x1400029,
    atom 0x2cd (_XT_SELECTION_0), time 11189226, state PropertyDelete

PropertyNotify event, serial 19, synthetic NO, window 0x1400029,
    atom 0x2ce (_XT_SELECTION_1), time 11189226, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x1400029,
    atom 0x2ce (_XT_SELECTION_1), time 11189227, state PropertyDelete

LeaveNotify event, serial 20, synthetic NO, window 0x1400029,
    root 0x99, subw 0x140002a, time 11189733, (-48,244), root:(1400,416),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 16

ColormapNotify event, serial 20, synthetic NO, window 0x1400029,
    colormap 0x20, new NO, state ColormapInstalled

PropertyNotify event, serial 20, synthetic NO, window 0x1400029,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 11194732, state PropertyNewValue

PropertyNotify event, serial 20, synthetic NO, window 0x1400029,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 11194732, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x1400029,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 11194830, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0x1400029,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 11194830, state PropertyNewValue

ColormapNotify event, serial 21, synthetic NO, window 0x1400029,
    colormap 0x20, new NO, state ColormapUninstalled

UnmapNotify event, serial 21, synthetic NO, window 0x1400029,
    event 0x1400029, window 0x1400029, from_configure NO

DestroyNotify event, serial 21, synthetic NO, window 0x1400029,
    event 0x1400029, window 0x140002a

DestroyNotify event, serial 21, synthetic NO, window 0x1400029,
    event 0x1400029, window 0x1400029
Comment 21 Thomas Lübking 2015-06-05 21:00:08 UTC
As suspected (comment #2) - but many thanks for the stack inspection.

> type = 33
lol - xt aborts on ClientMessages =)

Can you check what WId 153 is? ("xwininfo -int -id 153")
I don't see where kglobalaccel would send client messages (but kwin does - all WMs do) - also the message data ("remove: ID=cube;1433") looks weird.

Did anybody check whether "openbox --replace &" (replace kwin_x11 with openbox in a KDE session, ie. keep kglobalacceld running) does have any impact?
Comment 22 darwin te 2015-06-05 21:46:08 UTC
xwininfo: Window id: 153 (the root window) (has no name)

  Root window id: 153 (the root window) (has no name)
  Parent window id: 0 (none)
     268 children:
     92274856 "Intl. LunchClub - Skype™": ("skype" "Skype")  1280x968+1280+26  +1280+26
     92274836 "skype": ("skype" "Skype")  268x74+2291+919  +2291+919
     75674072 "Firefox": ("Popup" "Firefox")  298x275+1569+568  +1569+568
        1 child:
        75674073 (has no name): ()  1x1+-1+-1  +1568+567
     75509017 "Close Tab": ("Popup" "Firefox")  71x25+1881+34  +1881+34
        1 child:
        75509018 (has no name): ()  1x1+-1+-1  +1880+33
     50331780 "konsole": ("konsole" "konsole")  282x141+373+634  +373+634
     75697174 "Firefox": ("Popup" "Firefox")  204x223+2088+62  +2088+62
        1 child:
        75697175 (has no name): ()  1x1+-1+-1  +2087+61
     46137625 "Plasma": ("plasmashell" "plasmashell")  430x1+832+994  +832+994
     46137429 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+994  +2112+994
     46137414 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+994  +2112+994
     75721819 "Firefox": ("Popup" "Firefox")  740x284+1341+62  +1341+62
        1 child:
        75721820 (has no name): ()  1x1+-1+-1  +1340+61
     75667228 "Your Connections": ("Popup" "Firefox")  123x25+1939+105  +1939+105
        1 child:
        75667229 (has no name): ()  1x1+-1+-1  +1938+104
     46137622 "Plasma": ("plasmashell" "plasmashell")  430x82+832+942  +832+942
     46137426 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+894  +2112+894
     46137417 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+863  +2112+863
     46137638 "Plasma": ("plasmashell" "plasmashell")  394x394+886+603  +886+603
     46137619 "Plasma": ("plasmashell" "plasmashell")  430x1+832+891  +832+891
     46137423 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+994  +2112+994
     46137420 "Plasma": ("plasmashell" "plasmashell")  430x1+2112+891  +2112+891
     46137442 "Plasma": ("plasmashell" "plasmashell")  394x394+2166+600  +2166+600
     75717557 "Firefox": ("Popup" "Firefox")  118x169+1608+46  +1608+46
        1 child:
        75717558 (has no name): ()  1x1+-1+-1  +1607+45
     60817427 "Kopete": ("kopete" "Kopete")  300x943+2252+0  +2252+0
     46137436 "Plasma": ("plasmashell" "plasmashell")  484x628+1280+366  +1280+366
     20971521 (has no name): ()  1x1+0+0  +0+0
     46137635 "Plasma": ("plasmashell" "plasmashell")  457x394+823+603  +823+603
     83886167 "Kate": ("kate" "kate")  255x200+1474+125  +1474+125
     83886156 "Kate": ("kate" "kate")  259x514+1280+55  +1280+55
     46137433 "Plasma": ("plasmashell" "plasmashell")  394x182+0+815  +0+815
     46137632 "Plasma": ("plasmashell" "plasmashell")  484x628+0+369  +0+369
     6291469 (has no name): ()  1x1+0+0  +0+0
     83886166 (has no name): ()  3x3+0+0  +0+0
     83886161 "Kate": ("kate" "kate")  945x297+1535+116  +1535+116
     83886151 "Kate": ("kate" "kate")  307x344+1698+260  +1698+260
     83886146 "Kate": ("kate" "kate")  334x575+1368+55  +1368+55
     83886141 "Kate": ("kate" "kate")  223x56+1419+55  +1419+55
     83886131 "Kate": ("kate" "kate")  188x174+1585+55  +1585+55
     83886126 "Kate": ("kate" "kate")  351x580+1662+55  +1662+55
     83886121 "Kate": ("kate" "kate")  309x252+1715+55  +1715+55
     83886085 (has no name): ()  3x3+0+0  +0+0
     83886084 (has no name): ()  1x1+0+0  +0+0
     83886082 (has no name): ()  1x1+0+0  +0+0
     69211626 "Thunderbird": ("Popup" "Thunderbird")  248x517+1678+160  +1678+160
        1 child:
        69211627 (has no name): ()  1x1+-1+-1  +1677+159
     75688744 "Firefox": ("Popup" "Firefox")  180x222+2128+55  +2128+55
        1 child:
        75688745 (has no name): ()  1x1+-1+-1  +2127+54
     75505201 "Thomas Lübking <thomas.luebking@gmail.com>": ("Popup" "Firefox")  320x25+1363+659  +1363+659
        1 child:
        75505202 (has no name): ()  1x1+-1+-1  +1362+658
     75663573 "Firefox": ("firefox" "Firefox")  1x1+-100+-100  +-100+-100
        1 child:
        75663574 (has no name): ()  1x1+-1+-1  +-101+-101
     75609977 "Firefox": ("Popup" "Firefox")  337x286+1442+647  +1442+647
        1 child:
        75609978 (has no name): ()  1x1+-1+-1  +1441+646
     52429576 "KWin": ("kwin_x11" "kwin")  277x304+852+579  +852+579
     52429571 "KWin": ("kwin_x11" "kwin")  237x174+619+466  +619+466
     52429609 "KWin": ("kwin_x11" "kwin")  136x56+945+694  +945+694
     52429671 (has no name): ()  1x1+0+0  +0+0
     50331805 "konsole": ("konsole" "konsole")  222x472+769+552  +769+552
     75651092 "Close Tab": ("Popup" "Firefox")  71x25+2479+38  +2479+38
        1 child:
        75651093 (has no name): ()  1x1+-1+-1  +2478+37
     75618537 "Firefox": ("Popup" "Firefox")  204x309+2088+62  +2088+62
        1 child:
        75618538 (has no name): ()  1x1+-1+-1  +2087+61
     69217218 "Thunderbird": ("Popup" "Thunderbird")  396x137+2164+529  +2164+529
        1 child:
        69217219 (has no name): ()  1x1+-1+-1  +2163+528
     75514047 " ("Popup" "Firefox")  250x25+1355+413  +1355+413
        1 child:
        75514048 (has no name): ()  1x1+-1+-1  +1354+412
     75616599 "Firefox": ("Popup" "Firefox")  28x28+1835+330  +1835+330
        1 child:
        75616600 (has no name): ()  1x1+-1+-1  +1834+329
     69213630 "Sort by subject": ("Popup" "Thunderbird")  111x25+1691+162  +1691+162
        1 child:
        69213631 (has no name): ()  1x1+-1+-1  +1690+161
     33554438 "Authentication Required": ("polkit-kde-authentication-agent-1" "polkit-kde-authentication-agent-1")  375x266+452+376  +452+376
     92275306 (has no name): ("skype" "Skype")  197x119+1821+875  +1821+875
     69213635 "Thunderbird": ("thunderbird" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69213636 (has no name): ()  1x1+-1+-1  +-1+-1
     58720354 (has no name): ("kmix" "Kmix")  301x385+2145+608  +2145+608
     69211044 "Thunderbird": ("Popup" "Thunderbird")  187x127+1556+495  +1556+495
        1 child:
        69211045 (has no name): ()  1x1+-1+-1  +1555+494
     69209492 "Thunderbird": ()  10x10+-100+-100  +-100+-100
     75572557 "Open a new tab (Ctrl+T)": ("Popup" "Firefox")  172x25+1611+37  +1611+37
        1 child:
        75572558 (has no name): ()  1x1+-1+-1  +1610+36
     6291466 (has no name): ()  1x1+0+0  +0+0
     69208950 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69208951 (has no name): ()  1x1+-1+-1  +-1+-1
     69208869 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69208870 (has no name): ()  1x1+-1+-1  +-1+-1
     92274921 "skype": ("skype" "Skype")  1280x409+0+0  +0+0
     92274913 "skype": ("skype" "Skype")  1280x409+0+0  +0+0
     56623297 "akregator": ("akregator" "Akregator")  640x409+0+0  +0+0
     56623289 "akregator": ("akregator" "Akregator")  640x409+0+0  +0+0
     56623165 "akregator": ("akregator" "Akregator")  640x409+0+0  +0+0
     75509023 "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        75509024 (has no name): ()  1x1+-1+-1  +-1+-1
     75507115 "Firefox": ()  10x10+-100+-100  +-100+-100
     46137737 "Plasma": ("plasmashell" "plasmashell")  48x48+1567+999  +1567+999
     46137616 "Plasma": ("plasmashell" "plasmashell")  160x160+0+0  +0+0
     46137589 "Plasma": ("plasmashell" "plasmashell")  141x56+973+463  +973+463
     50331737 "konsole": ("konsole" "konsole")  331x233+285+263  +285+263
     50331704 (has no name): ()  3x3+0+0  +0+0
     50331689 "konsole": ("konsole" "konsole")  234x297+1733+168  +1733+168
     50331675 "konsole": ("konsole" "konsole")  318x141+1419+55  +1419+55
     46137439 "Plasma": ("plasmashell" "plasmashell")  457x394+2103+600  +2103+600
     6291464 (has no name): ()  1x1+0+0  +0+0
     92274716 (has no name): ()  1x1+0+0  +0+0
     121634826 "akonadi_mailfilter_agent": ("akonadi_mailfilter_agent" "Akonadi_mailfilter_agent")  640x409+0+0  +0+0
     121634820 (has no name): ()  1x1+0+0  +0+0
     121634818 "akonadi_mailfilter_agent": ("akonadi_mailfilter_agent" "Akonadi_mailfilter_agent")  640x409+0+0  +0+0
     117440522 "akonadi_sendlater_agent": ("akonadi_sendlater_agent" "Akonadi_sendlater_agent")  640x409+0+0  +0+0
     117440516 (has no name): ()  1x1+0+0  +0+0
     117440514 "akonadi_sendlater_agent": ("akonadi_sendlater_agent" "Akonadi_sendlater_agent")  640x409+0+0  +0+0
     115343370 "akonadi_notes_agent": ("akonadi_notes_agent" "Akonadi_notes_agent")  640x409+0+0  +0+0
     115343364 (has no name): ()  1x1+0+0  +0+0
     115343362 "akonadi_notes_agent": ("akonadi_notes_agent" "Akonadi_notes_agent")  640x409+0+0  +0+0
     113246218 "akonadi_newmailnotifier_agent": ("akonadi_newmailnotifier_agent" "Akonadi_newmailnotifier_agent")  640x409+0+0  +0+0
     113246212 (has no name): ()  1x1+0+0  +0+0
     113246210 "akonadi_newmailnotifier_agent": ("akonadi_newmailnotifier_agent" "Akonadi_newmailnotifier_agent")  640x409+0+0  +0+0
     111149066 "akonadi_migration_agent": ("akonadi_migration_agent" "Akonadi_migration_agent")  640x409+0+0  +0+0
     111149060 (has no name): ()  1x1+0+0  +0+0
     111149058 "akonadi_migration_agent": ("akonadi_migration_agent" "Akonadi_migration_agent")  640x409+0+0  +0+0
     109051914 "akonadi_maildispatcher_agent": ("akonadi_maildispatcher_agent" "Akonadi_maildispatcher_agent")  640x409+0+0  +0+0
     109051908 (has no name): ()  1x1+0+0  +0+0
     109051906 "akonadi_maildispatcher_agent": ("akonadi_maildispatcher_agent" "Akonadi_maildispatcher_agent")  640x409+0+0  +0+0
     106954762 "akonadi_followupreminder_agent": ("akonadi_followupreminder_agent" "Akonadi_followupreminder_agent")  640x409+0+0  +0+0
     106954756 (has no name): ()  1x1+0+0  +0+0
     106954754 "akonadi_followupreminder_agent": ("akonadi_followupreminder_agent" "Akonadi_followupreminder_agent")  640x409+0+0  +0+0
     96469002 "akonadi_baloo_indexer": ("akonadi_baloo_indexer" "Akonadi_baloo_indexer")  640x409+0+0  +0+0
     96468996 (has no name): ()  1x1+0+0  +0+0
     96468994 "akonadi_baloo_indexer": ("akonadi_baloo_indexer" "Akonadi_baloo_indexer")  640x409+0+0  +0+0
     75498594 "Firefox": ("Popup" "Firefox")  200x200+0+0  +0+0
        1 child:
        75498595 (has no name): ()  1x1+-1+-1  +-1+-1
     92274692 (has no name): ()  1x1+0+0  +0+0
     92274690 "skype": ("skype" "Skype")  1280x409+0+0  +0+0
        1 child:
        92274701 (has no name): ()  100x30+0+0  +0+0
     85983295 (has no name): ()  1x1+-1+-1  +-1+-1
     69207370 "Thunderbird": ("thunderbird" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69207371 (has no name): ()  1x1+-1+-1  +-1+-1
     90177539 "vmware-unity-helper": ()  50x1+0+0  +0+0
     90177537 "vmware-unity-helper": ("vmware-unity-helper" "Vmware-unity-helper")  10x10+10+10  +10+10
        1 child:
        90177538 (has no name): ()  1x1+-1+-1  +9+9
     52428863 (has no name): ()  1280x5+0+992  +0+992
     52428862 (has no name): ()  1280x5+0+0  +0+0
     52428861 (has no name): ()  5x987+1275+5  +1275+5
     52428860 (has no name): ()  5x987+0+5  +0+5
     88080385 (has no name): ()  1x1+0+0  +0+0
     75498014 "Firefox": ()  1x1+0+0  +0+0
        1 child:
        75498015 (has no name): ()  1x1+-1+-1  +-1+-1
     75498003 "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        75498004 (has no name): ()  1x1+-1+-1  +-1+-1
     46137451 "Plasma": ("plasmashell" "plasmashell")  1x1+2196+997  +2196+997
     46137448 "Plasma": ("plasmashell" "plasmashell")  1x1+2136+997  +2136+997
     46137445 "Plasma": ("plasmashell" "plasmashell")  1x1+1292+997  +1292+997
     69206284 (has no name): ()  1x1+-1+-1  +-1+-1
     46137432 (has no name): ()  3x3+0+0  +0+0
     8388609 "vmware-tray": ("vmware-tray" "Vmware-tray")  10x10+10+10  +10+10
        1 child:
        8388610 (has no name): ()  1x1+-1+-1  +9+9
     75497685 (has no name): ()  1x1+-1+-1  +-1+-1
     69206222 "Thunderbird": ()  1x1+0+0  +0+0
        1 child:
        69206223 (has no name): ()  1x1+-1+-1  +-1+-1
     85983233 "vmware": ("vmware" "Vmware")  10x10+10+10  +10+10
        1 child:
        85983234 (has no name): ()  1x1+-1+-1  +9+9
     69206219 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206220 (has no name): ()  1x1+-1+-1  +-1+-1
     79691786 "knotify4": ("knotify4" "Knotify4")  640x409+0+0  +0+0
     79691780 (has no name): ()  1x1+0+0  +0+0
     79691778 "knotify4": ("knotify4" "Knotify4")  640x409+0+0  +0+0
     81788938 "kwalletd": ("kwalletd" "Kwalletd")  640x409+0+0  +0+0
     81788932 (has no name): ()  1x1+0+0  +0+0
     81788930 "kwalletd": ("kwalletd" "Kwalletd")  640x409+0+0  +0+0
     69206216 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206217 (has no name): ()  1x1+-1+-1  +-1+-1
     69206213 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206214 (has no name): ()  1x1+-1+-1  +-1+-1
     69206206 "Thunderbird": ("Popup" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206207 (has no name): ()  1x1+-1+-1  +-1+-1
     77594634 "kuiserver": ("kuiserver" "Kuiserver")  640x409+0+0  +0+0
     77594628 (has no name): ()  1x1+0+0  +0+0
     77594626 "kuiserver": ("kuiserver" "Kuiserver")  640x409+0+0  +0+0
     75497644 "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        1 child:
        75497645 (has no name): ()  1x1+-1+-1  +-1+-1
     75497632 "Firefox": ("firefox" "Firefox")  200x200+0+0  +0+0
        2 children:
        75500901 (has no name): ()  1x1+0+0  +0+0
        75497633 (has no name): ()  1x1+-1+-1  +-1+-1
     75497631 "Firefox": ()  10x10+-100+-100  +-100+-100
     75497588 (has no name): ("Toplevel" "Firefox")  200x200+0+0  +0+0
        1 child:
        75497589 (has no name): ()  1x1+-1+-1  +-1+-1
     69206188 "Thunderbird": ("thunderbird" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206189 (has no name): ()  1x1+-1+-1  +-1+-1
     69206176 "Thunderbird": ("thunderbird" "Thunderbird")  200x200+0+0  +0+0
        2 children:
        69206888 (has no name): ()  1x1+0+0  +0+0
        69206177 (has no name): ()  1x1+-1+-1  +-1+-1
     69206175 "Thunderbird": ()  10x10+-100+-100  +-100+-100
     69206132 (has no name): ("Toplevel" "Thunderbird")  200x200+0+0  +0+0
        1 child:
        69206133 (has no name): ()  1x1+-1+-1  +-1+-1
     6291462 (has no name): ()  1x1+0+0  +0+0
     75497587 (has no name): ()  1x1+0+0  +0+0
     6291461 (has no name): ()  1x1+0+0  +0+0
     69206131 (has no name): ()  1x1+0+0  +0+0
     73400330 "korgac": ("korgac" "Korgac")  640x409+0+0  +0+0
     73400324 (has no name): ()  1x1+0+0  +0+0
     73400322 "korgac": ("korgac" "Korgac")  640x409+0+0  +0+0
     75497473 "Firefox": ("firefox" "Firefox")  10x10+10+10  +10+10
        1 child:
        75497474 (has no name): ()  1x1+-1+-1  +9+9
     69206017 "Thunderbird": ("thunderbird" "Thunderbird")  10x10+10+10  +10+10
        1 child:
        69206018 (has no name): ()  1x1+-1+-1  +9+9
     18874380 (has no name): ()  1x1+0+0  +0+0
     54525982 "dolphin": ("dolphin" "Dolphin")  640x409+0+0  +0+0
     54525974 "dolphin": ("dolphin" "Dolphin")  640x409+0+0  +0+0
     58720310 "Configure – KMix": ("kmix" "Kmix")  640x409+0+0  +0+0
     58720296 "KDE Mixer - Playback Devices": ("kmix" "Kmix")  640x409+0+0  +0+0
        3 children:
        58720308 (has no name): ()  640x480+0+0  +0+0
           2 children:
           58720332 (has no name): ()  100x30+0+0  +0+0
           58720330 (has no name): ()  100x30+0+0  +0+0
              4 children:
              58720334 (has no name): ()  100x30+0+0  +0+0
              58720338 (has no name): ()  100x30+0+0  +0+0
              58720342 (has no name): ()  100x30+0+0  +0+0
              58720346 (has no name): ()  100x30+0+0  +0+0
        58720306 (has no name): ()  100x30+0+0  +0+0
        58720304 (has no name): ()  100x30+0+0  +0+0
     39845906 (has no name): ()  3x3+0+0  +0+0
     46137402 "Plasma": ("plasmashell" "plasmashell")  640x480+0+0  +0+0
     58720292 "kmix": ("kmix" "Kmix")  72x26+0+0  +0+0
     58720288 "kmix": ("kmix" "Kmix")  26x26+0+0  +0+0
     58720276 "kmix": ("kmix" "Kmix")  422x38+0+0  +0+0
     67108874 "kded4": ("kded4" "Kded4")  640x409+0+0  +0+0
     67108868 (has no name): ()  1x1+0+0  +0+0
     67108866 "kded4": ("kded4" "Kded4")  640x409+0+0  +0+0
     62914565 (has no name): ()  3x3+0+0  +0+0
     58720265 (has no name): ()  1x1+0+0  +0+0
     58720263 "kmix": ("kmix" "Kmix")  640x409+0+0  +0+0
     54525961 (has no name): ()  1x1+0+0  +0+0
     56623114 (has no name): ()  1x1+0+0  +0+0
     62914564 (has no name): ()  1x1+0+0  +0+0
     62914562 (has no name): ()  1x1+0+0  +0+0
     60817418 "kopete": ("kopete" "Kopete")  640x409+0+0  +0+0
     60817412 (has no name): ()  1x1+0+0  +0+0
     60817410 "kopete": ("kopete" "Kopete")  640x409+0+0  +0+0
     46137391 "Plasma": ("plasmashell" "plasmashell")  160x160+0+0  +0+0
     46137385 "Plasma": ("plasmashell" "plasmashell")  160x160+0+0  +0+0
     46137384 (has no name): ()  1x1+0+0  +0+0
     46137367 "Plasma": ("plasmashell" "plasmashell")  1x1+0+0  +0+0
     52428817 (has no name): ()  1280x994+0+0  +0+0
     50331654 (has no name): ()  1x1+0+0  +0+0
     27262982 (has no name): ()  1x1+0+0  +0+0
     46137361 "Plasma": ("plasmashell" "plasmashell")  1x1+1280+0  +1280+0
     52428807 (has no name): ()  1x1+-1+-1  +-1+-1
     39845905 (has no name): ()  1x1+0+0  +0+0
     52428806 (has no name): ()  1x1+0+0  +0+0
     52428805 (has no name): ()  3x3+0+0  +0+0
     52428804 (has no name): ()  1x1+0+0  +0+0
     52428802 (has no name): ()  1x1+0+0  +0+0
     46137358 "Plasma": ("plasmashell" "plasmashell")  160x160+0+0  +0+0
     50331653 (has no name): ()  3x3+0+0  +0+0
     50331652 (has no name): ()  1x1+0+0  +0+0
     50331650 (has no name): ()  1x1+0+0  +0+0
     33554437 (has no name): ()  3x3+0+0  +0+0
     33554436 (has no name): ()  1x1+0+0  +0+0
     33554434 (has no name): ()  1x1+0+0  +0+0
     46137349 (has no name): ()  3x3+0+0  +0+0
     46137348 (has no name): ()  1x1+0+0  +0+0
     46137346 (has no name): ()  1x1+0+0  +0+0
     44040197 (has no name): ()  3x3+0+0  +0+0
     44040196 (has no name): ()  1x1+0+0  +0+0
     44040194 (has no name): ()  1x1+0+0  +0+0
     37748742 (has no name): ()  1x1+0+0  +0+0
     39845902 "krunner": ("krunner" "krunner")  160x160+0+0  +0+0
     39845893 (has no name): ()  3x3+0+0  +0+0
     39845892 (has no name): ()  1x1+0+0  +0+0
     39845890 (has no name): ()  1x1+0+0  +0+0
     23068679 (has no name): ()  1x1+0+0  +0+0
     37748741 (has no name): ()  3x3+0+0  +0+0
     37748740 (has no name): ()  1x1+0+0  +0+0
     37748738 (has no name): ()  1x1+0+0  +0+0
     35651590 (has no name): ()  1x1+0+0  +0+0
     35651589 (has no name): ()  3x3+0+0  +0+0
     35651588 (has no name): ()  1x1+0+0  +0+0
     35651586 (has no name): ()  1x1+0+0  +0+0
     31457285 (has no name): ()  3x3+0+0  +0+0
     31457284 (has no name): ()  1x1+0+0  +0+0
     31457282 (has no name): ()  1x1+0+0  +0+0
     23068677 (has no name): ()  3x3+0+0  +0+0
     23068676 (has no name): ()  1x1+0+0  +0+0
     23068674 (has no name): ()  1x1+0+0  +0+0
     16777217 (has no name): ()  1x1+0+0  +0+0
     27262981 (has no name): ()  3x3+0+0  +0+0
     27262980 (has no name): ()  1x1+0+0  +0+0
     27262978 (has no name): ()  1x1+0+0  +0+0
     18874373 (has no name): ()  3x3+0+0  +0+0
     18874372 (has no name): ()  1x1+0+0  +0+0
     18874370 (has no name): ()  1x1+0+0  +0+0
     14680069 (has no name): ()  3x3+0+0  +0+0
     14680068 (has no name): ()  1x1+0+0  +0+0
     14680066 (has no name): ()  1x1+0+0  +0+0
     10485767 "IBus Panel": ("ibus-ui-gtk" "ibus-ui-gtk")  200x200+0+0  +0+0
        1 child:
        10485768 (has no name): ()  1x1+-1+-1  +-1+-1
     10485761 "ibus-ui-gtk3": ("ibus-ui-gtk3" "Ibus-ui-gtk3")  10x10+10+10  +10+10
        1 child:
        10485762 (has no name): ()  1x1+-1+-1  +9+9
     6291459 "ibus-xim": ()  1x1+0+0  +0+0
        1 child:
        6291460 (has no name): ()  1x1+-1+-1  +-1+-1
     6291457 "ibus-x11": ("ibus-x11" "Ibus-x11")  10x10+10+10  +10+10
        1 child:
        6291458 (has no name): ()  1x1+-1+-1  +9+9
     2097153 (has no name): ()  10x10+-20+-20  +-20+-20
     52428808 "KWin": ()  1x1+0+0  +0+0
     52428825 (has no name): ()  1280x30+1280+994  +1280+994
        1 child:
        52428826 (has no name): ()  1280x30+0+0  +1280+994
           1 child:
           46137381 "Plasma": ("plasmashell" "plasmashell")  1280x30+0+0  +1280+994
     52429010 (has no name): ()  1280x27+0+997  +0+997
        1 child:
        52429011 (has no name): ()  1280x27+0+0  +0+997
           1 child:
           46137613 "Plasma": ("plasmashell" "plasmashell")  1280x27+0+0  +0+997
     52428828 (has no name): ()  1280x27+1280+997  +1280+997
        1 child:
        52428829 (has no name): ()  1280x27+0+0  +1280+997
           1 child:
           46137388 "Plasma": ("plasmashell" "plasmashell")  1280x27+0+0  +1280+997
     52428814 (has no name): ()  1280x997+0+0  +0+0
        1 child:
        52428815 (has no name): ()  1280x997+0+0  +0+0
           1 child:
           50331655 "shell": ("konsole" "konsole")  1280x997+0+0  +0+0
     52429021 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52429022 (has no name): ()  1280x994+0+0  +1280+0
           1 child:
           75498709 "xwininfo(1): window info utility for X - Linux man page - Mozilla Firefox": ("Navigator" "Firefox")  1280x994+0+0  +1280+0
              1 child:
              75498710 (has no name): ()  1x1+-1+-1  +1279+-1
     52429791 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52429792 (has no name): ()  1280x968+0+26  +1280+26
           1 child:
           83886086 "Untitled * — Kate": ("kate" "kate")  1280x968+0+0  +1280+26
     52428846 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52428847 (has no name): ()  1280x968+0+26  +1280+26
           1 child:
           54525959 "Downloads – Dolphin": ("dolphin" "Dolphin")  1280x968+0+0  +1280+26
     52428850 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52428851 (has no name): ()  1280x968+0+26  +1280+26
           1 child:
           69206170 "Inbox - Mozilla Thunderbird": ("Mail" "Thunderbird")  1280x968+0+0  +1280+26
              1 child:
              69206171 (has no name): ()  1x1+-1+-1  +1279+25
     52428917 (has no name): ()  248x872+2294+30  +2294+30
        1 child:
        52428918 (has no name): ()  240x842+4+26  +2298+56
           1 child:
           92274722 "Skype™": ("skype" "Skype")  240x842+0+0  +2298+56
     52428875 (has no name): ()  1280x997+0+0  +0+0
        1 child:
        52428876 (has no name): ()  1280x971+0+26  +0+26
           1 child:
           85983235 "Home - VMware Workstation": ("vmware" "Vmware")  1280x971+0+0  +0+26
              1 child:
              85983236 (has no name): ()  1x1+-1+-1  +-1+25
     52429871 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52429872 (has no name): ()  1280x968+0+26  +1280+26
           1 child:
           56623112 "Akregator": ("akregator" "Akregator")  1280x968+0+0  +1280+26
     52428842 (has no name): ()  1280x994+1280+0  +1280+0
        1 child:
        52428843 (has no name): ()  1280x994+0+0  +1280+0
           1 child:
           75497626 "New Tab - Mozilla Firefox": ("Navigator" "Firefox")  1280x994+0+0  +1280+0
              1 child:
              75497627 (has no name): ()  1x1+-1+-1  +1279+-1
     52428822 (has no name): ()  1280x1024+0+0  +0+0
        1 child:
        52428823 (has no name): ()  1280x1024+0+0  +0+0
           1 child:
           46137370 "Desktop — Plasma": ("plasmashell" "plasmashell")  1280x1024+0+0  +0+0
     52428819 (has no name): ()  1280x1024+1280+0  +1280+0
        1 child:
        52428820 (has no name): ()  1280x1024+0+0  +1280+0
           1 child:
           46137364 "Desktop — Plasma": ("plasmashell" "plasmashell")  1280x1024+0+0  +1280+0
     52429050 (has no name): ()  1280x994+1280+0  +1280+0
     52429049 (has no name): ()  1280x994+1280+0  +1280+0
     52429048 (has no name): ()  1280x997+0+0  +0+0
     52429047 (has no name): ()  1280x994+1280+0  +1280+0
     52429046 (has no name): ()  1280x994+1280+0  +1280+0
     52429045 (has no name): ()  1280x994+1280+0  +1280+0
     52429044 (has no name): ()  248x872+2294+30  +2294+30
     52429043 (has no name): ()  1280x994+1280+0  +1280+0
     52429042 (has no name): ()  1280x1001+0+0  +0+0

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 2560
  Height: 1024
  Depth: 24
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 2560x1024+0+0

  Bit gravity: NorthWestGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      EnterWindow
      LeaveWindow
      KeymapState
      Exposure
      StructureNotify
      SubstructureNotify
      SubstructureRedirect
      FocusChange
      PropertyChange
      ColormapChange
  Do not propagate these events:
  Override redirection?: No

  Window manager hints:
      Process id: (unknown)

  No normal window size hints defined
  No zoom window size hints defined

  No window shape defined
  No border shape defined

[02:42:49 - 0.26]
[darwin@cube 143] ~/Downloads/ >
Comment 23 Thomas Lübking 2015-06-05 22:12:31 UTC
So "something™" sends a client message to the root window and for "some™" reason (involving kglobalacceld), tightvnc picks that event "unprepared".

>     10485761 "ibus-ui-gtk3": ("ibus-ui-gtk3" "Ibus-ui-gtk3")  10x10+10+10  +10+10
>     6291459 "ibus-xim": ()  1x1+0+0  +0+0
>     6291457 "ibus-x11": ("ibus-x11" "Ibus-x11")  10x10+10+10  +10+10

@Mal, do you have ibus windows as well?
$ xwininfo -tree -root | grep -i ibus
Comment 24 darwin te 2016-05-04 03:30:13 UTC
Hi,

I am now using Kubuntu Xenial 16.04 and still see this crash.  Any suggestion how to fix?  Need debug info I can provide.
Comment 25 Thomas Lübking 2016-05-04 07:38:45 UTC
The "crash" itself is an abort in xt - it could only be reliably prevented there (by not aborting just because there's one - makes "crashing" it from outside a bit very easy)

We don't even know what sends the client message or why it ends up on the root window.
=> I'd try to stop ibus and see whether it's still a problem (to see whether there's a unhealthy partnership)
Comment 26 Per Pomsel 2016-06-07 05:32:52 UTC
I can confirm the described behaviour (using KDE 16.04.1 with Gentoo).
Comment 27 Per Pomsel 2016-08-19 06:38:09 UTC
Is there any progress with this bug?
Comment 28 Martin Flöser 2016-08-19 07:27:03 UTC
> The "crash" itself is an abort in xt - it could only be reliably prevented there

Did anyone report the abort to xt? I don't think there is anything from our side which could be done. The crash needs to be fixed in the affected applications.
Comment 29 Per Pomsel 2016-08-25 06:54:10 UTC
Thanks for the feedback. Now I'm using TigerVNC instead of TightVNC and everything works as expected. So it must be a bug in TightVNC.
Comment 30 saaadat 2017-10-12 07:58:31 UTC
Created attachment 108292 [details]
screenshot of error message

screenshot of error message
Comment 31 saaadat 2017-10-12 07:59:35 UTC
Created attachment 108293 [details]
screenshot of setting

Settings used in GDB plugin
Comment 32 Nicolas Fella 2022-08-18 23:10:40 UTC
This bug report isn't really actionable currently, so I am going to close it. 

If you are still encountering problems with recent Plasma please file a new report