NetBSD Problem Report #8097
Received: (qmail 19729 invoked from network); 27 Jul 1999 20:16:41 -0000
Message-Id: <199907272020.QAA10333@bikini.ihack.net>
Date: Tue, 27 Jul 1999 16:20:56 -0400 (EDT)
From: "Charles M. Hannum" <root@ihack.net>
Reply-To: root@ihack.net
To: gnats-bugs@gnats.netbsd.org
Subject: xsm core dumps on DNS failure
X-Send-Pr-Version: 3.95
>Number: 8097
>Category: xsrc
>Synopsis: xsm core dumps on DNS failure
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: xsrc-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 27 13:20:03 +0000 1999
>Closed-Date: Mon Aug 09 15:53:59 +0000 1999
>Last-Modified: Mon Aug 09 15:57:13 +0000 1999
>Originator: Charles M. Hannum
>Release: 1.4
>Organization:
Internetwork Hacker
>Environment:
i386
>Description:
If the local host name is not resolvable, xsm core dumps.
This is particularly troublesome since the default .xsession
in XFree86 uses xsm.
>How-To-Repeat:
Install 1.4. Start up xdm. Try to log in.
>Fix:
[None supplied, but should be trivial.]
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: tron
State-Changed-When: Wed Jul 28 15:21:33 PDT 1999
State-Changed-Why:
The problem is not trivial to fix:
IF the local hostname can't be resolved libSM/SmsGenerateClientID() returns
NULL. "xsm" should catch that of course but would still abort.
State-Changed-From-To: analyzed->closed
State-Changed-By: tron
State-Changed-When: Mon Aug 9 08:53:59 PDT 1999
State-Changed-Why:
A patch to prevent the segmentation fault has been applied. However "xsm"
cannot create a new session without working DNS. The default "Xsession"
now creates a minimal environment manually.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.