Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread Alan Teeder
James

I am still seeing this crash, which I can cure by reverting the last GPS patch.

I have removed just about everything from system.fgfsrc :-

--fg-root=C:/FlightGear/fgdata
--fg-scenery=C:\FlightGear\Terrasync;C:\FlightGear\Scenery
--aircraft=Buccaneer
--control=joystick

and deleted the contents of C:/Users/Alan/AppData/Roaming/flightgear.org, but 
all to no avail.

I am building with osg80 ,Boost_1_53_0 and 3rd part files from 
ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/

Are there any other reports of this?. I see it on my desktop and laptop 
machines. Occasionally fgfs starts normally. There is at least an 80% chance of 
failure.

Alan

From: Alan Teeder 
Sent: Wednesday, May 29, 2013 10:34 AM
To: FlightGear developers discussions 
Subject: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

commit def81b4de5f87c28b5afd92264e40e66e4fd93e3
Author: James Turner
Date:   Mon May 27 22:56:12 2013 +0100

Restore GPS compatibility with 2.10

With this patch fgfs crashes. All is OK when I revert it.

The crash is about 80% repeatable, i.e. sometimes it runs, but mostly it does 
not. I have not tried a debug compilation.

Here are the last few lines of fgfs.log :-

general:3:C:\FlightGear\flightgear\src\Main\fg_init.cxx:774:Nasal init took:414
general:3:C:\FlightGear\flightgear\src\Time\TimeManager.cxx:354:After 
TimeManager::setTimeOffset(): warp = 9480
nasal:3:C:\FlightGear\flightgear\src\Scripting\NasalPositioned.cxx:1744:created 
Nasal delegate for 1CC43F30
nasal:3:C:\FlightGear\flightgear\src\Scripting\NasalPositioned.cxx:1744:created 
Nasal delegate for 1CC43F30
autopilot:3:C:\FlightGear\flightgear\src\Autopilot\route_mgr.cxx:762:route 
manager, current-wp is now -1
input:4:C:\FlightGear\simgear\simgear\structure\SGBinding.cxx:59:No command 
supplied for binding.
input:4:C:\FlightGear\simgear\simgear\structure\SGBinding.cxx:59:No command 
supplied for binding.
ai:3:C:\FlightGear\flightgear\src\AIModel\AIManager.cxx:157:loading scenario 
'nimitz_demo'
general:4:C:/FlightGear/install/msvc100/include\simgear/props/tiedpropertylist.hxx:60:Failed
 to tie property /ai[0]/models[0]/carrier[0]/controls[0]/constants[0]/rudder[0]
general:4:C:/FlightGear/install/msvc100/include\simgear/props/tiedpropertylist.hxx:60:Failed
 to tie property /ai[0]/models[0]/carrier[1]/controls[0]/constants[0]/rudder[0]
general:3:C:\FlightGear\flightgear\src\Main\fg_init.cxx:802:Subsystems postinit 
took:6
general:3:C:\FlightGear\flightgear\src\Main\fg_init.cxx:811:

Windows 7 64 bit, MSVC10, 32bit build

Alan



--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1 



___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread James Turner

On 1 Jun 2013, at 10:55, Alan Teeder ajtee...@v-twin.org.uk wrote:

 Are there any other reports of this?. I see it on my desktop and laptop 
 machines. Occasionally fgfs starts normally. There is at least an 80% chance 
 of failure.
 

There's no other reports so far, I was hoping some other folks who use Windows 
would have reported any issues. I take it, it occurs relatively early on 
startup, so I shall try some runs using valgrind here, since it is very likely 
the problem is memory corruption. The commit in question actually fixes a 
couple of memory leaks (albeit benign ones), but there is presumably something 
else going on.

I suppose you have done a rebuild from clean of FlightGear? I did change one 
type from being a dumb pointer to a smart-pointer, but since you are using 
VisualStudio it's unlikely the IDE would have failed to notice this when 
rebuilding. (don't worry about Boost / OSG, just FG itself)

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread Alan Teeder
Build Clean of simgear and fgfs seems to have cured the problem. 4 
successful starts so far on the desktop.  I will try now with the laptop.

Time for a bit of Bill Gates bashing ? ;-)

Thanks

Alan

-Original Message- 
From: James Turner
Sent: Saturday, June 01, 2013 11:18 AM
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10


On 1 Jun 2013, at 10:55, Alan Teeder ajtee...@v-twin.org.uk wrote:

 Are there any other reports of this?. I see it on my desktop and laptop 
 machines. Occasionally fgfs starts normally. There is at least an 80% 
 chance of failure.


There's no other reports so far, I was hoping some other folks who use 
Windows would have reported any issues. I take it, it occurs relatively 
early on startup, so I shall try some runs using valgrind here, since it is 
very likely the problem is memory corruption. The commit in question 
actually fixes a couple of memory leaks (albeit benign ones), but there is 
presumably something else going on.

I suppose you have done a rebuild from clean of FlightGear? I did change one 
type from being a dumb pointer to a smart-pointer, but since you are using 
VisualStudio it's unlikely the IDE would have failed to notice this when 
rebuilding. (don't worry about Boost / OSG, just FG itself)

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] new team clone on gitorious.org specifically for download_and_compile.

2013-06-01 Thread Pat
On Sat, 01 Jun 2013 10:16:10 +0100
James Turner zakal...@mac.com wrote:

 
 On 1 Jun 2013, at 04:00, Pat pat.callah...@gmail.com wrote:
 
  I created a new team clone of fgmeta on gitorious.
 
 I'm a little confused by the need for the fgmeta clone - but of
 course delighted to have people working on the compile script. Why
 don't we simply add the script to the fg fgmeta repository and
 maintain it there?
 

It's already in the fgmeta repository as version 1.9.4.  

Since I don't expect to get commit rights in the main tree,  I created
a team clone. I thought that might be the right way to do things.
They're easy enough to get rid of if we don't need one.

snip CMake superbuilds using fgmeta. snip

That's one of the ideas being floated on the wiki.  I'll do
some reading on this and try to write it up for the wiki article on
scripted compilation. 

-Pat

I thought this might be appropriate: 
There is another system... http://www.youtube.com/watch?v=3R6COGKX8ws


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread Vivian Meazza
Alan


Sent: 01 June 2013 14:51
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

Stop the celebrations.

The laptop still has the fault after a clean build.  AFAIK both computers
have the same file layout and relevant environment/paths settings.

My Bill Gates mannequin now has so many nails in it that it is hard to find
space to hammer in a new one. 

Yup, FG crashes here with the latest pull of SG/FG on Win 7 x64

Vivian


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Updating Flightgear and Simgear Shared Builds

2013-06-01 Thread Saikrishna Arcot
If a shared build of Flightgear and Simgear is done, and Simgear is
updated, then does Flightgear need to be rebuilt?

-- 
Saikrishna Arcot


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread James Turner

On 1 Jun 2013, at 16:20, Vivian Meazza vivian.mea...@lineone.net wrote:

 Yup, FG crashes here with the latest pull of SG/FG on Win 7 x64

A bit of information would be useful since it's not crashing for me :) 

Alan provided a backtrace but it looks suspect to me, of course if it's memory 
corruption that may be expected, but I'd appreciate someone running 3-4 
attempts and checking if the dump is mangled and different each time (likely 
memory corruption) or in the same place consistently (could still be memory 
corruption, but easier to track down).

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Updating Flightgear and Simgear Shared Builds

2013-06-01 Thread James Turner

On 1 Jun 2013, at 16:33, Saikrishna Arcot saiarcot...@gmail.com wrote:

 If a shared build of Flightgear and Simgear is done, and Simgear is
 updated, then does Flightgear need to be rebuilt?

Technically, no, however the shared Simgear option exists originally as a help 
for developers (to reduce my linking times with fgfs when rebuilding). So while 
it ought to work, we've never explicitly made any guarantees in this area.

Equally, I don't know of any technical reason it would be a problem (assuming 
simgear_config.h matches the build simgear library)

Are you asking because you've tried and it doesn't work, or just being cautious?

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Updating Flightgear and Simgear Shared Builds

2013-06-01 Thread Saikrishna Arcot
I'm just being cautious. Currently, I'm rebuilding Flightgear after 
every Simgear update, but if it's not necessary, then I can get rid of 
a rebuild.

Using ldd, it does seem that it's considering Simgear as a dependency, 
so it seems safe to not do a rebuild.

Saikrishna Arcot

