Hello dene,
On Fri, 25 Nov 2005 21:38:02 +1300 "dene maxwell" <[EMAIL PROTECTED]> wrote: > No argument from me... my apps always call the "CleanUp_and_Exit" routine > from every event that the user might beable to invoke a shutdown from. Oh > except that Task Manager "End Task" option. haven't found away to intercept > that yet(under some circumstances anyway)....but that's a discussion for > the microsoft user groups...lol Sure ;-) Regards, > >From: wwp <[EMAIL PROTECTED]> > >Reply-To: FlightGear user discussions <[email protected]> > >To: [email protected] > >Subject: Re: [Flightgear-users] Closing fgfs' window segfaults > >Date: Fri, 25 Nov 2005 09:24:00 +0100 > > > >Hello dene, > > > > > >On Fri, 25 Nov 2005 18:56:17 +1300 "dene maxwell" > ><[EMAIL PROTECTED]> wrote: > > > > > Hi guys, > > > > > > Just an observation from a windows programmer (amateur) its not wise to > > > close a window if a "close/exit" option is given particularly in an > >Object > > > Oriented environment. shutting a program down without destroying the > > > objectrs that have been created can cause all sorts of memory problems. > > > >Well :-). The [X] button is there so the user can make use of it, and > >there are ways to think it's still interesting to get it here even if the > >app has a menu/quit (if the app is buggy and doesn't quit, or in order to > >forcibly quit for any reason). > > > >And since the program gets the appropriate signal when such button is > >pressed, it's up to the programmers to do things cleanly. But it also means > >that the system itself might ask for the program to close by sending a > >signal > >(close: as supposed cleanly, if possible). One would say, if you don't want > >me to click that button, hide/remove it ;-). > > > > > >Regards, > > > > > >From: wwp <[EMAIL PROTECTED]> > > > >Reply-To: FlightGear user discussions <[email protected]> > > > >To: [email protected] > > > >Subject: Re: [Flightgear-users] Closing fgfs' window segfaults > > > >Date: Thu, 24 Nov 2005 14:13:51 +0100 > > > > > > > >Hello AJ, > > > > > > > > > > > >On Thu, 24 Nov 2005 12:53:40 +0000 AJ MacLeod > > > ><[EMAIL PROTECTED]> wrote: > > > > > > > > > On Thursday 24 November 2005 12:17, wwp wrote: > > > > > > I've noticed that closing fgfs's window always produces a segfault > > > > > > (GNU/Linux), whereas leaving from the menus doesn't. > > > > > > > > > > Does it happen _every_ time you close the fgfs window? > > > > > > > > > > I've experienced the same thing maybe one in 30-50 times I try it, > >and > > > > > having discussed it a few times on IRC it seems others have also > >found > > > >the > > > > > same thing. > > > > > > > >Say.. I tried 7 times, and got it 7 times. I tried both while fgfs is > > > >loading > > > >or after the load is completed (and ready to play). > > > > > > > > > > > > > Unfortunately, in my case it doesn't just segfault but actually > >causes > > > >the > > > > > X server to do an instant restart making debugging rather more > >tricky. > > > > > > > >Eheh, good reason to avoid crashing it :-). > > > > > > > > > > > > > I had been reluctant to report it here without being able to find > >out > > > >more > > > > > about the cause - I was suspicious of the nvidia drivers but you're > > > > > obviously using an ATI card so the problem must affect both. > > > > > > > >Yep, a Dell laptop running FC3 and the latest ATI fglrx drivers. > > > > > > > > > > > > > As a postscript, I can't recall this happening since switching to > >SDL > > > >from > > > > > freeglut in the last month or so - I'll make a point of trying to > >make > > > >fgfs > > > > > misbehave now to check :-) > > > > > > > >Is there an easy way to build fgfs w/ debug option (I must admit that > > > >I didn't look at it yet, but I will, soon), such as ./configure > > > >--enable-debug? So that I report bull bt? > > > > > > > > > > > >Regards, > > > > > > > >-- > > > >wwp > > > > > > > >_______________________________________________ > > > >Flightgear-users mailing list > > > >[email protected] > > > >http://mail.flightgear.org/mailman/listinfo/flightgear-users > > > >2f585eeea02e2c79d7b1d8c4963bae2d > > > > > > _________________________________________________________________ > > > Need more speed? Get Xtra Broadband @ > > > http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html > > > > > > > > > _______________________________________________ > > > Flightgear-users mailing list > > > [email protected] > > > http://mail.flightgear.org/mailman/listinfo/flightgear-users > > > 2f585eeea02e2c79d7b1d8c4963bae2d > > > > > > > > >-- > >wwp > > > >_______________________________________________ > >Flightgear-users mailing list > >[email protected] > >http://mail.flightgear.org/mailman/listinfo/flightgear-users > >2f585eeea02e2c79d7b1d8c4963bae2d > > _________________________________________________________________ > Need more speed? Get Xtra Broadband @ > http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html > > > _______________________________________________ > Flightgear-users mailing list > [email protected] > http://mail.flightgear.org/mailman/listinfo/flightgear-users > 2f585eeea02e2c79d7b1d8c4963bae2d > -- wwp _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
