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 524680 - users-admin crashed with SIGSEGV in strcmp()
users-admin crashed with SIGSEGV in strcmp()
Status: RESOLVED INCOMPLETE
Product: gnome-system-tools
Classification: Deprecated
Component: users-admin
2.22.x
Other Linux
: Normal critical
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2008-03-27 17:33 UTC by Pedro Villavicencio
Modified: 2010-01-30 23:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Pedro Villavicencio 2008-03-27 17:33:13 UTC
this bug has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/207804

"AMD64 Hardy Beta
Description: Ubuntu hardy (development branch)
Release: 8.04
gnome-system-tools:
  Installed: 2.22.0-0ubuntu3

Used 'System -> Administration -> Users and groups' to try add a new user and a new group. The tool crashed on first use. It did not crash on later uses, but silently failed to add users or groups.

First use sequence:
start users-admin
manage-groups
close #manage groups
unlock, and authenticate
manage-groups
# added new group
add user # crashed

Second use sequence:
start users-admin
unlock, and authenticate
add user, and added user with all required info, but did not find previous group
closed users-admin
sudo -s # and went to /etc to check passwd, group etc, but found no trace of new user or group"

".

Thread 1 (process 29148)

  • #0 strcmp
    from /lib/libc.so.6
  • #1 privileges_table_set_from_profile
    at privileges-table.c line 238
  • #2 table_set_default_profile
    at table.c line 163
  • #3 user_settings_dialog_new
    at user-settings.c line 395
  • #4 on_user_new_clicked
    at callbacks.c line 274
  • #5 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.1/gobject/gclosure.c line 490
  • #6 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2440
  • #7 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2199
  • #8 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2243
  • #9 gtk_real_button_released
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkbutton.c line 1484
  • #10 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.1/gobject/gclosure.c line 490
  • #11 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2370
  • #12 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2199
  • #13 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2243
  • #14 gtk_button_button_release
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkbutton.c line 1377
  • #15 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmarshalers.c line 84
  • #16 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.16.1/gobject/gclosure.c line 490
  • #17 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2478
  • #18 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2209
  • #19 IA__g_signal_emit
    at /build/buildd/glib2.0-2.16.1/gobject/gsignal.c line 2243
  • #20 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c line 4678
  • #21 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 2336
  • #22 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1556
  • #23 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkevents-x11.c line 2351
  • #24 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2003
  • #25 g_main_context_iterate
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2636
  • #26 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2844
  • #27 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1163
  • #28 main
    at main.c line 111
  • #29 __libc_start_main
    from /lib/libc.so.6
  • #30 _start

Comment 1 Oxmosys 2008-04-11 22:36:06 UTC
How to reproduce the crash :

1. open it
2. unlock
3. "manage groups"
4. add a group (which will be an noname-one)
5. quit "manage groups"
6. "add user"
Comment 2 Milan Bouchet-Valat 2009-12-13 21:00:02 UTC
Are you still able to reproduce this problem? The trace looks strange to me, because in privileges_table_set_from_profile() there's no call to strcmp(). I guess that's a bug with Apport, but without more information I can't do much - and the source has changed since you reported the bug.
Comment 3 Tobias Mueller 2010-01-30 23:20:41 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!