RE: FVWM: FVWM 2.0.43 on Digital Unix still eats CPU time after

From: Grant McDorman <grant_at_isgtec.com>
Date: Tue, 10 Sep 1996 10:05:15 -0400 (EDT)

I hadn't followed up on my earlier postings on this since I was
doing some testing (and have also been busy on the things I'm
paid for <grin>). It turns out that the problem with FvwmButtons
looping is more likely the fact that it was doing Xlib calls in
the signal handler, which is supposed to be illegal. I've changed
it to just set a flag, which would force exit from the main loop
and then do the cleaup, but it doesn't seem to work properly yet
(swallowed programs get left running on a restart).

Based on this, I suspect your problem may not be the signal handler.
What I suggest you do is break into the looping process(es) with your
debugger, get the call stack, and post it to the list. We can proceed
from there.

I'll post the change to FvwmButtons when I'm sure it works okay.


On 10-Sep-96 13:11:14 Thomas Leitner wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
>
>
> Hi,
>
> My problem is still not solved and I have reports from someone that it
> also occurs under Solaris 2.5.
>
> The problem is this: When the X server is killed or crashes, fvwm2
> as well as FvwmButtons continues to run and both sit there and eat
> all CPU time they can get.
>
> I think this is a serious problem and really should be fixed. Apart
> from that it is rather annoying for me due to my special X setup which
> just kills the X server when logging out and fvwm2 and FvwmButtons
> need to be killed manually after logging out.
>
> I've already made two modifications as suggested in this list. I've
> changed the DeadPipe routine in module.c like this:
>
> void DeadPipe(int nonsense)
> {
> struct stat buf;
> if (fstat(XConnectionNumber(dpy), &buf) == -1) exit(1);
> signal(SIGPIPE, DeadPipe);
> }
>
> Likewise I've changed the DeadPipe routine in FvwmButtons.
>
> Well. It does not work. Same problem.
>
> Does anyone know a cure for that? I think fvwm is not ready for version
> 2.1 before this problem is solved.
>
> Thanks -- Tom
>
> - --------------------------------------------------------------------------
> T o m L e i t n e r Dept. of Communications
> Graz University of Technology,
> e-mail : tom_at_finwds01.tu-graz.ac.at Inffeldgasse 12
> Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
> Fax : +43-316-463-697
> Home page : http://wiis.tu-graz.ac.at/people/tom.html
> PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
> mail with subject "get Thomas Leitner" to pgp-public-keys_at_keys.pgp.net
> - --------------------------------------------------------------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3i
> Charset: latin1
>
> iQCVAwUBMjUUlNEZPSczow+VAQH02gP/VOMLsrI+6Hx8FdxC076Y6uVeWQPn5XmL
> ZjMDB/9jAQuHUmAnqqOk1utLbjpi3vHhGMWlltgk7v1GpjAr0Q+BFHMbbdT0jo+p
> mGYxRONMlSZn+PaWCC9fVo5d1kGAb9B9FV9TEQO2UTk797XGKnCaCWM5kf/KsJHU
> RaVh4+sPdHM=
> =s/3G
> -----END PGP SIGNATURE-----
>
> --
> Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_hpc.uh.edu.
> To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
>
Grant McDorman <grant_at_isgtec.com>
                                ISG Technologies, Inc.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Sep 10 1996 - 09:22:50 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST