Bug#365630: segfault in gdmgreeter and gdmlogin

Emmanuel Fuste emmanuel.fuste at laposte.net
Mon May 1 16:17:13 UTC 2006


Package: gdm
Version: 2.14.4-1
Severity: critical
Justification: breaks unrelated software

Since the X11R7 transition, gdm fail to start, xserver start is killed
restart etc.. in an endless loop.
The latest gdm (2.14.4-1) reach unstable, but the problem is the same.
gdm is very hard to debug, enabling the debug flag in the default gdm
config file show nothing more than gdmgreeter (or gdmlogin, I tried the
two) exiting for no real reason after getting all the conf keys from the
main gdm process.
I tried to strace gdm with "strace -o/tmp/trace -ff -vv /usr/sbin/gdm"
This is the end of the file corresponding to gdmgreeter:

read(4, 0xbf8c4000, 32)            = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, "\1\0\34\0\0\0\0\0\1\0\0\0\4\0\0\0\30\1\0\0\0\0\0\0\354"..., 32) = 32
write(3, "+\0\1\0", 4)                          = 4
read(3, 0xbf8c40c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\0v\1\0\0\0\0\1\0\0\0\4\0\0\0\30\1\0\0\375\377\377\377"..., 32) = 32
write(4, "+\0\1\0", 4)                          = 4
read(4, 0xbf8c40e0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, "\1\0\35\0\0\0\0\0\1\0\0\0\4\0\0\0\30\1\0\0\0\0\0\0\354"..., 32) = 32
write(4, "$\0\1\0\f\0\4\0G\0@\0@\0@\0\0\0\0\0%\0\1\0+\0\1\0", 28) = 28
read(4, 0xbf8c3fd0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, "\1\0!\0\0\0\0\0\1\0\0\0\4\0\0\0\0\0\0\0X\223\316\277\354"..., 32) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

fd 4 is the unix domain socket of the X server :
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sysname="Linux", nodename="rafale", release="2.6.16", version="#1 SMP Tue Mar 28 14:37:11 CEST 2006", machine="i586"}) = 0
uname({sysname="Linux", nodename="rafale", release="2.6.16", version="#1 SMP Tue Mar 28 14:37:11 CEST 2006", machine="i586"}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sysname="Linux", nodename="rafale", release="2.6.16", version="#1 SMP Tue Mar 28 14:37:11 CEST 2006", machine="i586"}) = 0

So, sice X11R7, gdmgreeter/gdmlogin segfault after having read back
somme data from the X server.
(I've go the same segfault with the previous debian gdm package).

Emmanuel.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gdm depends on:
ii  adduser                    3.87          Add and remove users and groups
ii  debconf [debconf-2.0]      1.5.0         Debian configuration management sy
ii  fvwm [x-window-manager]    1:2.5.16-2    F(?) Virtual Window Manager, versi
ii  gksu                       1.3.7-1       graphical frontend to su
ii  gnome-session              2.14.0-2      The GNOME 2 Session Manager
ii  gnome-terminal [x-terminal 2.14.1-1      The GNOME 2 terminal emulator appl
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.11.4-1      The ATK accessibility toolkit
ii  libattr1                   2.4.32-1      Extended attribute shared library
ii  libc6                      2.3.6-7       GNU C Library: Shared libraries
ii  libcairo2                  1.0.4-2       The Cairo 2D vector graphics libra
ii  libdmx1                    1:1.0.1-3     X11 Distributed Multihead extensio
ii  libfontconfig1             2.3.2-5.1     generic font configuration library
ii  libglade2-0                1:2.5.1-2     library to load .glade files at ru
ii  libglib2.0-0               2.10.2-2      The GLib library of C routines
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgtk2.0-0                2.8.17-2      The GTK+ graphical user interface 
ii  libpam-modules             0.79-3.1      Pluggable Authentication Modules f
ii  libpam-runtime             0.79-3.1      Runtime support for the PAM librar
ii  libpam0g                   0.79-3.1      Pluggable Authentication Modules l
ii  libpango1.0-0              1.12.1-2      Layout and rendering of internatio
ii  libpopt0                   1.7-5         lib for parsing cmdline parameters
ii  librsvg2-2                 2.14.3-2      SAX-based renderer library for SVG
ii  librsvg2-common            2.14.3-2      SAX-based renderer library for SVG
ii  libselinux1                1.30-1        SELinux shared libraries
ii  libwrap0                   7.6.dbs-9     Wietse Venema's TCP wrappers libra
ii  libx11-6                   2:1.0.0-6     X11 client-side library
ii  libxau6                    1:1.0.0-3     X11 authorisation library
ii  libxcursor1                1.1.5.2-5     X cursor management library
ii  libxdmcp6                  1:1.0.0-4     X11 Display Manager Control Protoc
ii  libxext6                   1:1.0.0-4     X11 miscellaneous extension librar
ii  libxfixes3                 1:3.0.1.2-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.0-5     X11 Input extension library
ii  libxinerama1               1:1.0.1-4     X11 Xinerama extension library
ii  libxml2                    2.6.24.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender1                1:0.9.0.2-4   X Rendering Extension client libra
ii  lsb-base                   3.1-5         Linux Standard Base 3.1 init scrip
ii  metacity [x-window-manager 1:2.14.1-1    A lightweight GTK2 based Window Ma
ii  xbase-clients              1:7.0.0-5     miscellaneous X clients
ii  xterm [x-terminal-emulator 210-3         X terminal emulator
ii  zlib1g                     1:1.2.3-11    compression library - runtime

Versions of packages gdm recommends:
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  gdm-themes                0.5            Themes for the GNOME Display Manag
ii  whiptail                  0.52.2-4       Displays user-friendly dialog boxe
ii  zenity                    2.14.1-1       Display graphical dialog boxes fro

-- debconf information excluded





More information about the Pkg-gnome-maintainers mailing list