On Sat 01 Jun 2013 11:30:45 AM CDT, James Turner wrote:

 On 1 Jun 2013, at 16:33, Saikrishna Arcot saiarcot...@gmail.com wrote:

 If a shared build of Flightgear and Simgear is done, and Simgear is
 updated, then does Flightgear need to be rebuilt?

 Technically, no, however the shared Simgear option exists originally as a 
 help for developers (to reduce my linking times with fgfs when rebuilding). 
 So while it ought to work, we've never explicitly made any guarantees in this 
 area.

 Equally, I don't know of any technical reason it would be a problem (assuming 
 simgear_config.h matches the build simgear library)

 Are you asking because you've tried and it doesn't work, or just being 
 cautious?

 Regards,
 James


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread Alan Teeder
It is consistent every time, and across machines. Windows debugger points to 
an opengl error, but AFAIK, that is not what you have modified?

-Original Message- 
From: James Turner
Sent: Saturday, June 01, 2013 5:28 PM
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10


On 1 Jun 2013, at 16:20, Vivian Meazza vivian.mea...@lineone.net wrote:

 Yup, FG crashes here with the latest pull of SG/FG on Win 7 x64

A bit of information would be useful since it's not crashing for me :)

Alan provided a backtrace but it looks suspect to me, of course if it's 
memory corruption that may be expected, but I'd appreciate someone running 
3-4 attempts and checking if the dump is mangled and different each time 
(likely memory corruption) or in the same place consistently (could still be 
memory corruption, but easier to track down).

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread Vivian Meazza
James


Sent: 01 June 2013 17:28
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10


On 1 Jun 2013, at 16:20, Vivian Meazza vivian.mea...@lineone.net wrote:

 Yup, FG crashes here with the latest pull of SG/FG on Win 7 x64

A bit of information would be useful since it's not crashing for me :) 

Alan provided a backtrace but it looks suspect to me, of course if it's
memory corruption that may be expected, but I'd appreciate someone running
3-4 attempts and checking if the dump is mangled and different each time
(likely memory corruption) or in the same place consistently (could still be
memory corruption, but easier to track down).

OK - so far I've identified that the cause is one of the 2 GPS related
commits - reverting both solves the problem.

Vivian 


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Restore GPS compatibility with 2.10 - MSVC10

2013-06-01 Thread James Turner

On 1 Jun 2013, at 17:52, Vivian Meazza vivian.mea...@lineone.net wrote:

 OK - so far I've identified that the cause is one of the 2 GPS related
 commits - reverting both solves the problem.

Right, Alan already worked out the relevant commit, the problem is the commit 
in question mostly restores code that's existed since 2.6 (With some edits of 
course, nothing is ever that simple).

So I can't simply revert the commit, I need a bit more investigation by people 
affected to narrow down where I should be looking. I've already eyeballed the 
diffs and nothing obvious is jumping out at me, but that's often the way when 
reviewing one's own code :)

If someone on Linux could do a valgrind run of start-up, that might help, alas 
valgrind is not co-operating on Mac today and the Mac leak tools and 
heap-debugger aren't detecting anything anomalous.

Regards,
James


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] getstart autogeneration on mapserver stopping to work?

2013-06-01 Thread YOSHIMATSU Toshihide
Oliver, Thanks for your commit to git repository.
It solved tex compile error on my machine (Tex Live on cygwin), however 
the manual on mapserver has still not be updated.

Martin, could you please investigate what is the problem on mapserver?

Here I'll summarize my think about the getstart problem on map server.

(1) Current html version in
http://mapserver.flightgear.org/getstart/
was generated on mapserver on February 16, 2013.
Howerver, tex compilation seems to be stopped at 8.10 The autopilot.

This issue was caused by an incorrect weblong usage on Feb. 16 in
http://gitorious.org/fg/getstart/commit/4bb44e69eead605fd626a83e7535640b9ad908ce,
and was fixed on Feb. 17 in
http://gitorious.org/fg/getstart/commit/2c00caf3d7f00d69e02b0c6f3ed0c1903763e3d1.
However, the manual on mapserver has not be updated until now.

(2) Current pdf version in
http://mapserver.flightgear.org/getstart.pdf
was generated on mapserver on February 12, 2013.
Probably, it will be updated when the autogeneration issue for html 
version is fixed on mapserver.

Cheers,
toshi

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel