Re: [Flightgear-devel] Re: fix for exit crash

2006-03-07 Thread Jean-Yves Lefort
On Tue, 7 Mar 2006 08:07:00 +0100 Melchior FRANZ [EMAIL PROTECTED] wrote: * Martin Spott -- Monday 06 March 2006 15:17: FreeBSD-5.3: Assertion failed: (status == 0), function ~SGMutex, file /opt/FlightGear/include/simgear/threads/SGThread.hxx, line 227. Abort (core dumped) OK,

Re: [Flightgear-devel] Re: fix for exit crash

2006-03-07 Thread Jean-Yves Lefort
On Tue, 7 Mar 2006 09:39:31 +0100 Melchior FRANZ [EMAIL PROTECTED] wrote: * Jean-Yves Lefort -- Tuesday 07 March 2006 09:30: Melchior FRANZ [EMAIL PROTECTED] wrote: If it can'tbe done cleanly before the release, then we can still [...] What about my solution? Oh, true. Still an ugly

Re: [Flightgear-devel] Re: fix for exit crash

2006-03-06 Thread Erik Hofman
Melchior FRANZ wrote: * Jean-Yves Lefort -- Sunday 05 March 2006 03:06: The attached patch fixes a crash which occurs on exit. Anyone else seeing this crash (which really is a deliberate abort())? Or is it a BSD feature? I've seen this assertion failure at least once on IRIX. I'm not all

RE: [Flightgear-devel] Re: fix for exit crash

2006-03-06 Thread Vivian Meazza
Melchior FRANZ I'm also getting the very annoying ... leaving my airspace ... crash, which looks very similar. Can you post a backtrace for that? It doesn't happen every time, and it isn't happening right now. The next time it does, I'll try to get a bt. V.

Re: [Flightgear-devel] Re: fix for exit crash

2006-03-06 Thread Jean-Yves Lefort
On Mon, 6 Mar 2006 08:01:54 +0100 Melchior FRANZ [EMAIL PROTECTED] wrote: In the FGMetarEnvironmentCtrl destructor, thread-cancel() causes the following thread-join() call to return without actually waiting on the thread (btw, thread-cancel() does not cause the thread to exit). It causes

Re: [Flightgear-devel] Re: fix for exit crash

2006-03-06 Thread Jean-Yves Lefort
On Mon, 6 Mar 2006 11:37:21 +0100 Melchior FRANZ [EMAIL PROTECTED] wrote: * Jean-Yves Lefort -- Monday 06 March 2006 11:28: pthread_cancel() does cause the thread to exit, but the C++ destructors are not invoked. The SGGuard destructor can therefore not unlock the mutex. Which