[pkg-fgfs-crew] Bug#763285: Bug#763285: flightgear: unable to start (segfault)

Arturo Borrero Gonzalez arturo.borrero.glez at gmail.com
Mon Sep 29 19:24:44 UTC 2014


On 28 September 2014 22:57, Rebecca Palmer <rebecca_palmer at zoho.com> wrote:
> Can you post a gdb backtrace with debugging symbols installed, as follows:
>
> $ sudo apt-get install libsimgearcore3.0.0-dbg libsimgearscene3.0.0-dbg
> $ gdb fgfs
> (gdb) run
> [wait for crash]
> (gdb) thread apply all bt full
>
> Is it possible that you're running out of memory?  FlightGear typically uses
> 1-2.5GB.
>

The machine has 4GB of RAM. No OOM problems so far.


aborrero at nostromo:~$ gdb fgfs
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fgfs...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/fgfs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff0519700 (LWP 5818)]
[Thread 0x7ffff0519700 (LWP 5818) exited]
[New Thread 0x7ffff0519700 (LWP 5819)]
[Thread 0x7ffff0519700 (LWP 5819) exited]
[New Thread 0x7ffff0519700 (LWP 5820)]
[Thread 0x7ffff0519700 (LWP 5820) exited]
[New Thread 0x7ffff0519700 (LWP 5821)]
getDefaultWindow: failed to create GraphicsContext
getDefaultWindow: failed to create GraphicsContext
Enabling ATI viewport hack

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff27c3228 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::string const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) thread apply all bt full

Thread 5 (Thread 0x7ffff0519700 (LWP 5821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007ffff6c5c4bb in pop (this=0x1068c88) at
/home/markus/pkg-flightgear/simgear.git/simgear/threads/SGQueue.hxx:228
No locals.
#2  LogStreamPrivate::run (this=0x1068c70) at
/home/markus/pkg-flightgear/simgear.git/simgear/debug/logstream.cxx:261
        entry = {debugClass = SG_IO, debugPriority = SG_INFO, file =
0xc68538 "/tmp/buildd/flightgear-3.0.0/src/Main/globals.cxx", line =
702,
          message = "1\000\061\063\061\000\000\000ser
sett1\000\000\000\000\000\000\000\020^\b\001\000\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377/aut0\000ave_3_`\000\000\000\000\000\000\000\061\000\000\000\000\000\000\000\000_\b\001\000\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\061\000\000\000\000\000\000\000\200\024*\001\000\000\000\000\061\000\000\000\000\000\000\000\360S\b\001\000\000\000\000\005\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\060.005\000\000\000\060\260)\001\000\000\000\000\061\000\000\000\000\000\000\000\260`\b\001\000\000\000\000\006\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\060.0003\000\000"...}
#3  0x00007ffff6d1bffa in SGThread::PrivateData::start_routine
(data=<optimized out>) at
/home/markus/pkg-flightgear/simgear.git/simgear/threads/SGThread.cxx:204
        thread = <optimized out>
#4  0x00007ffff747c0a4 in start_thread (arg=0x7ffff0519700) at
pthread_create.c:309
        __res = <optimized out>
        pd = 0x7ffff0519700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737225266944,
-3102045487065405681, 1, 17208208, 19, 140737225266944,
3102050727470360335,
                3102061634882299663}, 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  0x00007ffff1f29c2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 1 (Thread 0x7ffff7fc9840 (LWP 5814)):
#0  0x00007ffff27c3228 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string(std::string const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#1  0x00007ffff6ca2e71 in SGPath::SGPath (this=0x7fffffffdc10, p=...,
validator=0x0) at
/home/markus/pkg-flightgear/simgear.git/simgear/misc/sg_path.cxx:122
No locals.
#2  0x00000000008878d5 in flightgear::NavDataCache::NavDataCache() ()
No symbol table info available.
#3  0x000000000088876b in flightgear::NavDataCache::instance() ()
No symbol table info available.
#4  0x00000000005e1593 in fgMainInit(int, char**) ()
No symbol table info available.
#5  0x00000000005a43f1 in main ()
No symbol table info available.

-- 
Arturo Borrero González



More information about the pkg-fgfs-crew mailing list