users-admin crashed with SIGSEGV in strlen()

Bug #175430 reported by Óscar Rodríguez Ríos
50
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GST
Fix Released
Critical
gnome-system-tools (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-system-tools

Hardy fresh install from CD. I'm trying to add a user and get this error.

ProblemType: Crash
Architecture: i386
Date: Tue Dec 11 01:40:18 2007
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/users-admin
NonfreeKernelModules: ath_hal
Package: gnome-system-tools 2.21.2.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: users-admin
ProcCwd: /home/neuromancer
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=C
 SHELL=/bin/bash
Signal: 11
SourcePackage: gnome-system-tools
Stacktrace:
 #0 0xb75b7fb3 in strlen () from /lib/tls/i686/cmov/libc.so.6
 #1 0xb78fd106 in ?? () from /usr/lib/libdbus-1.so.3
 #2 0x00000000 in ?? ()
StacktraceTop:
 strlen () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /usr/lib/libdbus-1.so.3
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 12160):
 #0 0xb75b7fb3 in strlen () from /lib/tls/i686/cmov/libc.so.6
 #1 0xb78fd106 in ?? () from /usr/lib/libdbus-1.so.3
 #2 0x00000000 in ?? ()
Title: users-admin crashed with SIGSEGV in strlen()
Uname: Linux pradio 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Revision history for this message
Óscar Rodríguez Ríos (ingorr01) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strlen () from /lib/tls/i686/cmov/libc.so.6
?? () from /usr/lib/libdbus-1.so.3
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-system-tools:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Flávio Etrusco (etrusco) wrote :

The only problem is the dbgsyms don't seem to be available for Hardy...

For me this bug is reproducible 100% of time and I haven't changed absolutely anything from authentication, users and group settings or whatever.
I just try to create a user for which the only information is account name and password and after clicking 'Ok' it takes a second or two then crashes. (I tried filling up all fields to no avail)
Before updating to Hardy (IOW with Gutsy) I could create users just fine. (But) During the Gutsy development the users-admin app had this exact same problem/symptoms.
Creating a user with 'adduser' still works fine.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

I can confirm this on a fresh (and updated) Hardy install.

Changed in gnome-system-tools:
status: Incomplete → Confirmed
Revision history for this message
Albert Damen (albrt) wrote :

I also ran into this bug. Running users-admin from the system menu fails silently, but running it from a terminal shows the segfault.
Attached is a gdb backtrace with symbols.
Note the error messages:

process 18508: arguments to dbus_pending_call_unref() were incorrect, assertion "pending != NULL" failed in file dbus-pending-call.c line 563.
This is normally a bug in some application using the D-Bus library.

(users-admin:18508): Liboobs-CRITICAL **: create_dbus_struct_from_user: assertion `(login && password && homedir && shell)' failed

(users-admin:18508): Liboobs-CRITICAL **: Not committing due to inconsistencies in the configuration, this reflects a bug in the application

Revision history for this message
Dean Loros (autocrosser) wrote :

I can also create this bug--fresh install Hardy Alpha 2. Tried to create a new Admin user & this is redult:

autocrosser@linux:~$ users-admin

(users-admin:6255): Liboobs-CRITICAL **: create_dbus_struct_from_user: assertion `(login && password && homedir && shell)' failed

(users-admin:6255): Liboobs-CRITICAL **: Not committing due to inconsistencies in the configuration, this reflects a bug in the application

Segmentation fault

Revision history for this message
Pedro Villavicencio (pedro) wrote :

I was able to reproduce this with trunk I've filled the bug upstream at http://bugzilla.gnome.org/show_bug.cgi?id=505115 , thanks!.

Changed in gnome-system-tools:
status: Confirmed → Triaged
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Fixed upstream, thanks.

Changed in gnome-system-tools:
status: Triaged → Fix Committed
Changed in gst:
status: Unknown → Fix Released
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Fixed in 2.21.5.1-0ubuntu1

Changed in gnome-system-tools:
status: Fix Committed → Fix Released
Changed in gst:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.