Hi, Thank you for your reply.
Yes, after disable the terrasync, it would not crash anymore. The crash is possibly related to the terrasync, but it is impossible caused by running out of memory. This computer has 8gb memory. The most importantly, the objects still cannot be loaded. Here is the debug backtrack information: (gdb) thread apply all bt full Thread 17 (Thread 0x7fffee948700 (LWP 17915)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 No locals. #1 0x00007ffff6bee2eb in pop (this=0x115bba8) at /build/simgear-cdeqyX/simgear-3.0.0/simgear/threads/SGQueue.hxx:228 No locals. #2 LogStreamPrivate::run (this=0x115bb90) at /build/simgear-cdeqyX/simgear-3.0.0/simgear/debug/logstream.cxx:261 entry = {debugClass = SG_GENERAL, debugPriority = SG_INFO, file = 0x7ffff71d4348 "/build/simgear-cdeqyX/simgear-3.0.0/simgear/scene/material/matlib.cxx", line = 159, message = "SGMaterialLib::~SGMaterialLib() size=284\000\000\000\000\000\000\000\000!\001\000\000\000\000\000\000\260\066\177\002\000\000\000\000`U5\001\000\000\000\000\020\235\a\365\377\177\000\000\320]5\001", '\000' <repeats 12 times>, "\220\234\a\365\377\177\000\000\020^5\001\000\000\000\000\001", '\000' <repeats 11 times>, "\005\000\000\000\003", '\000' <repeats 15 times>, "\006\000\000\000\377\377\377\377\000\000\000\000\000\000\000\000\261\000\000\000\000\000\000\000\240E=\001\000\000\000\000\060\\5\001", '\000' <repeats 12 times>, "\377\377\377\377\000\000\000\000"...} #3 0x00007ffff6cb76ba in SGThread::PrivateData::start_routine ( data=<optimized out>) ---Type <return> to continue, or q <return> to quit--- at /build/simgear-cdeqyX/simgear-3.0.0/simgear/threads/SGThread.cxx:204 thread = <optimized out> #4 0x00007ffff745f0a4 in start_thread (arg=0x7fffee948700) at pthread_create.c:309 __res = <optimized out> pd = 0x7fffee948700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737196099328, -6069302863538622369, 1, 18203328, 20, 140737196099328, 6069264719863410783, 6069286284442923103}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #5 0x00007ffff1e39c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 1 (Thread 0x7ffff7fb5880 (LWP 17855)): #0 0x0000000008429b50 in ?? () ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #1 0x00007ffff5277510 in osg::StateAttribute::removeParent(osg::StateSet*) () from /usr/lib/x86_64-linux-gnu/libosg.so.100 No symbol table info available. #2 0x00007ffff528a964 in osg::StateSet::clear() () from /usr/lib/x86_64-linux-gnu/libosg.so.100 No symbol table info available. #3 0x00007ffff528ab9e in osg::StateSet::~StateSet() () from /usr/lib/x86_64-linux-gnu/libosg.so.100 No symbol table info available. #4 0x00007ffff528ae39 in osg::StateSet::~StateSet() () from /usr/lib/x86_64-linux-gnu/libosg.so.100 No symbol table info available. #5 0x00007ffff71622df in unref (this=<optimized out>) at /usr/include/osg/Referenced:198 this = <optimized out> #6 ~ref_ptr (this=0x1139c98, __in_chrg=<optimized out>) at /usr/include/osg/ref_ptr:35 No locals. #7 ~GroundLightManager (this=0x1139c80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/simgear-cdeqyX/simgear-3.0.0/simgear/scene/tgdb/GroundLightManager.hxx:32 ---Type <return> to continue, or q <return> to quit--- No locals. #8 simgear::GroundLightManager::~GroundLightManager (this=0x1139c80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/simgear-cdeqyX/simgear-3.0.0/simgear/scene/tgdb/GroundLightManager.hxx:32 No locals. #9 0x00007ffff1d8bb39 in __run_exit_handlers (status=0, listp=0x7ffff20f65a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> f = <optimized out> #10 0x00007ffff1d8bb85 in __GI_exit (status=<optimized out>) at exit.c:104 No locals. #11 0x00007ffff1d75b4c in __libc_start_main (main=0x59ffd0 <main>, argc=1, argv=0x7fffffffe2f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe2e8) at libc-start.c:321 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6069302863538622369, 6004839, 140737488347888, 0, 0, 6069302862553608287, 6069271876255805535}, mask_was_saved = 0}}, priv = {pad = { 0x0, 0x0, 0xd4bf40 <__libc_csu_init>, 0x7fffffffe2f8}, data = { ---Type <return> to continue, or q <return> to quit--- prev = 0x0, cleanup = 0x0, canceltype = 13942592}}} not_first_call = <optimized out> #12 0x00000000005ba090 in _start () No symbol table info available. (gdb) On 10/03/2014 06:56 AM, Rebecca Palmer wrote: > Please install the debugging symbols and run a backtrace, as follows: > > $ sudo apt-get install libsimgearcore3.0.0-dbg libsimgearscene3.0.0-dbg gdb > $ gdb fgfs > (gdb) run > [wait for crash] > (gdb) thread apply all bt full > > Is it possible that you're running out of memory? Given that you have > TerraSync enabled (which is higher resolution than the built-in > scenery), expect to use around 2.5GB. > > The 'not found' errors suggest an incomplete Terrasync download (terrain > but not the objects that go with it), but I don't know if they're > related to the crash; does > $ fgfs --disable-terrasync > load successfully? If it does, try turning Terrasync back on via the > tick box under File > Scenery Download and waiting for it to finish > (~200MB, Information shows status), then closing and restarting FlightGear. >
signature.asc
Description: OpenPGP digital signature