From kde-usability Fri Aug 30 14:29:35 2002 From: Christian Lavoie Date: Fri, 30 Aug 2002 14:29:35 +0000 To: kde-usability Subject: Re: improved Crash Dialog needed X-MARC-Message: https://marc.info/?l=kde-usability&m=103072063521638 > My X-server just crashed on me, and I got an idea: > Why don't we monitor the X-Server with a watchdog. If it doesn't repond, > switch to a console, give the user a message on the console to login and > restart the x-server or reboot the system. I could even imagine to be able > to save the stuff I was working on with the help of dcop. A quick try > didn't work though, and I'm not very well into the internals of the dcop > stuff. Pretty good idea, but you face one main problem: XFree86 crashes often leave the videocard in some weird state, in some extreme cases hopeless states. (S3 ViRGE 325 PCI cards are always extreme cases =P) You also have the 'server is alive but under extreme pressure and will occupy the CPU (and not respond to your watchdog) for $WATCHDOG_TIMEOUT + 1 millisecond' case that's a problem. It's actually a great idea, but I still don't see that being part of KDE, as opposed as being part of XFree86 itself ;) Mind you, a good patch will beat my opinion anytime. Have fun, Chris -- Maybe computer science ought to be taught in the School of Philosophy Christian Lavoie, clavoie@bmed.mcgill.ca http://www.christianlavoie.com _______________________________________________ kde-usability mailing list kde-usability@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-usability