has_broken_send_shm_event has a "XShmCompletionEvent ev" variable. Before using it with XSendEvent, the properties send_event and serial are not initialize.
The problem is these two properties is using by the function event_to_wire (libXext-1.3.1, XShm.c) which is called by XSendEvent.
Author: Chris Wilson <firstname.lastname@example.org>
Date: Sun Dec 23 11:12:21 2012 +0000
xlib/shm: Populate send_event and serial
Hopefully this random choice is more meaningful than random junk.
Signed-off-by: Chris Wilson <email@example.com>
Since you don't mention what the actual problem is, whether this is just a valgrind warning, or if a kitten is killed everytime, I can't assess whether that truly fixes your issue.
You're right, this is just a valgrind warning.
But I reported it because the warning is real and the problem easy to solve (I think). Plus, it's working right now but who knows in the future ?
The problem is very real, older versions of Xorg would crash if clients sent ev.send_event=True which is what would be expected according to the manpage. So I was wondering if you had a crashing xserver that needed to be added to the blacklist.
Nope. No crash.
And thanks for having solved the problem.