GNOME Bugzilla – Bug 637656
GPointingDeviceSettings crashes if Watch DevicePresenceNotify event patch is applied
Last modified: 2018-08-17 18:38:50 UTC
Hi. In Gentoo we apply fix for bug 609050 and this caused bug report about crash: https://bugs.gentoo.org/show_bug.cgi?id=345343 Backtrace is the following: Program received signal SIGSEGV, Segmentation fault. 0x00007fffebf65a1a in device_presence_filter (xevent=0x7fffffffd9c0, event=0x830720, data=0x669ba0) at gsd-pointing-device-plugin.c:102 102 gsd-pointing-device-plugin.c: No such file or directory. in gsd-pointing-device-plugin.c
+ Trace 225206
And user suggested following fix: https://bugs.gentoo.org/show_bug.cgi?id=345343#c13 Please, review, and apply if it is correct.
Can you take a look on this please? Thanks
Created attachment 180719 [details] [review] gpointing-device-settings-1.5.1-gsd-crash.patch This is the patch by Alexandre Rostovtsev that looks to fix this problem. On the other hand, Tiziano Muller commented in downstream bug report the following: https://bugs.gentoo.org/show_bug.cgi?id=345343#c15 "Even though the patch works, I'm not sure whether it is the right thing to do. Why don't we get a device_info even though the fact that the device_presence_filter is called indicates that we should have one? Does somebody know whether we have no devices at all (in which case the device_presence_filter should not have been called in the first place) or we just don't get an XExtensionPointer? (which makes me wonder why we don't hit that bug on login)" Then, if you could help us with this, it would be great. Thanks
GPointingDeviceSettings is not under active development anymore and saw its last non-cosmetic code changes in 2010. Its codebase has been archived: https://gitlab.gnome.org/Archive/gpointing-device-settings/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.