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 698177 - Login history: g_array_free: assertion `array' failed
Login history: g_array_free: assertion `array' failed
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: User Accounts
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-17 06:59 UTC by Stef Walter
Modified: 2013-04-17 08:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
user-accounts: Fix assertion from freeing NULL array (1.20 KB, patch)
2013-04-17 07:43 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-04-17 06:59:22 UTC
I get this critical when showing login history for a user that has never logged in (in this case also an enterprise login):

(gnome-control-center:21901): GLib-CRITICAL **: g_array_free: assertion `array' failed

  • #0 g_logv
    at gmessages.c line 981
  • #1 g_log
    at gmessages.c line 1010
  • #2 g_return_if_fail_warning
    at gmessages.c line 1019
  • #3 g_array_free
    at garray.c line 343
  • #4 set_sensitivity
    at um-history-dialog.c line 176
  • #5 show_week
    at um-history-dialog.c line 213
  • #6 um_history_dialog_show
    at um-history-dialog.c line 320
  • #7 show_history
    at um-user-panel.c line 874
  • #8 _g_closure_invoke_va
    at gclosure.c line 840
  • #9 g_signal_emit_valist
    at gsignal.c line 3234
  • #10 g_signal_emit
    at gsignal.c line 3384
  • #11 gtk_real_button_released
    at gtkbutton.c line 1967
  • #12 g_closure_invoke
    at gclosure.c line 777
  • #13 signal_emit_unlocked_R
    at gsignal.c line 3514
  • #14 g_signal_emit_valist
    at gsignal.c line 3328
  • #15 g_signal_emit
    at gsignal.c line 3384
  • #16 gtk_button_button_release
    at gtkbutton.c line 1802
  • #17 _gtk_marshal_BOOLEAN__BOXEDv
    at gtkmarshalers.c line 130
  • #18 _g_closure_invoke_va
    at gclosure.c line 840
  • #19 g_signal_emit_valist
    at gsignal.c line 3234
  • #20 g_signal_emit
    at gsignal.c line 3384
  • #21 gtk_widget_event_internal
    at gtkwidget.c line 6714
  • #22 gtk_widget_event
    at gtkwidget.c line 6371
  • #23 propagate_event_up
    at gtkmain.c line 2393
  • #24 propagate_event
    at gtkmain.c line 2501
  • #25 gtk_main_do_event
    at gtkmain.c line 1716
  • #26 gdk_event_source_dispatch
    at gdkeventsource.c line 364
  • #27 g_main_dispatch
    at gmain.c line 3054
  • #28 g_main_context_dispatch
    at gmain.c line 3630
  • #29 g_main_context_iterate
    at gmain.c line 3701
  • #30 g_main_context_iteration
    at gmain.c line 3762
  • #31 g_application_run
    at gapplication.c line 1623
  • #32 main
    at main.c line 52

Comment 1 Stef Walter 2013-04-17 07:00:39 UTC
This is gnome-control-center 3.8.0-3 in Fedora 19
Comment 2 Stef Walter 2013-04-17 07:43:33 UTC
Created attachment 241714 [details] [review]
user-accounts: Fix assertion from freeing NULL array
Comment 3 Stef Walter 2013-04-17 07:43:57 UTC
Patch tested on gnome-3-8
Comment 4 Bastien Nocera 2013-04-17 07:50:11 UTC
Review of attachment 241714 [details] [review]:

Looks good to commit to master and gnome-3-8
Comment 5 Stef Walter 2013-04-17 08:03:14 UTC
Attachment 241714 [details] pushed as 264c2fc - user-accounts: Fix assertion from freeing NULL array

Also pushed to gnome-3-8 branch