Errors on console when unlocking screen

Bug #22029 reported by Ross Burton
8
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Fix Released
Medium
Oliver Grawert

Bug Description

If you run gnome-screensaver in a terminal, when the screen locks/unlocks (I
can't tell, obviously) this error is printed:

(gnome-screensaver:3799): GLib-GObject-CRITICAL **: g_value_get_flags: assertion
`G_VALUE_HOLDS_FLAGS (value)' failed

Revision history for this message
Oliver Grawert (ogra) wrote :

hmm, i neither get that in .xsession-errors nor if i run gnome-screensaver from
console...

Revision history for this message
Ross Burton (ross) wrote :

I got a stack trace from gdb, though it's not totally useful as I'm missing
symbols in gnome-screensaver:

Breakpoint 1, 0xb76ebad6 in IA__g_logv (log_domain=0xb77b14dc "GLib-GObject",
    log_level=G_LOG_LEVEL_CRITICAL, format=0xb7712565 "%s: assertion `%s' failed",
    args1=0xbfcd1adc
"7\205{\uffff`\033{\uffff@%q\uffff\n\bh\002\212\uffffn\uffff\220~{\uffff\uffff\035\u037f\030\033\u037f\uffff\uffffx\uffff\uffff\024{\uffff3\205{\uffff`\033{\uffff\uffff\035\u037f\220~{\uffff\202\uffff\004\bH\033\u037f\uffff|y\uffff\uffff\035\u037f\001")
at gmessages.c:395
395 {
(gdb) bt
#0 0xb76ebad6 in IA__g_logv (log_domain=0xb77b14dc "GLib-GObject",
    log_level=G_LOG_LEVEL_CRITICAL, format=0xb7712565 "%s: assertion `%s' failed",
    args1=0xbfcd1adc
"7\205{\uffff`\033{\uffff@%q\uffff\n\bh\002\212\uffffn\uffff\220~{\uffff\uffff\035\u037f\030\033\u037f\uffff\uffffx\uffff\uffff\024{\uffff3\205{\uffff`\033{\uffff\uffff\035\u037f\220~{\uffff\202\uffff\004\bH\033\u037f\uffff|y\uffff\uffff\035\u037f\001")
at gmessages.c:395
#1 0xb76ebf9e in IA__g_log (log_domain=0xb77b14dc "GLib-GObject",
    log_level=G_LOG_LEVEL_CRITICAL, format=0xb7712565 "%s: assertion `%s' failed")
    at gmessages.c:517
#2 0xb76ec0c8 in IA__g_return_if_fail_warning (log_domain=0xb77b14dc
"GLib-GObject",
    pretty_function=0xb77b8537 "g_value_get_flags",
    expression=0xb77b1b60 "G_VALUE_HOLDS_FLAGS (value)") at gmessages.c:532
#3 0xb778aabb in IA__g_value_get_flags (value=0xbfcd1da0) at genums.c:429
#4 0xb7797cd1 in IA__g_cclosure_marshal_BOOLEAN__FLAGS (closure=0x8095258,
    return_value=0xbfcd1f0c, n_param_values=2, param_values=0xbfcd1d8c,
    invocation_hint=0xbfcd1c9c, marshal_data=0x804dd82) at gmarshal.c:710
#5 0xb7789deb in IA__g_closure_invoke (closure=0x8095258, return_value=0xbfcd1f0c,
    n_param_values=2, param_values=0xbfcd1d8c, invocation_hint=0xbfcd1c9c) at
gclosure.c:490
#6 0xb779a8dd in signal_emit_unlocked_R (node=0x8093110, detail=0,
instance=0x8095188,
    emission_return=0xbfcd1f0c, instance_and_params=0xbfcd1d8c) at gsignal.c:2490
#7 0xb779bcd5 in IA__g_signal_emit_valist (instance=0x8095188, signal_id=19,
detail=0,
    var_args=0xbfcd1f90 "\uffff\037\u037f") at gsignal.c:2259
#8 0xb779c2ae in IA__g_signal_emit (instance=0x8095188, signal_id=19, detail=0)
    at gsignal.c:2293
#9 0x0804ecc9 in gs_watcher_set_dpms ()
#10 0x0804f058 in gs_watcher_set_dpms ()
#11 0xb76e4314 in g_timeout_dispatch (source=0x80c0900,
    callback=0x804f035 <gs_watcher_set_dpms+2889>, user_data=0x8095188) at
gmain.c:3293
#12 0xb76e2561 in IA__g_main_context_dispatch (context=0x808ada0) at gmain.c:1934
#13 0xb76e57b7 in g_main_context_iterate (context=0x808ada0, block=1, dispatch=1,
    self=0x808b860) at gmain.c:2565
#14 0xb76e5d08 in IA__g_main_loop_run (loop=0x8095c48) at gmain.c:2769
#15 0xb7de6c49 in IA__gtk_main () at gtkmain.c:976
#16 0x0804dc13 in main ()

Revision history for this message
Ross Burton (ross) wrote :

Forgot to mention this happens when it is about to blank the screen.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm going to upload 0.0.15 - could you test with this one?

Revision history for this message
Ross Burton (ross) wrote :

Can't replicate in latest release, closing.

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.