Olá!
Instalei recentemente o programa FlightGear Launch Control (
http://wiki.flightgear.org/FlightGear_Launch_Control), que é uma interface de usuário para o jogo FlightGear (
http://www.flightgear.org/). Fiz tudo usando os pacotes dos repositórios, instalei via Synaptic, tudo regular.
Acontece que toda vez que inicio o programa, ele não aparece. Rodei-o através do terminal, e me deu o seguinte:
~$ fgrun
Falha de segmentação (imagem do núcleo gravada)
Isto não me ajudou muito. Rodando a internet, descobri que é possível identificar melhor as falhas de segmentação usando o GDB. Rodei-o, e deu o seguinte:
~$ gdb fgrun
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Lendo símbolos de /usr/games/fgrun...(no debugging symbols found)...concluído.
(gdb) run
Starting program: /usr/games/fgrun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00000000004c1a95 in ?? ()
(gdb) backtrace
#0 0x00000000004c1a95 in ?? ()
#1 0x00000000004bf2bb in XML_GetCurrentColumnNumber ()
#2 0x00000000004b7480 in ?? ()
#3 0x00000000004b77cd in ?? ()
#4 0x00000000004b0e07 in ?? ()
#5 0x00000000004b2e32 in ?? ()
#6 0x00000000004b6efd in ?? ()
#7 0x00000000004bae66 in ?? ()
#8 0x00000000004bf027 in XML_Parse ()
#9 0x00000000004b7312 in ?? ()
#10 0x00000000004b77cd in ?? ()
#11 0x00000000004b0e07 in ?? ()
#12 0x000000000043d797 in ?? ()
#13 0x000000000043f168 in ?? ()
#14 0x00000000004400cf in ?? ()
#15 0x0000000000440833 in ?? ()
#16 0x000000000042be49 in ?? ()
#17 0x00007ffff4d37de5 in __libc_start_main (main=0x42bc60, argc=1,
ubp_av=0x7fffffffde98, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffde88) at libc-start.c:260
#18 0x00000000004314dd in ?? ()
#19 0x00007fffffffde88 in ?? ()
#20 0x000000000000001c in ?? ()
---Type <return> to continue, or q <return> to quit---
#21 0x0000000000000001 in ?? ()
#22 0x00007fffffffe25b in ?? ()
#23 0x0000000000000000 in ?? ()
(gdb) frame 3
#3 0x00000000004b77cd in ?? ()
(gdb) print buf
$1 = 0x0
(gdb) kill
Matar o programa que está sendo depurado? (y or n) y
(gdb) q
~$
Alguma dica sobre o que pode estar acontecendo?