I decided to enable the 3D clouds so I could see the source of my 
recent pain ;).  It seems as if the file large.sky as some endian 
issues.  My FlightGear session hung as the process consumed 1GB (and 
counting) of memory.  I restarted it under gdb and found that it was 
trying to load 452984832 bytes of data.  Well, 452984832 is also 
0x1b000000 so the warning flags went off.

FWIW, here is the info out of gdb:

(gdb) backtrace
#0  0x90074b68 in memmove ()
#1  0x0015fbc0 in SkyArchive::AddData(char const*, SkyArchiveTypeCode, 
void const*, unsigned, unsigned) (this=0xbfffddd0, pName=0xbfffdae1 
"CloudFile", eType=STRING_TYPE, pData=0xfa9f000, iNumBytes=452984832, 
iNumItems=1) at SkyArchive.cpp:179
#2  0x00160d84 in SkyArchive::_Load(__sFILE*) (this=0xbfffddd0, 
pSrcFile=0xa00069a8) at SkyArchive.cpp:1194
#3  0x001608e0 in SkyArchive::Load(char const*) (this=0xbfffddd0, 
pFileName=0xa00069a8 "\rĄZMĄZ") at SkyArchive.cpp:976
#4  0x0005d92c in SkySceneLoader::Load(std::string) (this=0x2aa9f000, 
filename={static npos = 4294967295, _M_dataplus = {<allocator<char>> = 
{<No data fields>}, _M_p = 0xbfffde40 "ĄZĄZĄZ\220.ĄZiy"}, static 
_S_empty_rep_storage = {0, 0, 67, 0}}) at 
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.h:754
#5  0x00014a50 in fgInitSubsystems() () at 
/sw/include/simgear/misc/sg_path.hxx:106
#6  0x00005ef0 in fgIdleFunction() () at main.cxx:1282

As you can also see, at frame 3, there is a rather interesting file 
name.

I will go back to what I had before, but let me know when you want me 
to give the 3D clouds another shot on the Mac.


Jonathan Polley


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to