Easystroke not start in Ubuntu 9.10

Bug #474488 reported by Stepan Martiyanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GlobalMenu Project
Unknown
Unknown
easystroke (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Karmic by Stepan Martiyanov
gtkmm2.4 (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Karmic by Stepan Martiyanov

Bug Description

Binary package hint: easystroke

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

2)The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.

$ apt-cache policy easystroke
easystroke:
  Installed: 0.4.9-0ubuntu1
  Candidate: 0.4.9-0ubuntu1
  Version table:
 *** 0.4.9-0ubuntu1 0
        500 http://yum.fireground.ru karmic/universe Packages
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

3) Easystroke should start.
4) Easystroke not start. Logs are here

$ easystroke
Error: An XInput grab failed
Error: An XInput grab failed
Error: An XInput grab failed
Error: An XInput grab failed

GLib-GObject-ERROR **: Attempt to add property GtkMenuBar::local to class after it was derived
aborting...
Aborted

Tom Jaeger (thjaeger)
Changed in easystroke (Ubuntu):
status: New → Invalid
Revision history for this message
Tom Jaeger (thjaeger) wrote :

Googling reveals that this is a general problem with gtkmm applications (such as easystroke and gnome-system-monitor) that somehow depends on the theme used:

http://ubuntuforums.org/showthread.php?t=1289649

This is probably not a gtkmm bug either, but I've assigned it to gtkmm so that the gtkmm maintainer can investigate the problem.

Revision history for this message
Murray Cumming (murrayc) wrote :

Adding properties to GObject types does not seem like something that a theme should be doing. It doesn't seem like a problem in gtkmm. gtkmm derives GObject types but so could any application.

I suspect that the crash is actually because the theme code doesn't check for the error, but I'm not interested in looking at its code. What theme is this?

Revision history for this message
Stepan Martiyanov (symsym) wrote :

New wave theme.

Revision history for this message
Stepan Martiyanov (symsym) wrote :

Same error appears in Human theme.

Revision history for this message
Murray Cumming (murrayc) wrote :

symsysm,
> Same error appears in Human theme.

With any application or just easystroke? Does it cause a crash (abort) with the Human theme?

Revision history for this message
Stepan Martiyanov (symsym) wrote :

Easystroke not start only. I've tested with "New wave" theme and got same error.

Revision history for this message
Murray Cumming (murrayc) wrote :

So I guess this is just a bug in easystroke itself rather than any general theme or gtkmm problem. A backtrace from gdb, maybe with "break g_log" might provide a clue.

Changed in gtkmm2.4 (Ubuntu):
status: New → Invalid
Revision history for this message
Stepan Martiyanov (symsym) wrote :

$ gdb easystroke
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/easystroke...(no debugging symbols found)...done.

Revision history for this message
Stepan Martiyanov (symsym) wrote :

$ gdb easystroke
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/easystroke...(no debugging symbols found)...done.
(gdb) b g_log
Breakpoint 1 at 0x805f9bc
(gdb) i b
Num Type Disp Enb Address What
1 breakpoint keep y 0x0805f9bc <g_log@plt>

Revision history for this message
Tom Jaeger (thjaeger) wrote : Re: [Bug 474488] Re: Easystroke not start in Ubuntu 9.10

symsym wrote:
> Easystroke not start only. I've tested with "New wave" theme and got
> same error.
>
Have you tried a different gtkmm application, such as gnome-system-monitor?

Revision history for this message
Stepan Martiyanov (symsym) wrote :

$ gnome-system-monitor

** (gnome-system-monitor:2467): WARNING **: SELinux was found but is not enabled.

GLib-GObject-ERROR **: Attempt to add property GtkMenuBar::local to class after it was derived
aborting...
Aborted

Revision history for this message
Stepan Martiyanov (symsym) wrote :

I'm not sure that problem in it, but when I removed gnome-globalmenu then easystroke and gnome-system-monitor are perfectly executed.

Changed in easystroke (Ubuntu):
status: Invalid → Confirmed
Tom Jaeger (thjaeger)
Changed in easystroke (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Tom Jaeger (thjaeger) wrote :

Why do people want their linux desktop to look like Mac OS? Disgusting.

In any case, this is not a bug in any package shipping with ubuntu.

Changed in gnome2-globalmenu:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Stepan Martiyanov (symsym) wrote :

Just because it's convenient. I like the minimalism, GlobalMenu saves space on my desktop, and I do not want to see same menus in the windows. Let it be somewhere.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.