*BSD News Article 12163


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!ames!pacbell.com!unet!blunt!dsilvia
From: dsilvia@blunt.net.com ()
Subject: Re: SEGV on ps -jax
Message-ID: <1993Mar3.131408.18137@unet.net.com>
Sender: news@unet.net.com
Nntp-Posting-Host: blunt
Organization: Network Equipment Technologies
References: <1993Mar2.203958.13600@kocrsv01.delcoelect.com>
Date: Wed, 3 Mar 1993 13:14:08 GMT
Lines: 95

In article <1993Mar2.203958.13600@kocrsv01.delcoelect.com> c23sn@kocrsv01.delcoelect.com (Siva Nadarajah) writes:
>
>In SunOS 4.1.2 (running on Sparc II) "ps -jax" gives a 
>segmentation fault.
>
>Who is the culprit, SunOS or BSD?
>

Well, on investigation

********************************************************************************

Script started on Wed Mar  3 05:10:32 1993
[blunt.dsilvia]:/home/dsilvia> cat /etc/motd
SunOS Release 4.1.2 (BLUNT) #1: Fri Jul 31 10:08:59 PDT 1992
[blunt.dsilvia]:/home/dsilvia> uname -a
SunOS blunt 4.1.2 1 sun4c
[blunt.dsilvia]:/home/dsilvia> ps -jax
 PPID   PID  PGID   SID TT TPGID  STAT   UID  TIME COMMAND
    0     0     0     0 ?     -1    DO     0  1:01 swapper
    0     1     0     0 ?     -1  IWOE     0  0:00 /sbin/init -
    0     2     0     0 ?     -1    DO     0  0:01 pagedaemon
    1    56    56    56 ?     -1   IWO     0  0:04 portmap
    1    61    42    42 ?     -1   IWO     0  0:00 keyserv
    1    70    70    70 ?     -1    SO     0  8:21 in.routed
    1    73    72    72 ?     -1    IO     0  0:32  (biod)
    1    74    72    72 ?     -1    IO     0  0:32  (biod)
    1    75    72    72 ?     -1    IO     0  0:31  (biod)
    1    76    72    72 ?     -1    IO     0  0:32  (biod)
    1    87    87    87 ?     -1   IWO     0  0:03 syslogd
    1    95    95    95 ?     -1   IWO     0  0:14 /usr/lib/sendmail -bd -q1h
    1   100   100   100 ?     -1   IWO     0  0:00 rpc.lockd
    1   101   101   101 ?     -1   IWO     0  0:00 rpc.statd
    1   105   105   105 ?     -1    SO     0  2:03 automount -f /etc/auto.maste
    1   111    42    42 ?     -1    IO     0204:12 update
    1   114   114   114 ?     -1   IWO     0  0:05 cron
    1   119   119   119 ?     -1   IWO     0  0:05 inetd
    1   122   122   122 ?     -1   IWO     0  0:00 /usr/lib/lpd
    1   127   127    42 ?     -1   IWO     0  0:02 /usr/openwin/bin/xdm -config
  127   592   592    42 ?     -1    SE     0121:08 /usr/openwin/bin/xnews -from
  127   599   599    42 ?     -1    IW     0  0:00 -:0 (xdm)
  599   606   606    42 ?     -1   IWE   927  0:00 /bin/sh /home/dsilvia/.xsess
  606   608   606    42 ?     -1   IWE   927  0:05 xterm -g 80x14+0+0 -e tail -
  606   610   606    42 ?     -1   IWE   927  0:42 xterm -cu -j -rw -sb -sf -sl
  606   613   606    42 ?     -1   IWE   927  1:53 /usr/openwin/bin/olwm
  613   621   606    42 ?     -1   IWE   927  0:05 olwmslave
  613   699   699    42 ?     -1   IWE   927  5:09 /usr/openwin/bin/clock
  613   714   714    42 ?     -1   IWE   927  3:21 /usr/openwin/demo/spider
  613  3604  3604    42 ?     -1   IWE   927  0:10 /usr/openwin/bin/xterm
  613  4172  4172    42 ?     -1   IWE   927  0:02 /usr/openwin/bin/calctool
  613  4489  4489    42 ?     -1   IWE   927  1:51 /usr/openwin/bin/mailtool
  613  5364  5364    42 ?     -1   IWE   927  0:09 /usr/openwin/bin/xterm
  613  5727  5727    42 ?     -1   IWE   927  0:17 /usr/openwin/bin/xterm
  613  5736  5736    42 ?     -1   IWE   927  0:03 /usr/openwin/bin/xterm
  613  6554  6554    42 ?     -1   IWE   927  0:19 /usr/openwin/bin/xterm
  613 10617 10617    42 ?     -1    RE   927  0:42 xlock -mode swarm
  119 11524 11524 11524 ?     -1  IWOE     1  0:00 rpc.cmsd
  119 12132 12132 12132 ?     -1   SOE     0  0:02 in.rlogind
    1   126   126   126 co   126  IWOE     0  0:00 - std.9600 console (getty)
 3604  3605  3605  3605 p0  3605  IWOE   927  0:00 -sh (csh)
  610   615   615   615 p1   615  IWOE   927  0:15 -sh (csh)
    1   895   886   615 p1   615  IWOE   927  9:33 /work/ethel3/frame3.1X/bin/b
  615  3349  3349   615 p1   615   TWE     0  0:00 -u (csh)
  608   614   614   614 p2   614   SOE   927  0:13 tail -f /usr/tmp/xdm-errors
  606   609   609   609 p3   622  IWOE   927  1:40 /usr/openwin/bin/cmdtool -Wp
  609   622   622   609 p3   622   IWE   927  0:00 -bin/csh (csh)
 5364  5365  5365  5365 p4  5371  IWOE   927  0:00 -sh (csh)
 5365  5371  5371  5365 p4  5371   IWE   927  0:00 rlogin ethel
 5371  5372  5371  5365 p4  5371    IW   927  0:02 rlogin ethel
 5727  5728  5728  5728 p5  5734  IWOE   927  0:00 -sh (csh)
 5728  5734  5734  5728 p5  5734   IWE   927  0:00 rlogin tempest
 5734  5735  5734  5728 p5  5734    IW   927  0:06 rlogin tempest
 5736  5737  5737  5737 p6  5737  IWOE   927  0:04 -sh (csh)
 5737  5874  5874  5737 p6  5737   TWE     0  0:00 -u (csh)
 6554  6555  6555  6555 p7  6555  IWOE   927  0:00 -sh (csh)
 6555  6738  6738  6555 p7  6555   TWE     0  0:00 -u (csh)
12132 12133 12133 12133 p8 12195   IOE   927  0:00 -csh (csh)
12133 12149 12149 12133 p8 12195   TWE   927  0:05 /usr/local/bin/rn
12133 12195 12195 12133 p8 12195    SE   927  0:00 script junk
12195 12196 12195 12133 p8 12195     S   927  0:00 script junk
12196 12197 12197 12197 p9 12205   SOE   927  0:00 -h -i (csh)
12197 12205 12205 12197 p9 12205    RE   927  0:00 ps -jax
[blunt.dsilvia]:/home/dsilvia> exit
[blunt.dsilvia]:/home/dsilvia> 
script done on Wed Mar  3 05:11:16 1993

********************************************************************************

Gee! I dunno!  Who is the culprit?!

I _know_ this may sound brain dead, but try rebooting just to be sure kmem is
okay.  If it still doesn't work, try to get another copy of ps.  If still
appears broken -- contact Sun Microsystems.

Dave S.