Board index FlightGear Support

FG core dumps on timer assert when reset.

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).

Please report any bugs not specific to an aircraft on the issue tracker.
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.

FG core dumps on timer assert when reset.

Postby Curious » Fri May 22, 2020 9:42 pm

FlightGear is crashing when I reset a session. It is also losing the joystick controller between sessions. Don't know if the two are related.

Details as follows. I'd love to fix this behavior. Let me know if you need anything more.

Thanks !

Code: Select all
$ uname -a
Linux bigboy 5.6.13-300.fc32.x86_64 #1 SMP Thu May 14 22:51:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ dnf list flightgear\*
Installed Packages
FlightGear.x86_64                                           2019.1.1-6.fc32                                                  @fedora
FlightGear-Atlas.x86_64                                     0.5.0-0.55.cvs20141002.fc32                                      @fedora
FlightGear-data.noarch                                      2019.1.1-2.fc32               

$ fgfs-wrapper --launcher
    0.00 [INFO]:general    FlightGear:  Version 2019.1.1
    0.00 [INFO]:general    FlightGear:  Build Type Dev
    0.00 [INFO]:general    Built with GNU C++ version 10.0
    0.00 [INFO]:general    Jenkins number/ID 0:none
    0.04 [WARN]:gui        Failed to load default (en) translations
    0.04 [INFO]:general    platform default fg_root = Path "/usr/share/flightgear"
    0.04 [INFO]:general    Reading global defaults
    0.05 [INFO]:input      Reading user settings from Path "/home/me/.fgfs/autosave_2019_1.xml"
    0.05 [INFO]:navaid     NavCache at:Path "/home/me/.fgfs/navdata_2019_1.cache"
    0.05 [INFO]:navaid     NavCache read-only flags is:0
    0.05 [INFO]:navaid     NavCache: no main cache rebuild required
    0.05 [INFO]:general    init package root at:Path "/home/me/.fgfs/Aircraft"
    0.07 [INFO]:general    catalog at:Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon" failed version check: app version: 2019.1.1
    0.07 [INFO]:general    disabling catalog:org.flightgear.fgaddon
    0.09 [INFO]:general    catalog at:Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.stable_2018" failed version check: app version: 2019.1.1
    0.09 [INFO]:general    disabling catalog:org.flightgear.fgaddon.stable_2018
    2.17 [WARN]:general    downloaded catalog http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/catalog.xml, but app version 2019.1.1 is not comaptible
    2.17 [WARN]:gui        failed refresh of "http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/catalog.xml" : 7

    2.22 [WARN]:general    downloaded catalog http://mirrors.ibiblio.org/flightgear/ftp/Aircraft-2018/catalog.xml, but app version 2019.1.1 is not comaptible
    2.22 [WARN]:gui        failed refresh of "http://mirrors.ibiblio.org/flightgear/ftp/Aircraft-2018/catalog.xml" : 7

    5.47 [INFO]:input      aircraft = org.flightgear.fgaddon.trunk.dg101g
    5.47 [INFO]:general    Loading aircraft from package:org.flightgear.fgaddon.trunk.dg101g
    5.47 [INFO]:general    found aircraft in dir: /home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G
    5.47 [POPU]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
    5.47 [INFO]:general    Found language resource for: en_US
    5.47 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/sys.xml"
    5.47 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/atc.xml"
    5.47 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/tips.xml"
    5.47 [INFO]:general         option:prop = /nasal/local_weather/enabled=false
    5.47 [INFO]:general         option:metar = XXXX 012345Z 15003KT 19SM FEW072 FEW350 25/07 Q1028 NOSIG
    5.47 [INFO]:general         option:prop = /environment/weather-scenario=Core high pressure region
    5.47 [INFO]:general         option:disable-rembrandt =
    5.47 [INFO]:general         option:disable-terrasync =
    5.47 [INFO]:general         option:enable-freeze =
    5.47 [INFO]:general         option:aircraft = org.flightgear.fgaddon.trunk.dg101g
    5.47 [INFO]:general         option:prop = /sim/presets/navaid-id=25018
    5.47 [INFO]:general         option:offset-azimuth = -90
    5.47 [INFO]:general         option:offset-distance = 1
    5.47 [INFO]:general         option:altitude = 2000
    5.47 [INFO]:general         option:vc = 100
    5.47 [INFO]:general         option:launcher =
    5.47 [INFO]:general    Using default download dir: Path "/home/me/.fgfs"
    5.47 [WARN]:general    read-allowed path not found:Path "/home/me/.fgfs/AI"
    5.47 [WARN]:general    read-allowed path not found:Path "/home/me/.fgfs/Liveries"
    5.47 [INFO]:general    Using default texture cache directory: Path "/home/me/.fgfs/TextureCache"
    5.47 [INFO]:general    Using TerraSync dir: Path "/home/me/.fgfs/TerraSync"
    5.47 [INFO]:general    EmbeddedResourceManager: selected locale 'en_US'
    5.47 [INFO]:opengl     Using stock OSG implementation of GraphicsWindow
StatsHandler::StatsHandler() Setting up GL2 compatible shaders
    5.47 [INFO]:astro      initializing cloud layers
Now checking for plug-in osgPlugins-3.4.1/osgdb_nvtt.so
    5.69 [WARN]:general    Enabling ATI/AMD viewport hack
    5.69 [INFO]:general    Configuration State
    5.69 [INFO]:general    ============= =====
    5.69 [INFO]:general    aircraft-dir = "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G"
    5.69 [INFO]:general    fghome-dir = "Path "/home/me/.fgfs""
    5.69 [INFO]:general    download-dir = "/home/me/.fgfs"
    5.69 [INFO]:general    terrasync-dir = "/home/me/.fgfs/TerraSync"
    5.69 [INFO]:general    aircraft-search-paths =
        /home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk
    5.69 [INFO]:general    scenery-search-paths =
        /home/me/.fgfs/TerraSync
        /usr/share/flightgear/Scenery
    5.72 [INFO]:general    NVIDIA Corporation
    5.72 [INFO]:general    GeForce GTX 1060 3GB/PCIe/SSE2
    5.72 [INFO]:general    4.6.0 NVIDIA 440.82
    5.72 [INFO]:general    4.60 NVIDIA
    5.74 [INFO]:view       Splash screen progress loading-aircraft-list
    5.75 [INFO]:view       Splash screen progress loading-nav-dat
    5.77 [INFO]:view       Splash screen progress init-scenery
    5.79 [INFO]:general    General Initialization
    5.79 [INFO]:general    ======= ==============
    5.79 [INFO]:general    FG_ROOT = "Path "/usr/share/flightgear""

    5.80 [INFO]:general    Attempting to set starting position for PHNL:04L
    5.80 [INFO]:event      Reading timezone info from: Path "/usr/share/flightgear/Timezone/zone.tab"
    5.80 [INFO]:terrain    Selected scenery is tilecache
    5.80 [INFO]:terrain    FGStgTerrain::init - init tilemgr
    5.80 [INFO]:terrain    Initializing Tile Manager subsystem.
    5.80 [INFO]:terrain    Initializing the tile cache.
    5.80 [INFO]:terrain      max cache size = 100
    5.80 [INFO]:terrain      current cache size = 0
    5.80 [INFO]:terrain      done with init()
    5.80 [INFO]:view       Splash screen progress finalize-position
    5.86 [INFO]:view       Splash screen progress creating-subsystems
    5.86 [INFO]:general    Creating Subsystems
    5.86 [INFO]:general    ======== ==========
    5.86 [INFO]:input      Reading materials from /usr/share/flightgear/Materials/regions/materials.xml
    6.52 [WARN]:general    adding subsystem to group with name 'terrainsampler', but name() returns 'TerrainSampler'
    6.52 [WARN]:general    adding subsystem to group with name 'environment', but name() returns 'FGEnvironmentMgr'
    6.52 [INFO]:systems    Reading systems from Path "/usr/share/flightgear/Aircraft/Generic/generic-systems.xml"
    6.52 [WARN]:general    adding subsystem to group with name 'systems', but name() returns 'FGSystemMgr'
    6.52 [WARN]:general    adding subsystem to group with name 'instrumentation', but name() returns 'FGInstrumentMgr'
    6.52 [INFO]:cockpit    Initializing HUD Instrument
    6.52 [WARN]:general    adding subsystem to group with name 'cockpit-displays', but name() returns 'CockpitDisplayManager'
    6.52 [WARN]:general    adding subsystem to group with name 'xml-autopilot', but name() returns 'FGXMLAutopilotGroup'
    6.52 [WARN]:general    adding subsystem to group with name 'xml-proprules', but name() returns 'FGXMLAutopilotGroup'
    6.52 [WARN]:general    adding subsystem to group with name 'input', but name() returns 'FGInput'
    6.52 [WARN]:general    adding subsystem to group with name 'events', but name() returns 'EventMgr'
    6.52 [INFO]:sound      Reading sound sound from Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G/dg101g_sound.xml"
    6.52 [INFO]:general    Creating subsystems took:668
    6.52 [INFO]:view       Splash screen progress binding-subsystems
Throttle 0 does not exist! 0 engines exist, but throttle setting for engine 0 is selected
AL lib: (WW) alcSetError: Error generated on device (nil), code 0xa004
    7.96 [ALRT]:sound      Error: Audio device not available, trying default.
    7.97 [ALRT]:sound      ALC Error (sound manager): Invalid Value at context creation.
    8.02 [ALRT]:nasal      Volcanic activity off.
    9.32 [INFO]:OSG       
    9.32 [WARN]:OSG        PNG lib warning : Interlace handling should be turned on when using png_read_image
  Sorry, udot doesn't appear to be trimmable
  Trim Results:
       Angle of Attack:   -3.1  wdot: -4.93e+01 Tolerance: 1e-03  Failed
              Throttle:    0.5  udot: -4.60e+00 Tolerance: 1e-03  Failed
            Pitch Trim:   0.15  qdot:  4.33e-01 Tolerance: 1e-04  Failed
            Roll Angle:  -0.12  vdot:  6.70e-02 Tolerance: 1e-03  Failed
              Ailerons: 2.6e-06  pdot: -1.33e-09 Tolerance: 1e-04  Passed
                Rudder:  4e-05  rdot:  3.13e-10 Tolerance: 1e-04  Passed

  Trim Statistics:
    Total Iterations: 4
    Sub-iterations:
    wdot: 11 average: 2.75  successful:  1  stability: 2
    udot: 0 average: 0  successful:  0  stability: 2
    qdot: 10 average: 2.5  successful:  4  stability: 2
    vdot: 8 average: 2  successful:  4  stability: 2
    pdot: 6 average: 1.5  successful:  4  stability: 2
    rdot: 6 average: 1.5  successful:  4  stability: 2
    Run Count: 184
Throttle 0 does not exist! 0 engines exist, but throttle setting for engine 0 is selected
/dev/input/js0: No such device
   14.01 [ALRT]:nasal      setWeight() - not supported for jsb
[me@bigboy ~]$ fgfs-wrapper --launcher
    0.00 [INFO]:general    FlightGear:  Version 2019.1.1
    0.00 [INFO]:general    FlightGear:  Build Type Dev
    0.00 [INFO]:general    Built with GNU C++ version 10.0
    0.00 [INFO]:general    Jenkins number/ID 0:none
    0.04 [WARN]:gui        Failed to load default (en) translations
    0.04 [INFO]:general    platform default fg_root = Path "/usr/share/flightgear"
    0.04 [INFO]:general    Reading global defaults
    0.05 [INFO]:input      Reading user settings from Path "/home/me/.fgfs/autosave_2019_1.xml"
    0.05 [INFO]:navaid     NavCache at:Path "/home/me/.fgfs/navdata_2019_1.cache"
    0.05 [INFO]:navaid     NavCache read-only flags is:0
    0.05 [INFO]:navaid     NavCache: no main cache rebuild required
    0.05 [INFO]:general    init package root at:Path "/home/me/.fgfs/Aircraft"
    0.07 [INFO]:general    catalog at:Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon" failed version check: app version: 2019.1.1
    0.07 [INFO]:general    disabling catalog:org.flightgear.fgaddon
    0.09 [INFO]:general    catalog at:Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.stable_2018" failed version check: app version: 2019.1.1
    0.09 [INFO]:general    disabling catalog:org.flightgear.fgaddon.stable_2018
    1.40 [WARN]:general    downloaded catalog http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/catalog.xml, but app version 2019.1.1 is not comaptible
    1.40 [WARN]:gui        failed refresh of "http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/catalog.xml" : 7

    1.49 [WARN]:general    downloaded catalog http://mirrors.ibiblio.org/flightgear/ftp/Aircraft-2018/catalog.xml, but app version 2019.1.1 is not comaptible
    1.49 [WARN]:gui        failed refresh of "http://mirrors.ibiblio.org/flightgear/ftp/Aircraft-2018/catalog.xml" : 7

    3.23 [INFO]:input      aircraft = org.flightgear.fgaddon.trunk.dg101g
    3.23 [INFO]:general    Loading aircraft from package:org.flightgear.fgaddon.trunk.dg101g
    3.23 [INFO]:general    found aircraft in dir: /home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G
    3.23 [POPU]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
    3.23 [INFO]:general    Found language resource for: en_US
    3.23 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/sys.xml"
    3.23 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/atc.xml"
    3.23 [INFO]:general    Reading localized strings for 'en' from Path "/usr/share/flightgear/Translations/default/tips.xml"
    3.23 [INFO]:general         option:prop = /nasal/local_weather/enabled=false
    3.23 [INFO]:general         option:metar = XXXX 012345Z 15003KT 19SM FEW072 FEW350 25/07 Q1028 NOSIG
    3.23 [INFO]:general         option:prop = /environment/weather-scenario=Core high pressure region
    3.23 [INFO]:general         option:disable-rembrandt =
    3.23 [INFO]:general         option:disable-terrasync =
    3.23 [INFO]:general         option:enable-freeze =
    3.23 [INFO]:general         option:aircraft = org.flightgear.fgaddon.trunk.dg101g
    3.23 [INFO]:general         option:prop = /sim/presets/navaid-id=25018
    3.23 [INFO]:general         option:offset-azimuth = -90
    3.23 [INFO]:general         option:offset-distance = 1
    3.23 [INFO]:general         option:altitude = 2000
    3.23 [INFO]:general         option:vc = 100
    3.23 [INFO]:general         option:launcher =
    3.23 [INFO]:general    Using default download dir: Path "/home/me/.fgfs"
    3.23 [WARN]:general    read-allowed path not found:Path "/home/me/.fgfs/AI"
    3.23 [WARN]:general    read-allowed path not found:Path "/home/me/.fgfs/Liveries"
    3.23 [INFO]:general    Using default texture cache directory: Path "/home/me/.fgfs/TextureCache"
    3.23 [INFO]:general    Using TerraSync dir: Path "/home/me/.fgfs/TerraSync"
    3.23 [INFO]:general    EmbeddedResourceManager: selected locale 'en_US'
    3.23 [INFO]:opengl     Using stock OSG implementation of GraphicsWindow
StatsHandler::StatsHandler() Setting up GL2 compatible shaders
    3.23 [INFO]:astro      initializing cloud layers
Now checking for plug-in osgPlugins-3.4.1/osgdb_nvtt.so
    3.44 [WARN]:general    Enabling ATI/AMD viewport hack
    3.44 [INFO]:general    Configuration State
    3.44 [INFO]:general    ============= =====
    3.44 [INFO]:general    aircraft-dir = "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G"
    3.44 [INFO]:general    fghome-dir = "Path "/home/me/.fgfs""
    3.44 [INFO]:general    download-dir = "/home/me/.fgfs"
    3.44 [INFO]:general    terrasync-dir = "/home/me/.fgfs/TerraSync"
    3.44 [INFO]:general    aircraft-search-paths =
        /home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk
    3.44 [INFO]:general    scenery-search-paths =
        /home/me/.fgfs/TerraSync
        /usr/share/flightgear/Scenery
    3.48 [INFO]:general    NVIDIA Corporation
    3.48 [INFO]:general    GeForce GTX 1060 3GB/PCIe/SSE2
    3.48 [INFO]:general    4.6.0 NVIDIA 440.82
    3.48 [INFO]:general    4.60 NVIDIA
    3.49 [INFO]:view       Splash screen progress loading-aircraft-list
    3.50 [INFO]:view       Splash screen progress loading-nav-dat
    3.52 [INFO]:view       Splash screen progress init-scenery
    3.53 [INFO]:general    General Initialization
    3.53 [INFO]:general    ======= ==============
    3.53 [INFO]:general    FG_ROOT = "Path "/usr/share/flightgear""

    3.55 [INFO]:general    Attempting to set starting position for PHNL:04L
    3.55 [INFO]:event      Reading timezone info from: Path "/usr/share/flightgear/Timezone/zone.tab"
    3.55 [INFO]:terrain    Selected scenery is tilecache
    3.55 [INFO]:terrain    FGStgTerrain::init - init tilemgr
    3.55 [INFO]:terrain    Initializing Tile Manager subsystem.
    3.55 [INFO]:terrain    Initializing the tile cache.
    3.55 [INFO]:terrain      max cache size = 100
    3.55 [INFO]:terrain      current cache size = 0
    3.55 [INFO]:terrain      done with init()
    3.55 [INFO]:view       Splash screen progress finalize-position
    3.61 [INFO]:view       Splash screen progress creating-subsystems
    3.61 [INFO]:general    Creating Subsystems
    3.61 [INFO]:general    ======== ==========
    3.61 [INFO]:input      Reading materials from /usr/share/flightgear/Materials/regions/materials.xml
    4.26 [WARN]:general    adding subsystem to group with name 'terrainsampler', but name() returns 'TerrainSampler'
    4.26 [WARN]:general    adding subsystem to group with name 'environment', but name() returns 'FGEnvironmentMgr'
    4.26 [INFO]:systems    Reading systems from Path "/usr/share/flightgear/Aircraft/Generic/generic-systems.xml"
    4.26 [WARN]:general    adding subsystem to group with name 'systems', but name() returns 'FGSystemMgr'
    4.26 [WARN]:general    adding subsystem to group with name 'instrumentation', but name() returns 'FGInstrumentMgr'
    4.26 [INFO]:cockpit    Initializing HUD Instrument
    4.26 [WARN]:general    adding subsystem to group with name 'cockpit-displays', but name() returns 'CockpitDisplayManager'
    4.26 [WARN]:general    adding subsystem to group with name 'xml-autopilot', but name() returns 'FGXMLAutopilotGroup'
    4.26 [WARN]:general    adding subsystem to group with name 'xml-proprules', but name() returns 'FGXMLAutopilotGroup'
    4.26 [WARN]:general    adding subsystem to group with name 'input', but name() returns 'FGInput'
    4.26 [WARN]:general    adding subsystem to group with name 'events', but name() returns 'EventMgr'
    4.26 [INFO]:sound      Reading sound sound from Path "/home/me/.fgfs/Aircraft/org.flightgear.fgaddon.trunk/Aircraft/DG-101G/dg101g_sound.xml"
    4.26 [INFO]:general    Creating subsystems took:657
    4.26 [INFO]:view       Splash screen progress binding-subsystems
Throttle 0 does not exist! 0 engines exist, but throttle setting for engine 0 is selected
AL lib: (WW) alcSetError: Error generated on device (nil), code 0xa004
    5.69 [ALRT]:sound      Error: Audio device not available, trying default.
    5.70 [ALRT]:sound      ALC Error (sound manager): Invalid Value at context creation.
    5.77 [ALRT]:nasal      Volcanic activity off.
    7.07 [INFO]:OSG       
    7.07 [WARN]:OSG        PNG lib warning : Interlace handling should be turned on when using png_read_image
  Sorry, udot doesn't appear to be trimmable
  Trim Results:
       Angle of Attack:   -3.1  wdot: -4.93e+01 Tolerance: 1e-03  Failed
              Throttle:    0.5  udot: -4.60e+00 Tolerance: 1e-03  Failed
            Pitch Trim:   0.15  qdot:  4.33e-01 Tolerance: 1e-04  Failed
            Roll Angle:  -0.12  vdot:  6.70e-02 Tolerance: 1e-03  Failed
              Ailerons: 2.6e-06  pdot: -1.33e-09 Tolerance: 1e-04  Passed
                Rudder:  4e-05  rdot:  3.13e-10 Tolerance: 1e-04  Passed

  Trim Statistics:
    Total Iterations: 4
    Sub-iterations:
    wdot: 11 average: 2.75  successful:  1  stability: 2
    udot: 0 average: 0  successful:  0  stability: 2
    qdot: 10 average: 2.5  successful:  4  stability: 2
    vdot: 8 average: 2  successful:  4  stability: 2
    pdot: 6 average: 1.5  successful:  4  stability: 2
    rdot: 6 average: 1.5  successful:  4  stability: 2
    Run Count: 184
Throttle 0 does not exist! 0 engines exist, but throttle setting for engine 0 is selected
/dev/input/js0: No such device
   16.03 [ALRT]:nasal      setWeight() - not supported for jsb
   38.21 [ALRT]:general    /sim/terrasync/scenery-dir is no longer stored across runs: if you wish to keep using a non-standard Terrasync directory, use --terrasync-dir or the launcher's settings
   38.21 [POPU]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
Throttle 0 does not exist! 0 engines exist, but throttle setting for engine 0 is selected
AL lib: (WW) alcSetError: Error generated on device (nil), code 0xa004
   40.35 [ALRT]:sound      Error: Audio device not available, trying default.
   40.37 [ALRT]:sound      ALC Error (sound manager): Invalid Value at context creation.
   40.43 [ALRT]:nasal      Volcanic activity off.
fgfs: /builddir/build/BUILD/flightgear-2019.1.1/src/Scripting/NasalSys.cxx:1569: void FGNasalSys::removePersistentTimer(TimerObj*): Assertion `it != _persistentTimers.end()' failed.
Aborted (core dumped)
Last edited by Johan G on Wed Jul 01, 2020 9:10 am, edited 1 time in total.
Reason: Added [code] tags. The can be added manually or with the [^_ ] button above the text editing box.
Curious
 
Posts: 13
Joined: Sun Dec 15, 2019 7:32 pm

Re: FG core dumps on timer assert when reset.

Postby Hooray » Sat May 23, 2020 6:28 am

Hi, reset/re-init functionality [0] must be considered "experimental" at this point - and to be honest it's never worked particularly well, not after the addition of the so called "presets" feature.

This is also why you cannot expect save/load/resume to work, unless it's separately implemented via fgdata.

Which is to say, some core developers were hoping to fix this once - but things have obviously taken a backseat now, especially since the main person doing this kind of architectural work, has now been busy migrating FlightGear's PUI GUI [2] over to a Qt5/QQ2 based scheme (for the last couple of years), and the only other core developer working towards this, is no longer actively involved.

As I said, the underlying issue is a long standing one [4] - and core developers are well aware of the broken reset/re-init system. Anyway, it'd be best to file a bug report and discuss any follow-up there: https://sourceforge.net/p/flightgear/codetickets/

Speaking in general, don't expect reset/re-init to work properly for now. Obviously, bug reports still do make sense, especially in conjunction with backtraces and test cases.

[0] http://wiki.flightgear.org/Reset_%26_re-init
[1] http://wiki.flightgear.org/Integrated_Qt5_Launcher
[2] http://wiki.flightgear.org/PUI
[3] http://wiki.flightgear.org/QtQuick_use_in_FlightGear
[4] http://wiki.flightgear.org/FlightGear_Sessions
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11836
Joined: Tue Mar 25, 2008 8:40 am

Re: FG core dumps on timer assert when reset.

Postby stuart » Sat May 23, 2020 8:53 am

Actually, James and I have been actively looking at this for the last couple of weeks at least.

We are pretty sure that there’s some dangling memory pointer after the reset, probably in OSG but possibly in the random vegetation code. The challenge is that even running under valgrind there’s not enough memory history to spot it.

As Hooray says, please file a bug report. And feel free to try to diagnose yourself as well - more eyes always help!

-Stuart
G-MWLX
User avatar
stuart
Moderator
 
Posts: 1557
Joined: Wed Nov 29, 2006 9:56 am
Location: Edinburgh
Callsign: G-MWLX

Re: FG core dumps on timer assert when reset.

Postby Hooray » Sat May 23, 2020 9:50 am

Have you considered to totally disable the corresponding features (random vegetation) to help troubleshoot this and see if this has any impact or not ?
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11836
Joined: Tue Mar 25, 2008 8:40 am


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests