Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36153 - [gpointing-device-settings] Segfault on launch

Attached to Project: Community Packages
Opened by Gabriel Peixoto (gabrielrcp) - Sunday, 14 July 2013, 23:36 GMT
Last edited by Balló György (City-busz) - Tuesday, 17 December 2013, 14:13 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The binary segfault on launch. I tried to recompile-it from the ABS but it also failed with an error on automake.

Additional info:
* package version: 1.5.1-4
This task depends upon

Closed by  Balló György (City-busz)
Tuesday, 17 December 2013, 14:13 GMT
Reason for closing:  Upstream
Comment by Sergej Pupykin (sergej) - Wednesday, 17 July 2013, 09:41 GMT
cannot reproduce segfault
Comment by Gabriel Peixoto (gabrielrcp) - Thursday, 18 July 2013, 00:37 GMT
I just tried on another computer (both are fully updated arch) and it worked there. I don't know if this is useful, but below is the output of gdb:

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gpointing-device-settings...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/gpointing-device-settings
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6bb02ca in __strcmp_ssse3 () from /usr/lib/libc.so.6
(gdb)
Comment by Alexander F. Rødseth (xyproto) - Monday, 14 October 2013, 17:15 GMT
Hi, thanks for reporting this bug. Here is a guide for getting even better debug output, that may be helpful: https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide
Comment by Gabriel Peixoto (gabrielrcp) - Monday, 14 October 2013, 17:30 GMT
I could not compile the package with !strip, because the PKGBUILD on ABS does not compile (now it even has missing sources, but I found another one)

But the full backtrace of the stripped binary is bellow:

$ gdb gpointing-device-settings
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gpointing-device-settings...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/gpointing-device-settings
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6baafa4 in __strcmp_ssse3 () from /usr/lib/libc.so.6
(gdb) bt full
#0 0x00007ffff6baafa4 in __strcmp_ssse3 () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff7bd9746 in gpds_xinput_utils_get_device_info () from /usr/lib/libgpds.so.0
No symbol table info available.
#2 0x00007ffff7bd991b in gpds_xinput_utils_exist_device () from /usr/lib/libgpds.so.0
No symbol table info available.
#3 0x00007ffff7bd771c in ?? () from /usr/lib/libgpds.so.0
No symbol table info available.
#4 0x00007fffeb540cd6 in ?? () from /usr/lib/gpointing-device-settings/module/mouse.so
No symbol table info available.
#5 0x0000000000401c97 in ?? ()
No symbol table info available.
#6 0x00007ffff6aa6bc5 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#7 0x0000000000401d25 in ?? ()
No symbol table info available.
(gdb)
Comment by Alexander F. Rødseth (xyproto) - Monday, 14 October 2013, 19:52 GMT
Thanks, much better. Now one can see where the problem is located in terms of libraries as well.

Apparently, the problem appears in the gpds_xinput_utils_get_device_info() function in /usr/lib/libgpds.so.0.

However, without further information, it's hard to pinpoint exactly where in the code things go wrong.

I would recommend reporting this upstream, to the gpointing-device-settings developers. It's possible that this is a known problem that someone else has reported, in which case you will get more information about the problem that occurs on your computer too. If you do, please post a link to the bug report here.

Does the problem go away if you unplug your mouse (or other input devices) and plug in a different mouse?
Comment by Balló György (City-busz) - Tuesday, 17 December 2013, 14:13 GMT
It's an upstream bug, so please report this problem to the upstream developers:
https://bugzilla.gnome.org/enter_bug.cgi?product=GPointingDeviceSettings

Loading...