>>>> "Stephen" == Stephen J Turnbull
Stephen> What's happening here is that people are assuming session management
Stephen> and logging out from xdm/gdm/whatever, without shutting down XEmacs.
Stephen> That's the situation that generates the symptom (lingering XEmacs
Stephen> process consuming 100% CPU).
Stephen> gdm, as you would expect, takes all the care of a Microsoft
Stephen> operating system in shutting down. Anyway, XEmacs loses its last X
Stephen> device and goes into a spin in that CONSOLE_DEVICE_LOOP. A real
Stephen> session manager would shut down XEmacs (the user has logged out of the
Stephen> session that XEmacs was started in, and XEmacs is a foreground app
Stephen> there). xdm and xsm both do this.
Stephen> I believe (but haven't checked) that the patch "works"
Stephen> finding no connections the code falls through to a place where XEmacs
Stephen> realizes it has no live consoles and exits.
just so you know this patch has fixed the problem when logging out of gdm
my XEmacs process i left active when i logged out yesterday to test
what would happen was indead stopped
XEmacs Advocate | Do not try the patience of Wizards,
FreeBSD Devote | for they are subtle and quick to anger.
Perl Hacker | - Elric (Technomage) , Babylon 5.
Apache God | <mailto:rendhalver at xemacs.org> <GnuPG KeyID: AE51D190>