Debian bug report logs - #923
xdm failed with `unknown session exit code'

Package: xbase; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 156 days old.
Bug reassigned from package `xbaseR6' to `xbase'. Request was from imurdock@debian.org (Ian Murdock) to debian-bugs-request@pixar.com. Full text available.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Sun May 28 10:15:51 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sFlwN-0007lzC; Sun, 28 May 95 10:15 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA01957
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 28 May 1995 10:14:24 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0sFlw4-000BzgC; Sun, 28 May 95 18:15 BST
Received: by chiark
	id <m0sFXnB-0000XQZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.31); Sun, 28 May 95 03:09 BST
Message-Id: <m0sFXnB-0000XQZ@chiark.al.cl.cam.ac.uk>
Date: Sun, 28 May 95 03:09 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: xdm failed with `unknown session exit code'

Package: xbaseR6
Version: 0.93 (XFree86 3.1.1) -7

After many successful sessions (my system has been up for 35 days), I
did a routine logout from my X session.

The X server did not restart, and I found
 xdm error (pid 26044): Unknown session exit code 2816 from process 25
in xdm-errors.

My /etc/inittab contains
 xd:3:respawn:/usr/bin/X11/xdm -nodaemon
and as you can see below I am in runlevel 3 with an xdm running.  I
don't know why xdm didn't restart properly.

I sent xdm (process 26044) a SIGTERM and init started another one; all
is now running correctly.

Ian.

chiark:~> ps guaxww
USER       PID %CPU %MEM SIZE  RSS TTY STAT START   TIME COMMAND
guest    26041  0.0  2.8  310  536 v03 S    03:52   0:00 -bash
ian         81  3.2 11.0 1933 2064 v02 S    03:00   0:09 emacs -f vm-mail
ian         82  0.0  1.0   33  196  ?  S    03:00   0:00 /usr/lib/emacs/19.28/i486-debian-linux/wakeup 60
ian        108  3.5  2.4  289  464 pp1 S    03:04   0:00 /bin/bash -i
ian        115  0.0  1.2   89  236 pp1 R    03:04   0:00 ps guaxww
ian      21599  0.0  3.0  316  568 v02 S   May 26   0:01 -bash
news     13573  0.1  1.7 1748  320  ?  S   May  2  37:49 /usr/sbin/innd -p3 -i0
news     13578  0.0  0.0  287    0  ?  SW  May  2   0:00 (sh)
news     13584  0.0  1.4  331  280  ?  S   May  2  13:37 sh /usr/lib/news/bin/innwatch -t 7200
news     13587  0.0  0.0   44    0  ?  SW  May 16   1:41 (overchan)
news     32525  0.0  0.4   26   88  ?  S    01:50   0:00 sleep 7200
root         1  0.0  0.3   64   68  ?  S   Apr 23  19:41 init [3]                  
root         4  0.0  0.2   36   52  ?  S   Apr 23   2:17 (update)
root         5  0.0  0.4   36   80  ?  S   Apr 23   4:23 update (bdflush)
root        94  0.0  0.7   81  136  ?  S   Apr 23   4:55 /sbin/syslogd
root     24465  0.0  0.0   41    0  ?  SW  May 27   0:00 (klogd)
root     26016  0.0  0.0   40    0  ?  SW   03:52   0:00 (klogd)
root     26019  0.0  0.7  185  144  ?  S    03:52   0:00 /usr/sbin/named
root     26022  0.0  0.4   72   76  ?  S    03:52   0:00 /usr/sbin/inetd
root     26027  0.0  0.0   68    0  ?  SW   03:52   0:00 (lpd)
root     26039  0.0  0.5   76   96  ?  S    03:52   0:16 /usr/sbin/cron
root     26040  0.0  0.0   45    0 v01 SW   03:52   0:00 (getty)
root     26042  0.0  0.0   45    0 v04 SW   03:52   0:00 (getty)
root     26043  0.0  0.0   45    0 v05 SW   03:52   0:00 (getty)
root     26044  0.0  1.6  157  304  ?  S    03:52   0:00 /usr/bin/X11/xdm -nodaemon
root     26045  0.0  0.0  108    0 s10 SW   03:52   0:00 (getty_ps)
root     26046  0.0  0.0  108    0 s11 SW   03:52   0:00 (getty_ps)
root     26066  0.0  0.3   84   60  ?  S    03:55   0:27 /usr/local/sbin/diald /dev/cuac1
chiark:~> ps glaxww
 F    UID   PID  PPID PRI NI SIZE  RSS WCHAN      STAT TTY   TIME COMMAND
  0     0     1     0   3  0   64   68 show_mem   S     ?   19:41 init [3]                  
  0     0     4     1   1  0   36   52 mem_init   S     ?    2:17 (update)
  0     0     5     1   1  0   36   80 sigsuspen  S     ?    4:23 update (bdflush)
  0     0    94     1   1  0   81  136 fifo_sele  S     ?    4:55 /sbin/syslogd
  0     9 13573     1   1  0 1748  320 fifo_sele  S     ?   37:49 /usr/sbin/innd -p3 -i0
  0     9 13578     1   1  0  287    0 getrusage  SW    ?    0:00 (sh)
  0   100 21599     1   1  0  316  568 getrusage  S    v02   0:01 -bash
  0     0 24465     1   1  0   41    0 mem_init   SW    ?    0:00 (klogd)
  0     0 26016     1   1  0   40    0 mem_init   SW    ?    0:00 (klogd)
  0     0 26019     1   1  0  185  144 fifo_sele  S     ?    0:00 /usr/sbin/named
  0     0 26022     1   1  0   72   76 fifo_sele  S     ?    0:00 /usr/sbin/inetd
  0     0 26027     1   1  0   68    0 fifo_sele  SW    ?    0:00 (lpd)
  0     0 26039     1   1  0   76   96 sigsuspen  S     ?    0:16 /usr/sbin/cron
  0     0 26040     1   1  0   45    0 respond_s  SW   v01   0:00 (getty)
  0    99 26041     1   1  0  310  536 respond_s  S    v03   0:00 -bash
  0     0 26042     1   1  0   45    0 respond_s  SW   v04   0:00 (getty)
  0     0 26043     1   1  0   45    0 respond_s  SW   v05   0:00 (getty)
  0     0 26044     1   1  0  157  304 fifo_sele  S     ?    0:00 /usr/bin/X11/xdm -nodaemon
  0     0 26045     1   1  0  108    0 respond_s  SW   s10   0:00 (getty_ps)
  0     0 26046     1   1  0  108    0 respond_s  SW   s11   0:00 (getty_ps)
  0     0 26066     1   1  0   84   60 fifo_sele  S     ?    0:27 /usr/local/sbin/diald /dev/cuac1
  0   100    82    81   1  0   33  196 sigsuspen  S     ?    0:00 /usr/lib/emacs/19.28/i486-debian-linux/wakeup 60
  0   100   108    81   2  0  289  464 getrusage  S    pp1   0:00 /bin/bash -i
  0   100   116   108  18  0   73  200            R    pp1   0:00 ps glaxww
  0     9 13587 13573   1  0   44    0 mem_init   SW    ?    1:41 (overchan)
  0     9 13584 13578   1  0  331  280 getrusage  S     ?   13:37 sh /usr/lib/news/bin/innwatch -t 7200
  0     9 32525 13584   1  0   26   88 sigsuspen  S     ?    0:00 sleep 7200
  0   100    81 21599  21  0 1933 2064 fifo_sele  S    v02   0:09 emacs -f vm-mail
chiark:~> cd /var/log
chiark:log> ls -ltr | tail -10
-rw-r--r--   1 root     adm           804 May 27 06:50 setuid.changes.1.gz
-rw-------   1 root     root        59793 May 27 06:58 setuid.today
-rw-r--r--   1 root     adm          3103 May 27 06:58 setuid.changes
-rw-rw-r--   1 root     root           38 May 27 15:38 lp-acct
-rw-r--r--   1 root     adm           592 May 28 01:06 debug
-rw-r--r--   1 root     adm         18807 May 28 01:08 messages
-rw-r--r--   1 root     root        32032 May 28 02:56 lastlog
-rw-r--r--   1 root     adm         66640 May 28 02:56 wtmp
-rw-r--r--   1 root     adm       1001701 May 28 03:02 news.notice
-rw-r--r--   1 root     adm         60513 May 28 03:02 daemon.log
chiark:log> tail -10 daemon.log
May 27 23:52:42 chiark named[26019]: NSTATS 801615162 801543159
May 27 23:52:42 chiark named[26019]: XSTATS 801615162 801543159 RQ=0 RR=0 RIQ=0 RNXD=0 RFwdQ=0 RFwdR=0 RDupQ=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RTCP=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SFwdR=0 SDupQ=15 SFail=0 SFErr=0 SErr=1 RNotNsQ=0 SNaAns=0 SNXD=0
May 28 00:52:42 chiark named[26019]: NSTATS 801618762 801543159
May 28 00:52:42 chiark named[26019]: XSTATS 801618762 801543159 RQ=0 RR=0 RIQ=0 RNXD=0 RFwdQ=0 RFwdR=0 RDupQ=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RTCP=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SFwdR=0 SDupQ=15 SFail=0 SFErr=0 SErr=1 RNotNsQ=0 SNaAns=0 SNXD=0
May 28 01:08:59 chiark in.comsat[32010]: connect from 127.0.0.1
May 28 01:52:42 chiark named[26019]: NSTATS 801622362 801543159
May 28 01:52:42 chiark named[26019]: XSTATS 801622362 801543159 RQ=0 RR=0 RIQ=0 RNXD=0 RFwdQ=0 RFwdR=0 RDupQ=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RTCP=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SFwdR=0 SDupQ=15 SFail=0 SFErr=0 SErr=1 RNotNsQ=0 SNaAns=0 SNXD=0
May 28 02:52:42 chiark named[26019]: NSTATS 801625962 801543159
May 28 02:52:42 chiark named[26019]: XSTATS 801625962 801543159 RQ=0 RR=0 RIQ=0 RNXD=0 RFwdQ=0 RFwdR=0 RDupQ=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RTCP=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SFwdR=0 SDupQ=15 SFail=0 SFErr=0 SErr=1 RNotNsQ=0 SNaAns=0 SNXD=0
May 28 03:02:02 chiark in.comsat[95]: connect from 127.0.0.1
chiark:log> 

Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#923; Package xbaseR6. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov