media-keys plugin crashes settings-daemon on unkown key

Bug #190003 reported by James Westby
4
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-settings-daemon

Hi,

I am running gutsy on a Dell 6400n. When I hit Fn+F8,
marked as CRT/LCD, then gnome-settings-daemon crashes with
the message

** ERROR:(gsd-media-keys-manager.c:911):do_action: code should not be reached
[1202410522,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application

This is because the media keys plugin decides that it
should handle this keypress, and then changes its mind
and decides it doesn't know what to do with it.

The key is seen by the plugin as

$35 = {type = 3, serial = 6016, send_event = 0, display = 0x80633f0,
  window = 89, root = 89, subwindow = 20977688, time = 3527431, x = 878,
  y = 630, x_root = 878, y_root = 630, state = 0, keycode = 214,
  same_screen = 1}

It appears as though keys[8] matches this keycode, and that
is CALCULATOR_KEY, which is handled in the switch, so
I don't know what the problem is.

Note that gdb wont let me access keys[5] or keys[6], so they
may match first.

gconf-editor tells me that this key is bound to 0xa1.

Please let me know if I can provide any more information.

Thanks,

James

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. Are you sure you are using the ubuntu version? The source mentionned there is one from the new gnome-settings-daemon which is only used in hardy.

Changed in gnome-settings-daemon:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Benjamin Redelings (benjamin-redelings) wrote :

I get this problem in hardy, not gutsy. Solution is to remove the assertion that unknown media key events never happen.

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 190003] Re: media-keys plugin crashes settings-daemon on unkown key

On Mon, 2008-02-11 at 17:01 +0000, Sebastien Bacher wrote:
> Thank you for your bug. Are you sure you are using the ubuntu version?
> The source mentionned there is one from the new gnome-settings-daemon
> which is only used in hardy.

Sorry, I am running hardy. I don't know why I typed gutsy
originally.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Hi,

It also seems to kill g-s-d when I close my laptop lid,
which I believe may be related, though harder for me
to debug.

Is there any more information you would like me to
provide to get this bug moved out of the Incomplete
status?

Thanks,

James

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed in hardy now

Changed in gnome-settings-daemon:
status: Incomplete → Fix Released
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.