Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-27 Thread Torsten Dreyer
Am 27.07.2011 11:04, schrieb Durk Talsma: This one happen also at KNID with 87bd2bf, AFAIK, KNID doesn't have any ground network. In the meantime I reverted to friday evening FG (3723de5) and then it was OK again. I'm currently committing a fix for this problem. As I already suspected, the

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-27 Thread Durk Talsma
On 27 Jul 2011, at 11:54, Torsten Dreyer wrote: Here is another one to chew on: How to I close the ATC Dialog? It pops up again every time I hit the Cancel button or press Escape. Great that it works now! With regard to the dialog, just press the apostrophe (') key again. (Note that this

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-27 Thread Torsten Dreyer
Am 27.07.2011 11:58, schrieb Durk Talsma: On 27 Jul 2011, at 11:54, Torsten Dreyer wrote: Here is another one to chew on: How to I close the ATC Dialog? It pops up again every time I hit the Cancel button or press Escape. Great that it works now! With regard to the dialog, just press the

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Durk Talsma
On 26 Jul 2011, at 07:43, Torsten Dreyer wrote: Am 25.07.2011 23:19, schrieb Durk Talsma: Okay, I'll have a look. Just to make sure: This is a problem that only shows up during program shutdown? Correct - sorry, I didn't mention that. It should be fixed now. As it turned out the

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Torsten Dreyer
Am 26.07.2011 18:35, schrieb Durk Talsma: On 26 Jul 2011, at 07:43, Torsten Dreyer wrote: Am 25.07.2011 23:19, schrieb Durk Talsma: Okay, I'll have a look. Just to make sure: This is a problem that only shows up during program shutdown? Correct - sorry, I didn't mention that. It should

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Torsten Dreyer
Am 26.07.2011 22:00, schrieb Torsten Dreyer: Am 26.07.2011 18:35, schrieb Durk Talsma: On 26 Jul 2011, at 07:43, Torsten Dreyer wrote: Am 25.07.2011 23:19, schrieb Durk Talsma: Okay, I'll have a look. Just to make sure: This is a problem that only shows up during program shutdown?

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Durk Talsma
Hi Torsten, Thanks for the report. I can confirm the crash, which means that I'm optimistic that I find a solution tomorrow. I've just seen a similar report at the forum, so I should have at least two test cases for this. cheers, Durk

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Torsten Dreyer
Am 26.07.2011 22:26, schrieb Durk Talsma: Hi Torsten, Thanks for the report. I can confirm the crash, which means that I'm optimistic that I find a solution tomorrow. I've just seen a similar report at the forum, so I should have at least two test cases for this. Just noticed: happens at

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Durk Talsma
Hi Torsten, On 26 Jul 2011, at 22:34, Torsten Dreyer wrote: Am 26.07.2011 22:26, schrieb Durk Talsma: Hi Torsten, Thanks for the report. I can confirm the crash, which means that I'm optimistic that I find a solution tomorrow. I've just seen a similar report at the forum, so I should

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Guy Brand
On Jul 26, Torsten Dreyer wrote: Just noticed: happens at EHAM, too. c172p, no parkpos, no live weather (Fair Weather), a few seconds after takeoff from rwy 18R. ATC Services in range button from the radio panel (F12) also does no longer show any airport frequencies (testing from EHAM with

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-26 Thread Citronnier - Alexis Bory
Le 26/07/2011 22:45, Durk Talsma a écrit : Hi Torsten, On 26 Jul 2011, at 22:34, Torsten Dreyer wrote: Am 26.07.2011 22:26, schrieb Durk Talsma: Hi Torsten, Thanks for the report. I can confirm the crash, which means that I'm optimistic that I find a solution tomorrow. I've just seen a

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Torsten Dreyer
Looks like I missed pushing part of my local changes onto gitorious. It should be working now (apart from updating hte MSVC build files). Hi Durk, starting at KSFO without a parkpos define, I get a segfault in AIFlightPlanCreate::createTakeOff() because firstFlight is set to false and the

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Durk Talsma
On 25 Jul 2011, at 20:59, Torsten Dreyer wrote: Looks like I missed pushing part of my local changes onto gitorious. It should be working now (apart from updating hte MSVC build files). Hi Durk, starting at KSFO without a parkpos define, I get a segfault in

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Torsten Dreyer
Okay, I'll have a look. I *thought* that I had fixed all initialization issues this morning, but maybe I introduced a related problem. I expect to find a solution later this evening. Thanks for reporting! It's probably a good idea to initialize properties in the constructor to NULL and

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Durk Talsma
On 25 Jul 2011, at 21:32, Torsten Dreyer wrote: It's probably a good idea to initialize properties in the constructor to NULL and check their values before usage in the createXXX methods (assert() is your friend). Might cause some long debugging nights later, once you forgot how your

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Torsten Dreyer
Sounds like a good idea. In any case, I have just commited a fix that should solve the runway initialization problem. OK - that fixed the initialization issue. looking at the code, there is still one rwy initialization on line 517 in createClimb() like those you just moved. And I now get a

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Durk Talsma
On 25 Jul 2011, at 22:54, Torsten Dreyer wrote: Sounds like a good idea. In any case, I have just commited a fix that should solve the runway initialization problem. OK - that fixed the initialization issue. looking at the code, there is still one rwy initialization on line 517 in

Re: [Flightgear-devel] Segfault in AIFlightPlanCreate

2011-07-25 Thread Torsten Dreyer
Am 25.07.2011 23:19, schrieb Durk Talsma: On 25 Jul 2011, at 22:54, Torsten Dreyer wrote: Sounds like a good idea. In any case, I have just commited a fix that should solve the runway initialization problem. OK - that fixed the initialization issue. looking at the code, there is still one