Package: xscreensaver Version: 4.24-5 Severity: normal Hi,
I experience a problem when using xscreensaver in recent times to lock my X session: after authentication succeeds or fails (but a non-empty password was entered) xscreensaver crashes with SIGABORT, from the strace I can see the program tries to write a message from libnss-ldap to stderr which is perhaps the real source of the problem: my user database is stored in an openldap server on the local host, which is accessed via nscd on uri ldapi://%2fvar%2frun%2fslapd%2fldapi/ (by real source I mean not the fact that I use ldap per se, but rather that perhaps code in libnss-ldap is broken), unfortunately at that moment, 2 is already no longer stderr but some pipe (see dup earlier in the trace). There are two common errors in programs which as an ldap user I constantly experience: * programs rely on get*ent to not open a file descriptor (and e.g. close stderr before calling getpwent) * libnss-ldap likes to be really verbose but daemons often close stderr, which leads to sometimes really broken files So my two pleas for better programs: * Use syslog if unsure wether stderr is really pointing to something resembling an error output. * Don't rely on getent not opening/using new file-descriptors (at least libnss-ldap keeps a socket to the ldap server open). I hope my (perhaps longer than required) description here and the attached strace are sufficient, if not I can surely produce more verbose output. The strace was produced via strace -t -e write=2 -o /tmp/xscreensaver.log xscreensaver - lock screen - move mouse, enter any string as password - edit password from log gzip -9 /tmp/xscreensaver.log BTW: chmod u+s /usr/bin/xscreensaver makes no difference with respect to the above I'm filing this bug for xscreensaver because it's the only program that's affected on my computer AFAIK. Ciao, Thomas Jahns -- System Information: Debian Release: testing/unstable Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-mercury Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages xscreensaver depends on: ii libatk1.0-0 1.12.1-1 The ATK accessibility toolkit ii libc6 2.3.6-18 GNU C Library: Shared libraries ii libcairo2 1.2.0-5 The Cairo 2D vector graphics libra ii libfontconfig1 2.3.2-7 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.3-3 The GLib library of C routines ii libgtk2.0-0 2.8.18-7 The GTK+ graphical user interface ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libpam0g 0.79-3.1 Pluggable Authentication Modules l ii libpango1.0-0 1.12.3-1+b1 Layout and rendering of internatio ii libsm6 1:1.0.0-4 X11 Session Management library ii libx11-6 2:1.0.0-8 X11 client-side library ii libxcursor1 1.1.5.2-5 X cursor management library 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.26.dfsg-3 GNOME XML library ii libxmu6 1:1.0.1-3 X11 miscellaneous utility library ii libxpm4 1:3.5.4.2-3 X11 pixmap 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 libxt6 1:1.0.0-5 X11 toolkit intrinsics library ii libxxf86misc1 1:1.0.0-4 X11 XFree86 miscellaneous extensio ii libxxf86vm1 1:1.0.0-4 X11 XFree86 video mode extension l Versions of packages xscreensaver recommends: ii libjpeg-progs 6b-13 Programs for manipulating JPEG fil ii miscfiles [wordlist] 1.4.2.dfsg.1-4 Dictionaries and other interesting ii perl [perl5] 5.8.8-6.1 Larry Wall's Practical Extraction ii wamerican [wordlist] 6-2 American English dictionary words ii wamerican-large [wordlist 6-2 American English dictionary words ii wbritish [wordlist] 6-2 British English dictionary words f ii wbritish-large [wordlist] 6-2 British English dictionary words f ii wngerman [wordlist] 20051113-2 New German orthography wordlist ii wogerman [wordlist] 2-23 The old German dictionary for /usr ii xli 1.17.0-22 command line tool for viewing imag ii xloadimage 4.1-16 Graphics file viewer under X11 -- no debconf information
xscreensaver.log.gz
Description: Binary data