Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Dave L
On Fri, Feb 4, 2011 at 3:10 PM, Ivan Ngeow  wrote:

> On 4 February 2011 22:44, Martin Spott  wrote:
>
>>     and maybe restore individual files from here - or configure
>> with "--disable-atcdcl", which, as far as I remember, has recently been
>> re-enabled by default.
>>
>
> Yes I vaguely remember that too. Unfortunately,
>
> configure:18083: WARNING: Unrecognized options: --disable-atcdcl
>
>
>
Hi Ivan, Martin,

The atcdcl compile option no longer exists.  All the interactive ATC and AI
has been removed from atcdcl, and the ATIS re-instated until (if) it gets
ported to Durk's ATC.

Unfortunately I can't reproduce this crash, even using the options listed in
the first post.  However, I really don't think that default.transmissions
should be read from anywhere in the code now.  Maybe this indicates a source
/ data mismatch - if you have fresh data but older source that expects to
find it this could be an issue?

Failing that, perhaps you could uncomment all the "cout" lines in ATCMgr.cxx
and post the result prior to the crash.

Cheers - Dave
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Ivan Ngeow
On 4 February 2011 22:44, Martin Spott  wrote:

>     and maybe restore individual files from here - or configure
> with "--disable-atcdcl", which, as far as I remember, has recently been
> re-enabled by default.
>

Yes I vaguely remember that too. Unfortunately,

configure:18083: WARNING: Unrecognized options: --disable-atcdcl


Further experiment:
Running fgfs --fg-root=/path/to/old/FGROOT the sim actually makes it further
enough to show the cockpit and scenery, then segfaults after about 2 to 3
seconds of runtime, at the exact same spot

0x080e91e9 in FGATCMgr::update (this=0x53791970, dt=0.03)
at ATCmgr.cxx:119

Note that with the GIT FGROOT the sim doesn't even make it to the cockpit &
scenery stage of startup.

This suggests that the problem is more than that of missing files...?

-ivan
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Martin Spott
Ivan Ngeow wrote:

> And the segfault remains, same location, after restoring this file. Perhaps
> there are other files removed?

Well, quite a few files had been removed, but none of the other
removals is crashing FlightGear.  If you think 'your' crash is related
to one of the other file removals, then you might want to have a look
at the history:

  http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=history;f=ATC;hb=HEAD

    and maybe restore individual files from here - or configure
with "--disable-atcdcl", which, as far as I remember, has recently been
re-enabled by default.

Just a rough guess,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Ivan Ngeow
On 4 February 2011 21:49, Martin Spott  wrote:

> Martin Spott wrote:
> >
> >> The file "$FG_ROOT/ATC/default.transmissions" is missing from the Base
> >> Package - and 'touch'ing an empty file just leads to FG eating all
> >> memory.
> >
> > Get it from here:
> >
> >
> http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=blob_plain;f=ATC/default.transmissions;hb=f8c697ef4274fef4fd821d3b9316bbda1030a05f
>
> As an intermediate solution I've just reverted the respective file
> removal until someone provides a proper fix.
>
> And the segfault remains, same location, after restoring this file. Perhaps
there are other files removed?

-ivan
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Martin Spott
Martin Spott wrote:
> Martin Spott wrote:
> 
>> The file "$FG_ROOT/ATC/default.transmissions" is missing from the Base
>> Package - and 'touch'ing an empty file just leads to FG eating all
>> memory.
> 
> Get it from here:
> 
>  
> http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=blob_plain;f=ATC/default.transmissions;hb=f8c697ef4274fef4fd821d3b9316bbda1030a05f

As an intermediate solution I've just reverted the respective file
removal until someone provides a proper fix.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Martin Spott
Ivan Ngeow wrote:
> On 4 February 2011 19:07, Martin Spott wrote:

>> Get it from here:
>>
>>
>> http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=blob_plain;f=ATC/default.transmissions;hb=f8c697ef4274fef4fd821d3b9316bbda1030a05f
>>
> 
> 
> nup, this link doesn't work.

Maybe your MUA broke it, in this case get a copy of my EMail from The
Archive, which has the link formatted correctly:

  
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg30734.html

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Ivan Ngeow
On 4 February 2011 19:07, Martin Spott  wrote:

> Martin Spott wrote:
>
> > The file "$FG_ROOT/ATC/default.transmissions" is missing from the Base
> > Package - and 'touch'ing an empty file just leads to FG eating all
> > memory.
>
> Get it from here:
>
>
> http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=blob_plain;f=ATC/default.transmissions;hb=f8c697ef4274fef4fd821d3b9316bbda1030a05f
>


nup, this link doesn't work.
And I can't find $FG_ROOT/ATC/default.transmissions in any of the trees on
mapserver GIT.

-ivan
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Martin Spott
Martin Spott wrote:

> The file "$FG_ROOT/ATC/default.transmissions" is missing from the Base
> Package - and 'touch'ing an empty file just leads to FG eating all
> memory.

Get it from here:

  
http://mapserver.flightgear.org/git/gitweb.pl?p=fgdata;a=blob_plain;f=ATC/default.transmissions;hb=f8c697ef4274fef4fd821d3b9316bbda1030a05f

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault in today's GIT

2011-02-04 Thread Martin Spott
Ivan Ngeow wrote:

> Today's SG, FG and fgdata.
> 
> FreeBSD-8.0.

Same here (on Debian Linux).
The file "$FG_ROOT/ATC/default.transmissions" is missing from the Base
Package - and 'touch'ing an empty file just leads to FG eating all
memory.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] segfault in today's GIT

2011-02-03 Thread Ivan Ngeow
Today's SG, FG and fgdata.

FreeBSD-8.0.

0x080e91e9 in FGATCMgr::update (this=0x537fbf60, dt=0.0083332)
at ATCmgr.cxx:119
119 (*atc_list_itr).second->Update(dt * atc_list->size());
(gdb) bt
#0  0x080e91e9 in FGATCMgr::update (this=0x537fbf60,
dt=0.0083332)
at ATCmgr.cxx:119
#1  0x0806f0a8 in fgMainLoop () at main.cxx:147
#2  0x080d31bc in fgOSMainLoop () at fg_os_osgviewer.cxx:284
#3  0x0806c715 in fgMainInit (argc=2, argv=0xbfbfe9dc) at main.cxx:632
#4  0x0806b90f in main (argc=2, argv=0xbfbfe9dc) at bootstrap.cxx:243

.fgfsrc:
--aircraft=ufo
--disable-sound
--disable-real-weather-fetch
--prop:/sim/atc/enabled=0
--prop:/sim/ai-traffic/enabled=0
--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel