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 689036 - Crash when changing luminosity
Crash when changing luminosity
Status: RESOLVED NOTGNOME
Product: gnome-settings-daemon
Classification: Core
Component: general
3.7.x
Other Linux
: High critical
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-25 18:03 UTC by Julien Olivier
Modified: 2012-11-30 09:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Olivier 2012-11-25 18:03:22 UTC
When I press the "dim light" key, I get the following error message, and crash:

(gnome-settings-daemon:6256): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GsdMediaKeysManager'
Segmentation fault (core dumped)
Comment 1 Bastien Nocera 2012-11-25 21:09:54 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Julien Olivier 2012-11-26 11:03:28 UTC
Here is the trace:

  • #0 ??
    from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
  • #1 ??
    from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
  • #2 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #3 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #4 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #5 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #6 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #7 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #8 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #10 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib/i386-linux-gnu/libgtk-3.so.0
  • #13 main

Comment 3 Bastien Nocera 2012-11-26 11:14:04 UTC
The same one with debugging symbols, please?
Comment 4 Julien Olivier 2012-11-26 11:38:35 UTC
(In reply to comment #3)
> The same one with debugging symbols, please?

Is it any better?

  • #0 dialog_init
    at gsd-media-keys-manager.c line 472
  • #1 update_screen_cb
    at gsd-media-keys-manager.c line 1846
  • #2 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #3 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #4 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #5 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #6 g_simple_async_result_complete
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #7 ??
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #8 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #10 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib/i386-linux-gnu/libgtk-3.so.0
  • #13 main
    at main.c line 544

Comment 5 Julien Olivier 2012-11-29 18:35:00 UTC
It's been fixed in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1082856
Comment 6 Bastien Nocera 2012-11-29 22:28:43 UTC
Did you get this backtrace on an Ubuntu system?
Comment 7 Julien Olivier 2012-11-30 08:28:39 UTC
(In reply to comment #6)
> Did you get this backtrace on an Ubuntu system?

Yes, on Ubuntu Quantal, but with GNOME packages from the "GNOME3 Team" PPA (https://launchpad.net/~gnome3-team/+archive/gnome3).
Comment 8 Julien Olivier 2012-11-30 08:29:59 UTC
... I forgot to say that I had to rebuild the src package from the PPA to add debugging symbols.
Comment 9 Bastien Nocera 2012-11-30 09:01:03 UTC
The code that crashed has been very heavily customised (500 line patch) by Ubuntu and bears no resemblance to the code in GNOME. In other words, it's a bug in Ubuntu's patch.