Board index FlightGear Support

Segment Fault error with the launcher

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Segment Fault error with the launcher

Postby bbuske » Sat Oct 13, 2018 2:52 am

Hi,

lately when I try to start FG with the launcher, it crashes with a Segment Fault error, core dumped.
This happened out of the sudden. Starting FG from the command line works fine and without any issue.
Any ideas how to fix this or what has caused it? I have been looking into the log files, but there wasn't any information in them and the console doesn't seem to give anything useful. This is the last useful part of the console:

ICE default IO error handler doing an exit(), pid = 25601, errno = 32
Segmentation fault (core dumped)

This happened, when launching the game from the command line and then from in game trying yo open the launcher. When trying to start from launcher directly, it won't start at all.

Any help is appreciated!

Cheers,
Ben

PPL(A) (2009), CPL(A)(2011), ATPL(A)(2015)
bbuske
 
Posts: 56
Joined: Mon Aug 20, 2018 5:39 pm

Re: Segment Fault error with the launcher

Postby Parnikkapore » Sat Oct 13, 2018 10:23 am

Which distro (or operating system) are you using?

Anyway, can you run the game via the following commands in the console so we can see what's going on?

# gdb fgfs
gdb> run --launcher
(get FlightGear to crash. The window will not disappear, but freeze.)
gdb> bt full
(Paste what appears here between [code] tags.)
There are free alternatives to every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 796
Joined: Thu Oct 29, 2015 10:16 am
Callsign: HS-FGS
Version: next [PPA]
OS: Mint 18

Re: Segment Fault error with the launcher

Postby bbuske » Sat Oct 13, 2018 11:21 am

Hi,

here you go:

Code: Select all
bbuske@BUSB1:~$ gdb fgfs
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 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 --launcher
Starting program: /usr/games/fgfs --launcher
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe443d700 (LWP 3779)]
[New Thread 0x7fffe443d700 (LWP 3780)]
[Thread 0x7fffe443d700 (LWP 3779) exited]
[Thread 0x7fffe443d700 (LWP 3780) exited]
[New Thread 0x7fffe443d700 (LWP 3781)]
FlightGear:  Version 2018.2.2
FlightGear:  Build Type Dev
Built with GNU C++ version 7.3
Jenkins number/ID 0:none
[New Thread 0x7fffe443d700 (LWP 3782)]
[Thread 0x7fffe443d700 (LWP 3781) exited]
[New Thread 0x7fffe443d700 (LWP 3783)]
[Thread 0x7fffe443d700 (LWP 3782) exited]
[New Thread 0x7fffdbfff700 (LWP 3784)]
platform default fg_root = Path "/usr/share/games/flightgear"
Reading global defaults
Finished Reading global defaults
Reading user settings from Path "/home/bbuske/.fgfs/autosave_2018_2.xml"
NavCache at:Path "/home/bbuske/.fgfs/navdata_2018_2.cache"
NavCache read-only flags is:0
NavCache: no main cache rebuild required
init package root at:Path "/home/bbuske/.fgfs/Aircraft"
adding subsystem to group with name 'http', but name() returns ''
[New Thread 0x7fffd23a6700 (LWP 3785)]
[New Thread 0x7fffd0ec7700 (LWP 3786)]
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fffcbfff700 (LWP 3787)]
[Thread 0x7fffd23a6700 (LWP 3785) exited]
[New Thread 0x7fffd23a6700 (LWP 3788)]
[Thread 0x7fffd23a6700 (LWP 3788) exited]
[New Thread 0x7fffd23a6700 (LWP 3789)]
[New Thread 0x7fffbfcba700 (LWP 3791)]
[New Thread 0x7fffbe7f7700 (LWP 3792)]
[New Thread 0x7fffbd3ae700 (LWP 3793)]
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fffaf7ff700 (LWP 3794)]
[New Thread 0x7fffadfbc700 (LWP 3795)]
[New Thread 0x7fffad7bb700 (LWP 3796)]
[New Thread 0x7fffacdb7700 (LWP 3797)]
[New Thread 0x7fff9ffff700 (LWP 3798)]


