since libXi-1.7.7, attaching various input devices, such as gamepads, game controllers giving segfaults for various applications in: gdk_display_open () FIxed upstream in gtk+ Reproducible: Always Steps to Reproduce: 1. make sure libXi-1.7.7 installed 2. attach game controller such as Dual Shock 3 3. notice segfaults for various applications, such as chromium, antimicro, hexchat. Actual Results: Oct 13 10:49:04 [kernel] [56630.702769] usb 1-1: Product: PLAYSTATION(R)3 Controller Oct 13 10:49:04 [kernel] [56630.780767] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0004/input/input21 Oct 13 10:49:04 [kernel] [56630.781383] sony 0003:054C:0268.0004: input,hiddev0,hidraw1: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:14.0-1/input0 Oct 13 10:49:12 [kernel] [56639.133953] chrome[29887]: segfault at 0 ip 00007fb2f476a209 sp 00007ffe2d68f7d0 error 4 in libgdk-x11-2.0.so.0.2400.31[7fb2f46f9000+af000] ... Oct 13 12:15:46 [kernel] [61833.259819] antimicro[3338]: segfault at 0 ip 00007f4a186ab209 sp 00007ffe60221e80 error 4 in libgdk-x11-2.0.so.0.2400.31[7f4a1863a000+af000]
https://bugs.funtoo.org/browse/FL-3349 https://bugs.freedesktop.org/show_bug.cgi?id=98204 https://bugzilla.gnome.org/show_bug.cgi?id=772794 https://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=c5872e2ab9b775071b067a1a23a964a94553741c
https://git.gnome.org/browse/gtk+/patch/?d=c5872e2ab9b775071b067a1a23a964a94553741c patch
We'll look at the bugs but the patch you point to looks like automake fixes so I doubt it is the correct one :)
https://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=c5872e2ab9b775071b067a1a23a964a94553741c does not look as automake fixes
This is not necessary with libXi-1.7.8+, with libXi 1.7.7 being the only one that diverged from previous behavior. So we'll get the extra safeguards in gtk+:2 whenever a new release is cut, but with libXi having made it not break, we don't need to backport.