[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457487: marked as done (kdm: Remote XDMCP login broken (segfault))

Your message dated Wed, 12 Mar 2008 18:47:11 +0000
with message-id <E1JZVyp-0004ez-P9@ries.debian.org>
and subject line Bug#457487: fixed in kdebase 4:3.5.9.dfsg.1-2
has caused the Debian Bug report #457487,
regarding kdm: Remote XDMCP login broken (segfault)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

457487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457487
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kdm
Version: 4:3.5.8.dfsg.1-2
Severity: important
Tags: patch

When logging in on a remote xterminal via XDMCP kdm segfaults, causing the
session to die and the greeter to be redisplayed.

A backtrace of the crash (below) shows that we crash trying to create a
bogus DBUS entry.  Further investigation indicates the d->remoteHost is
NULL.  It looks like there are two different types of nonlocal session:
Localy manged X servers that connect to a remote XDMCP server, and remote X
terminals logging into this host via XDMCP.  remoteHost is only set in
the former case.

The patch below fixes the crash by only adding the dbus attribute if
remoteHost is known.


diff -ur clean/kdm/backend/consolekit.c kdebase-3.5.8.dfsg.1/kdm/backend/consolekit.c
--- clean/kdm/backend/consolekit.c	2007-12-22 18:11:56.000000000 +0000
+++ kdebase-3.5.8.dfsg.1/kdm/backend/consolekit.c	2007-12-22 17:58:37.000000000 +0000
@@ -461,7 +461,7 @@
 	add_param_string (&iter_struct, "x11-display", d->name);
 	add_param_boolean (&iter_struct, "is-local", ((d->displayType & d_location) == dLocal));
 #ifdef XDMCP
-	if ((d->displayType & d_location) != dLocal) {
+	if ((d->displayType & d_location) != dLocal && d->remoteHost) {
 		add_param_string (&iter_struct, "remote-host-name", d->remoteHost);

#0  0x00002b44640e4fc0 in strlen () from /lib/libc.so.6
#4  0x000000000040a772 in add_param_string (iter_struct=0x7fff47acec60,
    key=0x41be0a "remote-host-name", value=0x0)
    at kdm/backend/consolekit.c:131
#5  0x000000000040aac7 in open_ck_session (pwent=<value optimized out>,
    at kdm/backend/consolekit.c:465
#6  0x0000000000416a1d in ManageSession (d=0x62aea0)
    at kdm/backend/session.c:634
#7  0x000000000040d81d in StartDisplayP2 (d=0x62aea0)
    at kdm/backend/dm.c:1395
#8  0x0000000000419cda in manage (from=0x7fff47acef90, fromlen=28,
    length=<value optimized out>, fd=9)
    at kdm/backend/xdmcp.c:948
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages kdm depends on:
ii  debconf [debconf-2.0]   1.5.17           Debian configuration management sy
ii  kdebase-bin             4:3.5.8.dfsg.1-2 core binaries for the KDE base mod
ii  kdebase-data            4:3.5.8.dfsg.1-2 shared data files for the KDE base
ii  kdelibs4c2a             4:3.5.8.dfsg.1-4 core libraries and binaries for al
ii  libc6                   2.7-5            GNU C Library: Shared libraries
ii  libdbus-1-3             1.1.2-1          simple interprocess messaging syst
ii  libgcc1                 1:4.2.2-4        GCC support library
ii  libpam-runtime       Runtime support for the PAM librar
ii  libpam0g             Pluggable Authentication Modules l
ii  libqt3-mt               3:3.3.7-9        Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.2.2-4          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxau6                 1:1.0.3-2        X11 authorisation library
ii  libxdmcp6               1:1.0.2-2        X11 Display Manager Control Protoc
ii  libxtst6                2:1.0.3-1        X11 Testing -- Resource extension 
ii  xbase-clients           1:7.3+8          miscellaneous X clients - metapack

Versions of packages kdm recommends:
ii  logrotate                     3.7.1-3    Log rotation utility
ii  xserver-xorg                  1:7.3+8    the X.Org X server

-- debconf information:
  kdm/stop_running_server_with_children: false
* shared/default-x-display-manager: kdm
  kdm/daemon_name: /usr/bin/kdm

--- End Message ---
--- Begin Message ---
Source: kdebase
Source-Version: 4:3.5.9.dfsg.1-2

We believe that the bug you reported is fixed in the latest version of
kdebase, which is due to be installed in the Debian FTP archive:

  to pool/main/k/kdebase/kappfinder_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kate_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kcontrol_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase-bin-kde3_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase-bin_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase-data_3.5.9.dfsg.1-2_all.deb
  to pool/main/k/kdebase/kdebase-dbg_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase-dev_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase-doc-html_3.5.9.dfsg.1-2_all.deb
  to pool/main/k/kdebase/kdebase-doc_3.5.9.dfsg.1-2_all.deb
  to pool/main/k/kdebase/kdebase-kio-plugins_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdebase_3.5.9.dfsg.1-2.diff.gz
  to pool/main/k/kdebase/kdebase_3.5.9.dfsg.1-2.dsc
  to pool/main/k/kdebase/kdebase_3.5.9.dfsg.1-2_all.deb
  to pool/main/k/kdebase/kdeeject_3.5.9.dfsg.1-2_all.deb
  to pool/main/k/kdebase/kdepasswd_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdeprint_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdesktop_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kdm_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kfind_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/khelpcenter_4.0.0.really.3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kicker_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/klipper_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kmenuedit_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/konqueror-nsplugins_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/konqueror_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/konsole_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kpager_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kpersonalizer_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/ksmserver_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/ksplash_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/ksysguard_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/ksysguardd_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/ktip_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/kwin_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/libkonq4-dev_3.5.9.dfsg.1-2_amd64.deb
  to pool/main/k/kdebase/libkonq4_3.5.9.dfsg.1-2_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 457487@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of updated kdebase package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 10 Mar 2008 17:02:38 +0200
Source: kdebase
Binary: kdebase kappfinder kate kcontrol kdebase-bin kdebase-bin-kde3 kdebase-data kdebase-dev kdebase-doc kdebase-doc-html kdebase-kio-plugins kdeeject kdepasswd kdeprint kdesktop kdm kfind khelpcenter kicker klipper kmenuedit konqueror konqueror-nsplugins konsole kpager kpersonalizer ksmserver ksplash ksysguard ksysguardd ktip kwin libkonq4 libkonq4-dev kdebase-dbg
Architecture: source all amd64
Version: 4:3.5.9.dfsg.1-2
Distribution: unstable
Urgency: medium
Maintainer: Fathi Boudra <fabo@debian.org>
Changed-By: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
 kappfinder - non-KDE application finder for KDE
 kate       - advanced text editor for KDE
 kcontrol   - control center for KDE
 kdebase    - base components from the official KDE release
 kdebase-bin - core binaries for the KDE base module
 kdebase-bin-kde3 - core binaries for the KDE base module
 kdebase-data - shared data files for the KDE base module
 kdebase-dbg - debugging symbols for kdebase
 kdebase-dev - development files for the KDE base module
 kdebase-doc - developer documentation for the KDE base module
 kdebase-doc-html - KDE base documentation in HTML format
 kdebase-kio-plugins - core I/O slaves for KDE
 kdeeject   - script used by KDE to eject removable media
 kdepasswd  - password changer for KDE
 kdeprint   - print system for KDE
 kdesktop   - miscellaneous binaries and files for the KDE desktop
 kdm        - X display manager for KDE
 kfind      - file-find utility for KDE
 khelpcenter - help center for KDE
 kicker     - desktop panel for KDE
 klipper    - clipboard utility for KDE
 kmenuedit  - menu editor for KDE
 konqueror  - KDE's advanced file manager, web browser and document viewer
 konqueror-nsplugins - Netscape plugin support for Konqueror
 konsole    - X terminal emulator for KDE
 kpager     - desktop pager for KDE
 kpersonalizer - installation personalizer for KDE
 ksmserver  - session manager for KDE
 ksplash    - the KDE splash screen
 ksysguard  - system guard for KDE
 ksysguardd - system guard daemon for KDE
 ktip       - useful tips for KDE
 kwin       - the KDE window manager
 libkonq4   - core libraries for Konqueror
 libkonq4-dev - development files for Konqueror's core libraries
Closes: 457487 468191 469653
 kdebase (4:3.5.9.dfsg.1-2) unstable; urgency=medium
   +++ Changes by Modestas Vainius:
   * Fix kdm segfault with remote XDMCP login. 70_kdm_consolekit.diff patch was
     modified in the process. Thanks to Paul Brook for the patch
     (Closes: #457487).
   * Drop PACKAGES_WITH_LIBS from debian/rules. No longer needed.
   * Bump shlibs to 3.5.9.
   * Add automake cleanup patches:
     - 01_admin_cleanup.diff
     - 02_automake_cleanup.diff. Also links kio_fish against -lutil
       (Closes: #469653).
   * Bumped urgency to medium due to fix for the serious bug.
   * Add 55_kwin_xinerama_xrandr1.2.diff to fix compatibility problems
     introduced by 0087-use-xrandr-1.2.diff qt-copy patch from Qt 3.3.8.
     (Closes: #468191)
 1ee97e9351eec44b1842791e1e804b3f 2249 kde optional kdebase_3.5.9.dfsg.1-2.dsc
 0b058a51181e0360e41880975ba66585 623163 kde optional kdebase_3.5.9.dfsg.1-2.diff.gz
 9396857723561b86767d1de232309367 37610 kde optional kdebase_3.5.9.dfsg.1-2_all.deb
 fd4716c46019440c4865bea8ab9cf8e7 10295704 kde optional kdebase-data_3.5.9.dfsg.1-2_all.deb
 e54c0925eb59811f3337f1f3ba3c534d 1292266 doc optional kdebase-doc_3.5.9.dfsg.1-2_all.deb
 0efdd9dc363f9e60b1d4b6781c179d23 388698 doc optional kdebase-doc-html_3.5.9.dfsg.1-2_all.deb
 f94c754d16779d2c8ce76fa02edddf35 36778 utils optional kdeeject_3.5.9.dfsg.1-2_all.deb
 3ab8911b20c3ef3c1b66c1380b80f5ac 299842 kde optional kappfinder_3.5.9.dfsg.1-2_amd64.deb
 08da6dddcda6ef59a914799fbf7a436c 824930 editors optional kate_3.5.9.dfsg.1-2_amd64.deb
 933409a2b63bc69024f6b7cdae52d704 3216348 kde optional kcontrol_3.5.9.dfsg.1-2_amd64.deb
 4b762f62b9f41e6fc1d64aa90d00eb75 842490 kde optional kdebase-bin_3.5.9.dfsg.1-2_amd64.deb
 68bac646477a6f621be16f0407695205 82146 kde optional kdebase-bin-kde3_3.5.9.dfsg.1-2_amd64.deb
 64c4723a1ba434045d1b52d59f3c9b6b 77174 devel optional kdebase-dev_3.5.9.dfsg.1-2_amd64.deb
 0e3785f8d24e3081590d82c2f819993f 1247580 kde optional kdebase-kio-plugins_3.5.9.dfsg.1-2_amd64.deb
 4e9d28a9affba1e1c4c58a2dce32f172 247004 utils optional kdepasswd_3.5.9.dfsg.1-2_amd64.deb
 2086fa1efb0a6d001fc4abda59f51d89 1488486 utils optional kdeprint_3.5.9.dfsg.1-2_amd64.deb
 52dff6b490d9b7ba4cc2976eb8239404 807162 kde optional kdesktop_3.5.9.dfsg.1-2_amd64.deb
 ebffda48cad6b1465b5c9ee65e1141a5 675552 kde optional kdm_3.5.9.dfsg.1-2_amd64.deb
 d4c69f91fc5259c25ea6a1ec4d9cc75c 215228 utils optional kfind_3.5.9.dfsg.1-2_amd64.deb
 e8383727445374061803b702c7052d46 2328412 kde optional khelpcenter_4.0.0.really.3.5.9.dfsg.1-2_amd64.deb
 2c1b4feb3b79603dd22f84f2e38ea729 2211102 kde optional kicker_3.5.9.dfsg.1-2_amd64.deb
 4aad50f5a5de4d63c32a948b9eeaaff1 298130 kde optional klipper_3.5.9.dfsg.1-2_amd64.deb
 5f6ec4044545fd466f9abf3746abc73e 392318 kde optional kmenuedit_3.5.9.dfsg.1-2_amd64.deb
 ceb9a36faec2e8e1b0c78e275826a671 2133742 web optional konqueror_3.5.9.dfsg.1-2_amd64.deb
 585ed49c962ae824da7789d23831572e 168304 utils optional konqueror-nsplugins_3.5.9.dfsg.1-2_amd64.deb
 8ecb253300d9b422a2c8d3ca9f81cc98 779340 kde optional konsole_3.5.9.dfsg.1-2_amd64.deb
 ecccf41e3e0263b9a408dfb8e9e1d27c 119232 kde optional kpager_3.5.9.dfsg.1-2_amd64.deb
 3f53f0ff1a47b040503b50a89cb80cf9 494706 kde optional kpersonalizer_3.5.9.dfsg.1-2_amd64.deb
 e25f645eee30b9e5a60edef4c63cab49 170136 kde optional ksmserver_3.5.9.dfsg.1-2_amd64.deb
 658563ed250b90d390e4da846c3c9c19 725540 kde optional ksplash_3.5.9.dfsg.1-2_amd64.deb
 6d9e85e5b01b262d6569e90ab9c717cb 542320 utils optional ksysguard_3.5.9.dfsg.1-2_amd64.deb
 b5dfe0209644623b91ce12595ab1758b 71288 utils optional ksysguardd_3.5.9.dfsg.1-2_amd64.deb
 259b681aa7c8ef3b694278d701b09f6b 104668 kde optional ktip_3.5.9.dfsg.1-2_amd64.deb
 78019503573e25ff8d988887758e8dca 1114564 kde optional kwin_3.5.9.dfsg.1-2_amd64.deb
 2dbf3a2ea0371ffa242fd317859eed1d 291750 libs optional libkonq4_3.5.9.dfsg.1-2_amd64.deb
 1abf98d0130e27adff2a27bc2dc750fc 62946 libdevel optional libkonq4-dev_3.5.9.dfsg.1-2_amd64.deb
 02dd8a54ae1111970fd31265f38d55a5 33435674 libdevel extra kdebase-dbg_3.5.9.dfsg.1-2_amd64.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: