[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738569: gpointing-device-settings: Segfaults at startup, cannot get it to work



On Mon, Feb 10, 2014 at 12:18 -0600, Gunnar Wolf wrote:
> All the output I get from running this is:
> 
>     $ gpointing-device-settings 
>     Segmentation fault

Valgrind reports several functions accessing memory that's already
been free'd by gpds_xinput_utils_get_device_info(), and that
function does look buggy:

XDeviceInfo *
gpds_xinput_utils_get_device_info (const gchar *device_name, GError **error)
{
  ...
        if (!strcmp(device_infos[i].name, device_name)) {
            XFreeDeviceList(device_infos);
            return &device_infos[i];
        }
  ...

It works without segfaulting for me, but I think that's down to
chance, and possibly that I have only one pointing device
connected.


I'm wondering if this package should simply be dropped, and will
create another bug to discuss that.

Steve


Reply to: