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.
in the programs I write I always have a routine associated with the
"menu-file-exit" action that goes through each class of object used and
destroys each instance of every class used.
Cheers
Dene
From: wwp <[EMAIL PROTECTED]>
Reply-To: FlightGear user discussions <flightgear-users@flightgear.org>
To: flightgear-users@flightgear.org
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
Flightgear-users@flightgear.org
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
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d