Bug#307975: gksu: Segfaults after password has been entered (correctly or incorrectly)

Julian Mehnle Julian Mehnle <julian@mehnle.net>, 307975@bugs.debian.org
Sat, 07 May 2005 01:08:21 +0200


Package: gksu
Version: 1.2.5-1
Severity: important

I recently installed synaptic, whose menu entry uses the command-line
`gksu -u root /usr/sbin/synaptic` to start synaptic with root
privileges.

Unfortunately, this does not work.  After the password has been entered
(correctly or incorrectly), gksu crashes with a segmentation fault.

I tried the following variants:

  $ gksu -u root /usr/sbin/synaptic
  Segmentation fault
  $ gksu -g -u root /usr/sbin/synaptic
  Segmentation fault
  $ gksu echo foo
  Segmentation fault
  $ gksu id
  Segmentation fault

If I start synaptic from a terminal using `sudo`, it works fine, so the
problem seems to be with gksu.

gksudo seems to work, though:

  $ gksudo id
  uid=0(root) gid=0(root) groups=0(root)

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gksu depends on:
ii  libatk1.0-0                 1.8.0-4      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libgksu1.2-0                1.2.6-1      library providing su and sudo func
ii  libgksuui1.0-0              1.0.4-1      a graphical fronted to su library
ii  libglib2.0-0                2.6.4-1      The GLib library of C routines
ii  libgtk2.0-0                 2.6.4-1      The GTK+ graphical user interface 
ii  libpango1.0-0               1.8.1-1      Layout and rendering of internatio
ii  sudo                        1.6.8p7-1.1  Provide limited super user privile

-- no debconf information