Re: icewm stuck with a config at .icewm/startup

"J. Bakshi" <[email protected]> Tue, 14 Jun 2011 20:16:47 +0530
Newsgroups gmane.comp.window-managers.icewm.user
Message-ID <[email protected]>
On Fri, 3 Jun 2011 14:31:20 +0000 (UTC)
Jörg Sommer <[email protected]> wrote:

> "J. Bakshi" <[email protected]> wrote:
> > On Thu, 2 Jun 2011 10:21:00 +0000 (UTC)
> > Jörg Sommer <[email protected]> wrote:
> >> "J. Bakshi" <[email protected]> wrote:
> >> > I am running icewm happily. Recently I have added wbar configuration at
> >> > my .icewm/startup as below
> >> >
> >> >
> >> > ````````````````````
> >> > (wbar  -above-desk  -nofont -pos top  -zoomf 1.6 -isize 15  -idist 8 -jumpf 1  -nanim 2  -balfa 0) &
> >> >
> >> > ````````````````````
> >> >
> >> > Things are running well but when I logout Icewm it just hanging around.
> >> 
> >> Can you log in on another terminal/console and take a snapshot of the
> >> process tree with ps fax?
> >> 
> >> There should be a shell as parent of wbar hanging around. Can you send
> >> the output of
> >> 
> >> % grep \^S /proc/$PID_OF_SHELL/status
> >
> >
> > ` ` ` `
> > # ps -ef | grep wbar
> >
> > joy      16615     1  0 16:57 ?        00:00:00 wbar -above-desk -nofont -pos top -zoomf 1.6 -isize 15 -idist 8 -jumpf 1 -nanim 2 -balfa 0
> >
> > ` ` ` `
> >
> > So the ppid is 1,
> 
> So, it's no longer a child of icewm. Does icewm have other childs, maybe
> zombies? I suspect it has a shell process as child. What's the signal
> status of this process?
> 
> % ps -ef |grep -A4 icewm
> 

joy       4689  4680  0 Jun13 tty1     00:00:00 icewm-session
joy       4693     1  0 Jun13 ?        00:00:06 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
joy       4694  4689  0 Jun13 ?        00:00:00 icewmbg
joy       4695  4689  0 Jun13 ?        00:01:32 icewm --restart
joy       4696  4689  0 Jun13 ?        00:00:00 icewmtray
joy       4699     1  0 Jun13 ?        00:00:00 /bin/bash /home/joy/.icewm/startup
joy       4700     1  0 Jun13 ?        00:00:00 /bin/bash /home/joy/.icewm/startup
joy       4702     1  0 Jun13 ?        00:07:42 conky -c /home/joy/Conky/conkymain
joy       4703     1  0 Jun13 ?        00:04:49 conky -c /home/joy/Conky/conky_weather
joy       4732  4699  0 Jun13 ?        00:00:00 /usr/bin/python /usr/bin/blueman-applet
joy       4733     1  0 Jun13 ?        00:10:24 TzClock
--
joy      14251  2534  0 20:07 pts/3    00:00:00 grep --color=auto -A4 icewm
postfix  14441  1814  0 09:24 ?        00:00:00 qmgr -l -t fifo -u
root     14483     1  0 09:24 ?        00:00:00 /usr/sbin/sshd
root     21252     2  0 17:50 ?        00:00:03 [kworker/2:1]
root     24123   277  0 15:20 ?        00:00:00 udevd --daemon

> After you've told icewm to quit and it hangs, can you attach to the

It doesn't hang, just close all applications like terminals, claws-mail, web-browser etc... but it is possible to again start those applications as icewm is *still sitting there*. Not closed !!!

> process and look what he's doing?
> 
> % strace -vfttT -p $(pidof icewm)
> 
A lot of this is going there... some of the extract is as below

````````````````
20:14:33.707375 close(6)                = 0 <0.000043>
20:14:33.707540 munmap(0x7f86cd1c0000, 4096) = 0 <0.000043>
20:14:33.707712 poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}]) <0.000035>
20:14:33.707909 writev(5, [{"=\1\4\0\257\0\200\0\0\0\0\0\24\0\24\0", 16}, {NULL, 0}, {"", 0}], 3) = 16 <0.000072>
20:14:33.708147 read(5, "\f\0IA\257\0\200\0\0\0\0\0\24\0\24\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32 <0.000043>
20:14:33.708323 read(5, 0x1a7b414, 4096) = -1 EAGAIN (Resource temporarily unavailable) <0.000040>
20:14:33.708514 poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}]) <0.000038>
20:14:33.708690 writev(5, [{";\0\5\0M\1\200\0\0\0\0\0\0\0\0\0\24\0\24\0005\30\4\0p\240\205\0\256\0\0\0"..., 996}, {NULL, 0}, {"", 0}], 3) = 996 <0.000044>
20:14:33.708879 read(5, 0x1a7b414, 4096) = -1 EAGAIN (Resource temporarily unavailable) <0.000019>
20:14:33.709002 rt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT TERM CHLD], NULL, 8) = 0 <0.000015>
20:14:33.709122 select(1024, [3 5], [], NULL, {0, 0}) = 0 (Timeout) <0.000017>
20:14:33.709284 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM CHLD], NULL, 8) = 0 <0.000016>
20:14:33.709409 read(5, 0x1a7b414, 4096) = -1 EAGAIN (Resource temporarily unavailable) <0.000017>
20:14:33.709594 rt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT TERM CHLD], NULL, 8) = 0 <0.000064>
20:14:33.709822 select(1024, [3 5], [], NULL, {0, 488438}^C <unfinished ...>
`````````````

Thanks


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
IceWM-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icewm-user