Bug#428050: unfinite loop inside xdm
Package: xdm
Version: 1:1.0.5-2
Severity: important
After a few days of normal work xdm hangs and doesn't respond to the remote
xdmcp queries anymore. It wastes CPU and does nothing.
I strace it, look below.
cheusov@syn-proc:~$ sudo strace -p 4319 2>&1 | head
Process 4319 attached - interrupt to quit
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
read(5, "", 4096) = 0
cheusov@syn-proc:~$
I used 'head' here because the list of read calls is unfinite.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages xdm depends on:
ii cpp 4:4.1.1-15 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libselinux1 1.32-3 SELinux shared libraries
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxau6 1:1.0.1-2 X11 authorisation library
ii libxaw7 1:1.0.2-4 X11 Athena Widget library
ii libxdmcp6 1:1.0.1-2 X11 Display Manager Control Protoc
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii libxpm4 1:3.5.5-2 X11 pixmap library
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii x11-common 1:7.1.0-16 X Window System (X.Org) infrastruc
ii xbase-clients 1:7.1.ds1-2 miscellaneous X clients
xdm recommends no packages.
-- debconf information:
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/X11/xdm
* shared/default-x-display-manager: xdm
Reply to: