Bug 1590847 - "fgfs --show-aircraft" crashes in flightgear::Options::initAircraft()
Summary: "fgfs --show-aircraft" crashes in flightgear::Options::initAircraft()
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: FlightGear
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabrice Bellet
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:7530de8725b81961eb0b70bb967...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-13 13:30 UTC by Lenz Grimmer
Modified: 2021-04-29 20:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-29 20:18:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (32.51 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: cgroup (355 bytes, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: core_backtrace (9.71 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: cpuinfo (1.26 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: dso_list (15.81 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: environ (3.23 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: limits (1.29 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: maps (72.97 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: mountinfo (5.76 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: open_fds (1.08 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details
File: proc_pid_status (1.31 KB, text/plain)
2018-06-13 13:30 UTC, Lenz Grimmer
no flags Details

Description Lenz Grimmer 2018-06-13 13:30:11 UTC
Description of problem:
Install FlightGear and run the following command; observe the crash:

fgfs --show-aircraft 
FlightGear:  Version 2017.3.1
FlightGear:  Build Type Dev
Built with GNU C++ version 7.2
Jenkins number/ID 0:none
platform default fg_root = Path "/usr/share/flightgear"
Reading global defaults
Finished Reading global defaults
init package root at:Path "/home/lenz/.fgfs/Aircraft"
No user specified aircraft, using default
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1981 model, detailed)
   mibs                         FG video assistant
   ufo                          UFO from the 'White Project' of the UNESCO
Error: caught signal 11:
  /lib64/libc.so.6 : ()+0x346e0
  /lib64/libQt5Widgets.so.5 : QApplication::~QApplication()+0x1f5
  /lib64/libQt5Widgets.so.5 : QApplication::~QApplication()+0x9
  /lib64/libc.so.6 : ()+0x371d8
  /lib64/libc.so.6 : ()+0x3722a
  fgfs : flightgear::Options::initAircraft()+0x29a
  fgfs : fgInitAircraft(bool)+0x6fd
  fgfs : fgMainInit(int, char**)+0x1354
  fgfs : main()+0x132
  /lib64/libc.so.6 : __libc_start_main()+0xea
  fgfs : _start()+0x2a
[1]    470373 abort (core dumped)  fgfs --show-aircraft

Version-Release number of selected component:
FlightGear-2017.3.1-3.fc27

Additional info:
reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        fgfs --show-aircraft
crash_function: flightgear::Options::initAircraft
executable:     /usr/bin/fgfs
journald_cursor: s=a336241ed813465f89c8243432cb4a2c;i=323a1;b=9fcc6e6603204c3ba756a644fa3c9a1d;m=a52d540bf2;t=56e85dc088c14;x=adae68089704931e
kernel:         4.16.12-200.fc27.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 1 Lenz Grimmer 2018-06-13 13:30:19 UTC
Created attachment 1450919 [details]
File: backtrace

Comment 2 Lenz Grimmer 2018-06-13 13:30:20 UTC
Created attachment 1450920 [details]
File: cgroup

Comment 3 Lenz Grimmer 2018-06-13 13:30:23 UTC
Created attachment 1450921 [details]
File: core_backtrace

Comment 4 Lenz Grimmer 2018-06-13 13:30:24 UTC
Created attachment 1450922 [details]
File: cpuinfo

Comment 5 Lenz Grimmer 2018-06-13 13:30:26 UTC
Created attachment 1450923 [details]
File: dso_list

Comment 6 Lenz Grimmer 2018-06-13 13:30:27 UTC
Created attachment 1450924 [details]
File: environ

Comment 7 Lenz Grimmer 2018-06-13 13:30:29 UTC
Created attachment 1450925 [details]
File: limits

Comment 8 Lenz Grimmer 2018-06-13 13:30:32 UTC
Created attachment 1450926 [details]
File: maps

Comment 9 Lenz Grimmer 2018-06-13 13:30:34 UTC
Created attachment 1450927 [details]
File: mountinfo

Comment 10 Lenz Grimmer 2018-06-13 13:30:36 UTC
Created attachment 1450928 [details]
File: open_fds

Comment 11 Lenz Grimmer 2018-06-13 13:30:38 UTC
Created attachment 1450929 [details]
File: proc_pid_status

Comment 12 Ben Cotton 2018-11-27 15:03:16 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Lenz Grimmer 2018-11-28 09:12:26 UTC
This is still an issue on Fedora 28 and FlightGear-2018.1.1-2.fc28.x86_64:

$ fgfs --show-aircraft
FlightGear:  Version 2018.1.1
FlightGear:  Build Type Dev
Built with GNU C++ version 8.1
Jenkins number/ID 0:none
platform default fg_root = Path "/usr/share/flightgear"
Reading global defaults
Finished Reading global defaults
Reading user settings from Path "/home/lenz/.fgfs/autosave_2018_1.xml"
init package root at:Path "/home/lenz/.fgfs/Aircraft"
No user specified aircraft, using default
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1981 model, detailed)
   mibs                         FG video assistant
   ufo                          UFO from the 'White Project' of the UNESCO
Error: caught signal 11:
  /lib64/libc.so.6 : ()+0x36f30
  /lib64/libQt5Widgets.so.5 : ()+0x15d980
  /lib64/libQt5Widgets.so.5 : QApplication::~QApplication()+0xd
  /lib64/libc.so.6 : ()+0x395ec
  /lib64/libc.so.6 : ()+0x3971c
  fgfs : flightgear::Options::initAircraft()+0x433
  fgfs : fgInitAircraft(bool)+0x6ed
  fgfs : fgMainInit(int, char**)+0xd8d
  fgfs : main()+0x1ca
  /lib64/libc.so.6 : __libc_start_main()+0xeb
  fgfs : _start()+0x2a
[2]    592299 abort (core dumped)  fgfs --show-aircraft

Comment 14 Ben Cotton 2019-05-02 20:13:17 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Ben Cotton 2019-05-28 23:22:55 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 16 Lenz Grimmer 2019-08-20 08:06:55 UTC
Still occurs on Fedora 29, FlightGear-2018.2.2-2.fc29.x86_64:

$ fgfs --show-aircraft
FlightGear:  Version 2018.2.2
FlightGear:  Build Type Dev
Built with GNU C++ version 8.1
Jenkins number/ID 0:none
platform default fg_root = Path "/usr/share/flightgear"
Reading global defaults
Finished Reading global defaults
Migrating old autosave:Path "/home/lenz/.fgfs/autosave_2018_1.xml"
init package root at:Path "/home/lenz/.fgfs/Aircraft"
No user specified aircraft, using default
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1982)
   mibs                         FG video assistant
   ufo                          UFO from the 'White Project' of the UNESCO
Error: caught signal 11:
  /lib64/libc.so.6 : ()+0x38600
  /lib64/libQt5Widgets.so.5 : ()+0x16178e
  /lib64/libQt5Widgets.so.5 : QApplication::~QApplication()+0xd
  fgfs : std::default_delete<QApplication>::operator()(QApplication*) const+0x32
  fgfs : std::unique_ptr<QApplication, std::default_delete<QApplication> >::~unique_ptr()+0x4d
  /lib64/libc.so.6 : ()+0x3ad1c
  /lib64/libc.so.6 : on_exit()+0
  fgfs : flightgear::Options::initAircraft()+0x5af
  fgfs : fgInitAircraft(bool)+0x42
  fgfs : fgMainInit(int, char**)+0x6a1
  fgfs : main()+0x236
  /lib64/libc.so.6 : __libc_start_main()+0xf3
  fgfs : _start()+0x2a
[2]    102742 abort (core dumped)  fgfs --show-aircraft

It also happens if I start with a fresh configuration (removing ~/.fgfs before):

$ fgfs --show-aircraft 
FlightGear:  Version 2018.2.2
FlightGear:  Build Type Dev
Built with GNU C++ version 8.1
Jenkins number/ID 0:none
platform default fg_root = Path "/usr/share/flightgear"
Reading global defaults
Finished Reading global defaults
init package root at:Path "/home/lenz/.fgfs/Aircraft"
No user specified aircraft, using default
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1982)
   mibs                         FG video assistant
   ufo                          UFO from the 'White Project' of the UNESCO
Error: caught signal 11:
  /lib64/libc.so.6 : ()+0x38600
  /lib64/libQt5Widgets.so.5 : ()+0x16178e
  /lib64/libQt5Widgets.so.5 : QApplication::~QApplication()+0xd
  fgfs : std::default_delete<QApplication>::operator()(QApplication*) const+0x32
  fgfs : std::unique_ptr<QApplication, std::default_delete<QApplication> >::~unique_ptr()+0x4d
  /lib64/libc.so.6 : ()+0x3ad1c
  /lib64/libc.so.6 : on_exit()+0
  fgfs : flightgear::Options::initAircraft()+0x5af
  fgfs : fgInitAircraft(bool)+0x42
  fgfs : fgMainInit(int, char**)+0x6a1
  fgfs : main()+0x236
  /lib64/libc.so.6 : __libc_start_main()+0xf3
  fgfs : _start()+0x2a
[2]    102892 abort (core dumped)  fgfs --show-aircraft

Comment 17 Ben Cotton 2019-10-31 18:56:18 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 18 Didier Fabert (tartare) 2019-11-01 18:54:46 UTC
This is still an issue on Fedora 31 and FlightGear-2019.1.1

Comment 19 Fedora Program Management 2021-04-29 15:54:21 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 20 Lenz Grimmer 2021-04-29 20:18:37 UTC
Just checked this on Fedora 34 and it finally seems to work now:

$ cat /etc/redhat-release 
Fedora release 34 (Thirty Four)
$ rpm -q FlightGear
FlightGear-2020.3.8-1.fc34.x86_64
$ fgfs --show-aircraft   
    0.01 [WARN]:gui        QSocketNotifier: Can only be used with threads started with QThread
    0.12 [WARN]:gui        UI languages: ("en-US")
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1982)
   c172p-amphibious             Cessna 172P (180 hp) Amphibious
   c172p-bush26                 Cessna 172P (160 hp) 26" Bush Tires
   c172p-bush36                 Cessna 172P (160 hp) 36" Bush Tires
   c172p-float                  Cessna 172P (180 hp) Float
   c172p-ski                    Cessna 172P (180 hp) Ski
   mibs                         FG video assistant
   ufo                          UFO


Note You need to log in before you can comment on or make changes to this bug.