After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670461 - hits g_assert (device->priv->styli) when my Wacom Bamboo 2FG 4x5 is plugged in
hits g_assert (device->priv->styli) when my Wacom Bamboo 2FG 4x5 is plugged in
Status: RESOLVED DUPLICATE of bug 672917
Product: gnome-settings-daemon
Classification: Core
Component: wacom
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 670598 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-20 16:37 UTC by Sebastien Bacher
Modified: 2012-06-08 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2012-02-20 16:37:08 UTC
The bug has been reported on https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/934445

Using gnome-settings-daemon 3.3.5:

"$ gnome-settings-daemon

color-plugin-WARNING **: failed to get edid: unable to get EDID for output
[1329507333,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application

** WARNING **: Tablet 'usb:056a:0015' has no buttons defined, do something!

** WARNING **: Tablet 'usb:056a:0014' has no buttons defined, do something!

** WARNING **: Tablet 'usb:056a:0013' has no buttons defined, do something!

wacom-plugin-WARNING **: Failed to create fallback wacom device for '/dev/input/event5': Device '/dev/input/event5' is not a tablet (2)

wacom-plugin-WARNING **: Could not set the current stylus ID 0x0 for tablet 'Wacom Bamboo Pen & Touch', no general pen found
**
wacom-plugin:ERROR:gsd-wacom-device.c:1321:gsd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)
Aborted (core dumped)"

"#0  0x00007f5af97ea475 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = 0
        pid = <optimized out>
        selftid = 2410
  • #1 __GI_abort
    at abort.c line 91
  • #2 g_assertion_message
  • #3 g_assertion_message_expr
    at /build/buildd/glib2.0-2.31.16/./glib/gtestutils.c line 1871
  • #4 gsd_wacom_device_set_current_stylus
    at gsd-wacom-device.c line 1321
  • #5 setup_property_notify
    at gsd-wacom-device.c line 398
  • #6 gsd_wacom_device_constructor
    at gsd-wacom-device.c line 1072
  • #7 g_object_newv
    at /build/buildd/glib2.0-2.31.16/./gobject/gobject.c line 1703
  • #8 g_object_new_valist
    at /build/buildd/glib2.0-2.31.16/./gobject/gobject.c line 1820
  • #9 g_object_new
    at /build/buildd/glib2.0-2.31.16/./gobject/gobject.c line 1535
  • #10 gsd_wacom_device_new
    at gsd-wacom-device.c line 1194
  • #11 device_added_cb
    at gsd-wacom-manager.c line 492
  • #12 gsd_wacom_manager_idle_cb
    at gsd-wacom-manager.c line 572
  • #13 g_main_dispatch
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 2510
  • #14 g_main_context_dispatch
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3047
  • #15 g_main_context_iterate
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3118
  • #16 g_main_context_iterate
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3055
  • #17 g_main_loop_run
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3312
  • #18 gtk_main
    at /build/buildd/gtk+3.0-3.3.14/./gtk/gtkmain.c line 1167

"xinput log:

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Wacom Bamboo 2FG 4x5 Pen stylus         	id=10	[slave  pointer  (2)]
⎜   ↳ Wacom Bamboo 2FG 4x5 Finger touch       	id=11	[slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:1024	id=12	[slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:2011	id=13	[slave  pointer  (2)]
⎜   ↳ Wacom Bamboo 2FG 4x5 Pen eraser         	id=14	[slave  pointer  (2)]
⎜   ↳ Wacom Bamboo 2FG 4x5 Finger pad         	id=15	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=7	[slave  keyboard (3)]
    ↳ Logitech Logitech Wireless Headset      	id=8	[slave  keyboard (3)]
    ↳ Microsoft® LifeCam Cinema(TM)          	id=9	[slave  keyboard (3)]"

lsusb log: https://launchpadlibrarian.net/93395879/lsusb.log
Comment 1 Bastien Nocera 2012-02-22 18:56:32 UTC
*** Bug 670598 has been marked as a duplicate of this bug. ***
Comment 2 Bastien Nocera 2012-02-24 09:58:14 UTC
Please test with libwacom and gnome-settings-daemon master. This patch should fix the problem:
http://linuxwacom.git.sourceforge.net/git/gitweb.cgi?p=linuxwacom/libwacom;a=commitdiff;h=381d3a6bd42fb6236c10c651f807747e5d535927

And some additional patches in gnome-settings-daemon stop the device from being set as absolute.
Comment 3 Sebastien Bacher 2012-03-23 12:39:45 UTC
users report that's still an issue
Comment 4 Sebastien Bacher 2012-03-28 13:45:44 UTC
downstream comment https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/958553

"gnome-settings-daemon 3.4.0 mentions a Wacom-related change, in the news. I tested again with that version, and unfortunately still get the same crash.

Here's what I get if I run g-s-d from the command line:

  ** (gnome-settings-daemon:3720): WARNING **: Tablet 'usb:056a:0015' has no buttons defined, do something!

  ** (gnome-settings-daemon:3720): WARNING **: Tablet 'usb:056a:0014' has no buttons defined, do something!

  ** (gnome-settings-daemon:3720): WARNING **: Tablet 'usb:056a:0013' has no buttons defined, do something!

  (gnome-settings-daemon:3720): wacom-plugin-WARNING **: Could not set the current stylus ID 0x0 for tablet 'Wacom Bamboo Pen & Touch', no general pen found
  **

  wacom-plugin:ERROR:gsd-wacom-device.c:1491:gsd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)"
Comment 5 Olivier Fourdan 2012-03-29 09:29:40 UTC
Looks like the same as bug 672917
Comment 6 Bastien Nocera 2012-06-08 10:45:59 UTC

*** This bug has been marked as a duplicate of bug 672917 ***