Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2003 11:53:45 +0900 (JST)
From:      Munehiro Matsuda <haro@h4.dion.ne.jp>
To:        current@freebsd.org
Subject:   Two processes with PID == 0
Message-ID:  <20031115.115345.07639542.haro@h4.dion.ne.jp>

next in thread | raw e-mail | index | archive | help

Hi all,

I have wierd problem with -current from Fri Nov 14 19:58:02 JST and
with SCHED_4BSD scheduler.

There are two processes that have the same PID as 0!!
Here's snippest from 'ps axl' output:

  UID   PID  PPID CPU PRI NI   VSZ  RSS MWCHAN STAT  TT       TIME COMMAND
    0     0     0   0 -16  0     0    4 sched  DLs   ??    0:00.35  (swapper)
  123     0   560   0 -84  0     0    0 -      ZW    v0    0:00.00  (xbattbar)
    0   560   554  17  98  0  5128 3292 select I     v0    0:00.56 xterm -C -sb

The xbattbar process was started with the following ~/.xinitrc script
that I use to star X Window.

---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
if [ -f /usr/X11R6/bin/xbattbar ]; then
    nice -20 xbattbar -t 1 -p 20 top &
fi

if [ -f /usr/X11R6/bin/unclutter ]; then
    unclutter -jitter 5 &
fi

twm &
# xclock -geometry 80x80+0-0 &
xclock -d -geometry 160x18+900+1 -padding 3 -bg maroon -fg gray85 -update 3 &
kterm -sb -rw -km euc -geometry 80x24+3+25 -sl 1000 &
kterm -sb -rw -km euc -geometry 80x24+3+392 -sl 1000 &
sleep 1
exec xterm -C -sb -rw -geometry 80x49+0+1 -name login -iconic \#+0+1
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--

Anybody have any idea what has happend?

Thanks,
 Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Internet Solution Dept., Kubota Graphics Technologies Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan
                  Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
                  Email: haro@kgt.co.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031115.115345.07639542.haro>