Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199606 - gnome-base/gdm-2.20.0 crashes while connection to a XDMCP-host
Summary: gnome-base/gdm-2.20.0 crashes while connection to a XDMCP-host
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-18 23:38 UTC by Stefan Hellermann
Modified: 2007-11-29 20:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdm-2.20.1-svnfixes.patch (gdm-2.20.1-svnfixes.patch,4.32 KB, patch)
2007-11-27 21:36 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Hellermann 2007-11-18 23:38:40 UTC
Since i've updated to gdm-2.20 remote logins to XDMCP-hosts no longer work.
The window to select a remote host appears, if I select my XDMCP-host the X-Server restarts but then crashes, printing this to /var/log/messages:

Nov 19 00:10:05 host246 kernel: gdm[17381]: segfault at 000004d0 eip b7aa6a91 esp bffc6a30 error 4
Nov 19 00:09:59 host246 gdmchooser[17371]: GLib-GObject-WARNING: gsignal.c:1019: unable to lookup signal "activate" of unloaded type `GtkMenuItem' 
Nov 19 00:10:05 host246 gdm[12799]: WARNING: gdm_cleanup_children: child 17381 crashed of signal 11 
Nov 19 00:10:05 host246 gdm[12799]: WARNING: gdm_cleanup_children: Slave crashed, killing its children 


Reproducible: Always

Steps to Reproduce:
1. Start gdm via /etc/init.d/xdm
2. Select Options => remote login via XDMCP
the X-server will restart (OK)
3. Select a XDMCP-host
the X-server will restart again (OK)


Actual Results:  
gdm crashes, black screen

Expected Results:  
A welcome screen on the remote XDMCP-host should appear (like with gdm-2.18)

If I type "Xorg -query remote.host" the welcome screen on the remote XDMCP-host appears

I can build gdm with or without remote use-flag, no difference
Comment 1 Pacho Ramos gentoo-dev 2007-11-20 14:43:30 UTC
Seems that Fedora is applying two patches related with xdmcp problems:
https://bugzilla.redhat.com/show_bug.cgi?id=246399
https://bugzilla.redhat.com/show_bug.cgi?id=379511

The src.rpm (with patches) can be downloaded from:
ftp://ftp.free.fr/pub/Distributions_Linux/Fedora/updates/8/SRPMS/gdm-2.20.1-7.fc8.src.rpm

From their gdm-2.20.1 changelog:
* Thu Nov 15 2007 Ray Strode <rstrode@redhat.com> - 1:2.20.1-7
- Apply upstream patch to make xdmcp work better (bug 379511)
* Wed Oct  17 2007 Warren Togami <wtogami@redhat.com> - 1:2.20.1-3
- Fix GDM segfault when XInput extension not available
  Also fixes XDMCP (#246399)
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-22 09:13:21 UTC
remote USE flag isn't for XDMCP it's for ssh based connections iirc.
Please paste in emerge --info and check bug #194541
Comment 3 Stefan Hellermann 2007-11-22 14:12:30 UTC
$ emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.24-rc3-git1 i686)
=================================================================
System uname: 2.6.24-rc3-git1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Wed, 21 Nov 2007 21:17:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mtune=k8 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -mtune=k8 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/var/db/distfiles"
FEATURES="distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3 -s"
PKGDIR="/var/db/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/db/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-portage/"
USE="X a52 acpi alsa caps cups custom-cflags dbus dvd dynamic exif fam hal ipv6 jpeg libnotify mmx ncurses nptl opengl pam pcre png readline samba sse startup-notification syslog unicode x86 xcb xcomposite xinerama xv zlib" ALSA_PCM_PLUGINS="dshare dmix plug adpcm alaw asym copy share dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev fpit" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv trident vesa nvidia ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ grep gdm /etc/portage/package.u*
/etc/portage/package.use:gnome-base/gdm branding


(really unstable flags, I know)
Until gdm-2.18 it worked fine, no problems with this system so far. Should I try something more stable? Maybe without LDFLAGS?
Comment 4 Pacho Ramos gentoo-dev 2007-11-24 10:26:27 UTC
I am now suffering the same problem after upgrading to gnome-2.20, and I don't have any LDFLAGS
Comment 5 Pacho Ramos gentoo-dev 2007-11-24 11:51:01 UTC
The patches didn't work :'(

I have found these similar bugs:
http://bugzilla.gnome.org/show_bug.cgi?id=495623
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/150193
Comment 6 Pacho Ramos gentoo-dev 2007-11-27 21:36:24 UTC
Created attachment 137163 [details, diff]
gdm-2.20.1-svnfixes.patch

This patch from mandriva src.rpm fixes this issue :-)
Comment 7 Pacho Ramos gentoo-dev 2007-11-28 14:06:35 UTC
gdm-2.20.2 was released yesterday, it should fix this issue also:
http://ftp.acc.umu.se/pub/gnome/sources/gdm/2.20/gdm-2.20.2.tar.bz2
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-11-29 16:47:23 UTC
Okay, I've added 2.20.2 to the tree.  Please re-open if this doesn't fix the problem.
Comment 9 Stefan Hellermann 2007-11-29 20:51:19 UTC
Xdmcp-logins now work again! Thanks!