Code: Select all
[color=#FF0000]Thread 1 "fgfs" received signal SIGSEGV, Segmentation fault.[/color]
0x00007ffff2b5badd in simgear::pkg::Root::RootPrivate::thumbnailDownloadComplete(SGSharedPtr<simgear::HTTP::Request>, simgear::pkg::Delegate::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
(gdb) bt full
#0  0x00007ffff2b5badd in simgear::pkg::Root::RootPrivate::thumbnailDownloadComplete(SGSharedPtr<simgear::HTTP::Request>, simgear::pkg::Delegate::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#1  0x00007ffff2b553a7 in simgear::pkg::Root::ThumbnailDownloader::onDone() ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#2  0x00007ffff2a7c39a in simgear::HTTP::Request::setReadyState(simgear::HTTP::Request::ReadyState) ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#3  0x00007ffff2a75fba in simgear::HTTP::Client::update(int) ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#4  0x00007ffff2b232a0 in SGSubsystemGroup::Member::update(double) ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#5  0x00007ffff2b236e0 in SGSubsystemGroup::update(double) ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2
No symbol table info available.
#6  0x00007ffff2b21760 in SGSubsystemMgr::update(double) ()
   from /usr/lib/x86_64-linux-gnu/libSimGearCore.so.2018.2.2


Code: Select all
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7  0x00007ffff0bbc6cf in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#8  0x00007ffff0bc9027 in QTimer::timeout(QTimer::QPrivateSignal) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#9  0x00007ffff0bc9388 in QTimer::timerEvent(QTimerEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#10 0x00007ffff0bbd0db in QObject::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#11 0x00007ffff2f1a82c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#12 0x00007ffff2f220f4 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#13 0x00007ffff0b8d9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#14 0x00007ffff0be5d8e in QTimerInfoList::activateTimers() ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#15 0x00007ffff0be6551 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#16 0x00007fffec6b6287 in g_main_context_dispatch ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#17 0x00007fffec6b64c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#18 0x00007fffec6b654c in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#19 0x00007ffff0be68ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#20 0x00007ffff0b8b9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#21 0x00007ffff0b94a84 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#22 0x00005555561d17bd in flightgear::runLauncherDialog() ()
No symbol table info available.

Code: Select all
---Type <return> to continue, or q <return> to quit---
#23 0x000055555604e08d in fgMainInit(int, char**) ()
No symbol table info available.
#24 0x000055555585a291 in main ()
No symbol table info available.


I am using Mint 19 Tara - However, I am not using the FG version that is coming with the default repos but the actual FG repo with the up to date version of the simulator.

Thanks for your reply and your help.

Cheers
Ben

PPL(A) (2009), CPL(A)(2011), ATPL(A)(2015)
bbuske
 
Posts: 56
Joined: Mon Aug 20, 2018 5:39 pm

Re: Segment Fault error with the launcher

Postby TribalBob » Thu Dec 20, 2018 2:11 pm

It looks like your FG is trying to download the thumbnails for the hangar and failing leaving you with empty table data being processed which is causing a segmentation fault.

First, try running Fg as an admin if you are not already, next try making sure that you have an internet connection and that your firewall isn't interfering with FlightGear, if that doesn't work, you may also want to try reinstalling FlightGear making sure to disable your antivirus during installation.
TribalBob
 
Posts: 47
Joined: Thu Aug 23, 2018 11:58 am

Re: Segment Fault error with the launcher

Postby bbuske » Thu Dec 20, 2018 6:59 pm

TribalBob wrote in Thu Dec 20, 2018 2:11 pm:It looks like your FG is trying to download the thumbnails for the hangar and failing leaving you with empty table data being processed which is causing a segmentation fault.

First, try running Fg as an admin if you are not already, next try making sure that you have an internet connection and that your firewall isn't interfering with FlightGear, if that doesn't work, you may also want to try reinstalling FlightGear making sure to disable your antivirus during installation.


Hi,

I am on Linux. There should be no need to run FG as superuser. The is true for the anti virus program. :) However, I was able to solve the issue. I turned of the firewall but that did not help. I then went on and did a reinstall. Since it was a brand new installation anyway, there was no issue with that. It indeed replaced or reloaded some missing libraries. So after the reinstall it started just fine. :)

Thanks for your help! Finally back in the air.
Ben

PPL(A) (2009), CPL(A)(2011), ATPL(A)(2015)
bbuske
 
Posts: 56
Joined: Mon Aug 20, 2018 5:39 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests