Board index FlightGear Development Scenery

Segafault with scenery build

Questions and discussion about enhancing and populating the FlightGear world.

Segafault with scenery build

Postby dom_vc10 » Fri Aug 26, 2022 8:58 pm

I have been working on some bigger scenery build and I am finally about to give up after a couple of weeks after failure each day :lol:

I am using terragear on my laptop to build scenery then using it on my "main" PC. The built tiles in question load fine in FG on my laptop. If I load the scenery on my main PC I get a segafault. Both version of FG are the same, next from the PPA and both using the UFO to test. I also removed other Weirdly if I load up FG on my main PC in a different area I can then change location into my newly built area with no crash and use FG normally it seems The segafault only happens when I load FG directly to an airport in the newly built scenery.

Readout from the terminal..
Code: Select all
fgfs --enable-real-weather-fetch --prop:/nasal/local_weather/enabled=true --prop:/sim/gui/dialogs/metar/mode/global-weather=false --prop:/sim/gui/dialogs/metar/mode/local-weather=true --prop:/sim/gui/dialogs/metar/mode/manual-weather=true --prop:/local-weather/tmp/tile-management=METAR --prop:/local-weather/tmp/tile-type=live --timeofday=afternoon --prop:/sim/rendering/multi-sample-buffers=1 --prop:/sim/rendering/multi-samples=4 --prop:/sim/rendering/texture-cache/cache-enabled=true --enable-fullscreen --disable-terrasync --disable-sentry --aircraft-dir=/usr/share/games/flightgear/Aircraft/ufo --aircraft=ufo --airport=EGHQ --fg-scenery=/mnt/FG2/ukterrain --fg-scenery=/mnt/FG/terramaster --generic=socket,in,25,127.0.0.1,5542,udp,opentrack --prop:/sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContex --prop:/sim/thread-cpu-affinity=osg --httpd=8080 --prop:/sim/rendering/vsync-enable=false
./simgear/props/props.cxx:106: active: /sim[0]/property-locking[0]/active[0] verbose: /sim[0]/property-locking[0]/verbose[0] timing: /sim[0]/property-locking[0]/timing[0] parent_listeners: /sim[0]/property-locking[0]/parent_listeners[0]
    0.09 [ALRT]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
    0.09 [ALRT]:view       Creating osgViewer::CompositeViewer
    0.09 [ALRT]:general    affinity=osg
    0.09 [ALRT]:view       Calling composite_viewer->setUseConfigureAffinity() with flag=1
Now checking for plug-in osgPlugins-3.6.5/osgdb_nvtt.so
    0.23 [WARN]:general    Enabling ATI/AMD viewport hack
    0.23 [ALRT]:view       affinity=osg
pid 15788's current affinity mask: 1
pid 15791's current affinity mask: f
    0.24 [ALRT]:view       Running: for i in `ls /proc/15788/task/`; do taskset -p $i; done 1>&2
pid 15792's current affinity mask: f
pid 15799's current affinity mask: f
pid 15800's current affinity mask: f
pid 15801's current affinity mask: f
pid 15802's current affinity mask: f
pid 15804's current affinity mask: f
    0.24 [ALRT]:view       Resetting affinity of current thread getpid()=15788
    0.24 [ALRT]:view       Running: for i in `ls /proc/15788/task/`; do taskset -p $i; done 1>&2
pid 15788's current affinity mask: f
pid 15791's current affinity mask: f
pid 15792's current affinity mask: f
pid 15799's current affinity mask: f
pid 15800's current affinity mask: f
pid 15801's current affinity mask: f
pid 15802's current affinity mask: f
pid 15804's current affinity mask: f
    0.39 [ALRT]:terrain    Unexpected property in listener /scenery[0]/elevation-mesh[0]/lod-range-factor[0]
    0.39 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/detailed[0]
    0.39 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/rough-delta[0]
    0.39 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/bare-delta[0]
    3.00 [ALRT]:input      Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
    3.00 [ALRT]:input      Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
    3.06 [ALRT]:autopilot  DigitalFilter: unknown config node: absolute
    3.20 [ALRT]:instruments KT-70 legacy instrument compatibility. Please update aircraft to use transponder directly
    3.75 [INFO]:nasal      Failed to find view-number-raw=nil
    3.77 [INFO]:nasal      Request detected to initialize Advanced Weather on startup...
    3.79 [ALRT]:nasal      Nasal module gui present in FGDATA/Nasal but not configured in defaults.xml.  Please add an entry to defaults.xml, and set /nasal[0]/gui[0]/enabled[0]=true to load the module on-demand at runtime when required.
    3.89 [INFO]:nasal      Loading local weather routines...
   11.04 [INFO]:nasal      Traffic pins off
   11.20 [INFO]:nasal      setWeight() - not supported for ufo
   11.88 [INFO]:nasal      Starting hard-coded terrain presampling
   12.33 [INFO]:nasal      Model load Nimitz /ai/models/carrier
   12.43 [INFO]:nasal      Model load Eisenhower /ai/models/carrier[1]
Segmentation fault (core dumped)



and log info..

Code: Select all
    0.00 [INFO]:general   ./src/Main/main.cxx:633: FlightGear:  Version 2020.4.0
    0.00 [INFO]:general   ./src/Main/main.cxx:634: FlightGear:  Build Type Nightly
    0.00 [INFO]:general   ./src/Main/main.cxx:635: Built with GNU C++ version 11.2
    0.00 [INFO]:general   ./src/Main/main.cxx:636: Jenkins number/ID 0:none
    0.00 [INFO]:general   ./src/Main/options.cxx:3198: platform default fg_root = Path "/usr/share/games/flightgear"
    0.01 [INFO]:input     ./src/Main/globals.cxx:853: Reading user settings from Path "/home/dom/.fgfs/autosave_2020_4.xml"
    0.01 [INFO]:general   ./src/Main/fg_init.cxx:1485: init package root at:Path "/home/dom/.fgfs/Aircraft"
    0.01 [INFO]:input     ./src/Main/options.cxx:2425: aircraft = ufo
    0.01 [INFO]:general   ./src/Main/fg_init.cxx:242: found aircraft in dir: /usr/share/games/flightgear/Aircraft/ufo
    0.02 [ALRT]:aircraft  ./src/Main/fg_init.cxx:431: Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
    0.02 [INFO]:general   ./src/Main/locale.cxx:177: Found language resource for: en_US
    0.02 [INFO]:general   ./src/Main/locale.cxx:327: Reading localized strings for 'en' from Path "/usr/share/games/flightgear/Translations/default/sys.xml"
    0.02 [INFO]:general   ./src/Main/locale.cxx:327: Reading localized strings for 'en' from Path "/usr/share/games/flightgear/Translations/default/atc.xml"
    0.02 [INFO]:general   ./src/Main/locale.cxx:327: Reading localized strings for 'en' from Path "/usr/share/games/flightgear/Translations/default/tips.xml"
    0.02 [INFO]:general   ./src/Main/locale.cxx:327: Reading localized strings for 'en' from Path "/usr/share/games/flightgear/Translations/default/weather-scenarios.xml"
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:enable-real-weather-fetch =
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /nasal/local_weather/enabled=true
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/gui/dialogs/metar/mode/global-weather=false
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/gui/dialogs/metar/mode/local-weather=true
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/gui/dialogs/metar/mode/manual-weather=true
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /local-weather/tmp/tile-management=METAR
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /local-weather/tmp/tile-type=live
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:timeofday = afternoon
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/rendering/multi-sample-buffers=1
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/rendering/multi-samples=4
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/rendering/texture-cache/cache-enabled=true
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:enable-fullscreen =
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:disable-terrasync =
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:disable-sentry =
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:aircraft-dir = /usr/share/games/flightgear/Aircraft/ufo
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:aircraft = ufo
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:airport = EGHQ
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:fg-scenery = /mnt/FG2/ukterrain
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:fg-scenery = /mnt/FG/terramaster
    0.02 [INFO]:general   ./src/Main/options.cxx:680: Channel string = socket,in,25,127.0.0.1,5542,udp,opentrack
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:generic = socket,in,25,127.0.0.1,5542,udp,opentrack
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContex
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:httpd = 8080
    0.02 [INFO]:general   ./src/Main/options.cxx:2766:    option:prop = /sim/rendering/vsync-enable=false
    0.02 [INFO]:general   ./src/Main/options.cxx:2789: Using default download dir: Path "/home/dom/.fgfs"
    0.02 [INFO]:general   ./src/Main/options.cxx:2812: Using default texture cache directory: Path "/home/dom/.fgfs/TextureCache"
    0.02 [INFO]:general   ./src/Main/options.cxx:2835: Using TerraSync dir: Path "/home/dom/.fgfs/TerraSync"
    0.02 [INFO]:general   ./src/Main/main.cxx:741: EmbeddedResourceManager: selected locale 'en_US'
    0.02 [ALRT]:view      ./src/Viewer/renderer.cxx:476: Creating osgViewer::CompositeViewer
    0.02 [ALRT]:general   ./src/Viewer/renderer.cxx:483: affinity=
    0.02 [ALRT]:view      ./src/Viewer/renderer.cxx:495: Calling composite_viewer->setUseConfigureAffinity() with flag=1
    0.02 [INFO]:astro     ./simgear/scene/sky/cloud.cxx:342: initializing cloud layers
    0.03 [INFO]:view      ./src/Viewer/fg_os_osgviewer.cxx:225: mode=CullThreadPerCameraDrawThreadPerContex
    0.16 [WARN]:general   ./src/Main/main.cxx:781: Enabling ATI/AMD viewport hack
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:964: Configuration State
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:965: ============= =====
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:967: aircraft-dir = "/usr/share/games/flightgear/Aircraft/ufo"
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:968: fghome-dir = "Path "/home/dom/.fgfs""
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:969: download-dir = "/home/dom/.fgfs"
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:970: terrasync-dir = "/home/dom/.fgfs/TerraSync"
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:972: aircraft-search-paths =
   
    0.16 [INFO]:general   ./src/Main/fg_init.cxx:973: scenery-search-paths =
   /mnt/FG2/ukterrain
   /mnt/FG/terramaster
   /home/dom/.fgfs/TerraSync
    0.16 [ALRT]:view      ./src/Viewer/fg_os_osgviewer.cxx:448: affinity=
    0.22 [INFO]:general   ./src/GUI/gui.cxx:135: NVIDIA Corporation
    0.22 [INFO]:general   ./src/GUI/gui.cxx:138: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    0.22 [INFO]:general   ./src/GUI/gui.cxx:141: 4.6.0 NVIDIA 510.85.02
    0.22 [INFO]:general   ./src/GUI/gui.cxx:151: 4.60 NVIDIA
    0.22 [INFO]:general   ./src/GUI/gui.cxx:165: VertexAttribDivisor supported
    0.25 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress loading-aircraft-list
    0.25 [INFO]:view      ./src/Viewer/renderer.cxx:791: FGRenderer:: Maximum texture size 32768
    0.26 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress loading-nav-dat
    0.26 [INFO]:navaid    ./src/Navaids/NavDataCache.cxx:297: NavCache at:Path "/home/dom/.fgfs/navdata_2020_4.cache"
    0.26 [INFO]:navaid    ./src/Navaids/NavDataCache.cxx:300: NavCache read-only flags is:0
    0.26 [INFO]:navaid    ./src/Navaids/NavDataCache.cxx:1449: NavCache: no main cache rebuild required
    0.26 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress init-scenery
    0.26 [INFO]:general   ./src/Main/fg_init.cxx:929: General Initialization
    0.26 [INFO]:general   ./src/Main/fg_init.cxx:930: ======= ==============
    0.26 [INFO]:general   ./src/Main/fg_init.cxx:939: FG_ROOT = "Path "/usr/share/games/flightgear""

    0.27 [INFO]:general   ./src/Main/positioninit.cxx:157: Attempting to set starting position from airport code EGHQ heading 270
    0.27 [INFO]:event     ./simgear/timing/sg_time.cxx:91: Reading timezone info from: Path "/usr/share/games/flightgear/Timezone/timezone16.bin"
    0.27 [INFO]:terrain   ./src/Scenery/scenery.cxx:465: Selected scenery is tilecache
    0.27 [INFO]:terrain   ./src/Scenery/terrain_stg.cxx:243: FGStgTerrain::init - init tilemgr
    0.27 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:181: Initializing Tile Manager subsystem.
    0.27 [INFO]:terrain   ./src/Scenery/tilecache.cxx:64: Initializing the tile cache.
    0.27 [INFO]:terrain   ./src/Scenery/tilecache.cxx:66:   max cache size = 100
    0.27 [INFO]:terrain   ./src/Scenery/tilecache.cxx:68:   current cache size = 0
    0.27 [INFO]:terrain   ./src/Scenery/tilecache.cxx:73:   done with init()
    0.27 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress finalize-position
    0.32 [ALRT]:terrain   ./src/Scenery/scenery.cxx:323: Unexpected property in listener /scenery[0]/elevation-mesh[0]/lod-range-factor[0]
    0.32 [ALRT]:terrain   ./src/Scenery/scenery.cxx:323: Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/detailed[0]
    0.32 [ALRT]:terrain   ./src/Scenery/scenery.cxx:323: Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/rough-delta[0]
    0.32 [ALRT]:terrain   ./src/Scenery/scenery.cxx:323: Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/bare-delta[0]
    0.32 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress creating-subsystems
    0.32 [INFO]:general   ./src/Main/fg_init.cxx:982: == Creating Subsystems
    0.32 [INFO]:input     ./simgear/scene/material/matlib.cxx:77: Reading materials from Path "/usr/share/games/flightgear/Materials/regions/materials.xml"
    2.84 [INFO]:systems   ./src/Systems/system_mgr.cxx:44: Reading systems from Path "/usr/share/games/flightgear/Aircraft/Generic/generic-systems.xml"
    2.84 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:254: FlightRecorder: Recorder configuration #0
    2.84 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:358: FlightRecorder: No custom configuration. Loading generic default recorder.
    2.84 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:288: FlightRecorder: Using custom recorder configuration: Generic Flight Recorder (4 piston engines/4 propellers/4 tanks/3 retractable gear)
    2.84 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:311: FlightRecorder: record size is 579 bytes
    2.84 [INFO]:cockpit   ./src/Instrumentation/HUD/HUD.cxx:116: Initializing HUD Instrument
    2.84 [INFO]:general   ./src/Main/main.cxx:397: Creating subsystems took:2526
    2.84 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress binding-subsystems
    2.85 [INFO]:general   ./src/Main/main.cxx:405: Binding subsystems took:1
    2.85 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress init-subsystems
    2.85 [INFO]:general   ./src/Main/locale.cxx:327: Reading localized strings for 'en' from Path "/usr/share/games/flightgear/Translations/default/menu.xml"
    2.89 [ALRT]:input     ./src/GUI/new_gui.cxx:484: Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
    2.89 [ALRT]:input     ./src/GUI/new_gui.cxx:516: Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
    2.91 [INFO]:general   ./src/GUI/FGPUIMenuBar.cxx:58: Initializing old dialog commands:
    2.91 [INFO]:general   ./src/Main/ErrorReporter.cxx:798: Error reporting disabled
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:334: Reusing metar properties at /environment[0]/metar[0] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[1] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[2] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[3] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[4] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[5] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[6] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[10] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:344: Adding metar properties at /environment[0]/metar[11] for
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:396: NoaaMetarRealWxController::update(): nearest airport with METAR has changed. Old: '', new: 'EGHQ'
    2.93 [INFO]:environment./src/Environment/realwx_ctrl.cxx:496: NoaaMetarRealWxController::update(): spawning load request for station-id 'EGHQ'
    2.93 [INFO]:astro     ./simgear/ephemeris/stardata.cxx:58:   Loading stars from Path "/usr/share/games/flightgear/Astro/stars"
    2.94 [INFO]:astro     ./simgear/ephemeris/stardata.cxx:114:   Loaded 9098 stars
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Environment/metarinterpolator.xml"
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem Environment METAR Interpolation Rule
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Environment/interpolator.xml"
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem Environment Interpolation Rule
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Environment/local-weather-rules.xml"
    2.94 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem Local Weather Rules
    2.95 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Aircraft/Generic/g-forces.xml"
    2.95 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem g force effects
    2.95 [ALRT]:autopilot ./src/Autopilot/digitalfilter.cxx:913: DigitalFilter: unknown config node: absolute
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:86: Parse I/O channel request: generic,socket,in,25,127.0.0.1,5542,udp,opentrack
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:104:   protocol = generic
    2.95 [INFO]:network   ./src/Network/generic.cxx:762: Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/opentrack.xml"
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:253:   medium = socket
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:257:   direction = in
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:262:   hertz = 25
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:267:   name = generic-1
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:334:   hostname = 127.0.0.1
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:335:   port = 5542
    2.95 [INFO]:io        ./src/Main/fg_io.cxx:336:   style = udp
    3.02 [INFO]:input     ./src/Input/FGJoystickInput.cxx:139: Looking for bindings for joystick "Microsoft SideWinder Force Feedback 2 Joystick"
    3.02 [INFO]:input     ./src/Input/FGJoystickInput.cxx:151: ... found joystick: /usr/share/games/flightgear/Input/Joysticks/Microsoft/sidewinder-force-feed2.xml
    3.08 [INFO]:input     ./src/Input/FGJoystickInput.cxx:139: Looking for bindings for joystick "Saitek Saitek Pro Flight Rudder Pedals"
    3.08 [INFO]:input     ./src/Input/FGJoystickInput.cxx:151: ... found joystick: /usr/share/games/flightgear/Input/Joysticks/Saitek/Pro-Flight-Rudder-Pedals.xml
    3.08 [INFO]:input     ./src/Input/FGJoystickInput.cxx:139: Looking for bindings for joystick "Microsoft X-Box 360 pad"
    3.08 [INFO]:input     ./src/Input/FGJoystickInput.cxx:154: No config found for joystick "Microsoft X-Box 360 pad"
Using default: "/usr/share/games/flightgear/Input/Joysticks/Default/joystick.xml"
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:448: httpd: adding screenshot uri handler at /screenshot
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:453: httpd: adding property uri handler at /props/
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:458: httpd: adding json uri handler at /json/
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:463: httpd: adding pkg uri handler at /pkg/
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:468: httpd: adding flighthistory uri handler at /flighthistory/
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:473: httpd: adding run uri handler at /run.cgi
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:478: httpd: adding navdb uri handler at /navdb
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:529: starting mongoose with these options:
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > access_control_list: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > access_log_file: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > auth_domain: 'mydomain.com'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > cgi_interpreter: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > cgi_pattern: '**.cgi$|**.pl$|**.php$'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > dav_auth_file: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > document_root: '/usr/share/games/flightgear/Phi'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > enable_directory_listing: 'yes'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > enable_proxy: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > extra_mime_types: '.appcache=text/cache-manifest'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > global_auth_file: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > hide_files_patterns: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > hexdump_file: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > index_files: 'index.html'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > listening_port: '8080'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > run_as_user: ''
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > ssi_pattern: '**.shtml$|**.shtm$'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:532:   > url_rewrites: '/fonts/=/usr/share/games/flightgear/Fonts/,/aircraft-dir/=/usr/share/games/flightgear/Aircraft/ufo/,/fg-home/=/home/dom/.fgfs/,/fg-root/=/usr/share/games/flightgear/'
    3.08 [INFO]:network   ./src/Network/http/httpd.cxx:534: end of mongoose options.
    3.09 [WARN]:systems   ./src/Systems/electrical.cxx:400: Reading deprecated xml electrical system model from
    /usr/share/games/flightgear/Aircraft/Generic/generic-electrical.xml
    3.09 [INFO]:cockpit   ./src/Instrumentation/instrument_mgr.cxx:82: Reading instruments from Path "/usr/share/games/flightgear/Aircraft/ufo/Instruments/instrumentation.xml"
    3.09 [ALRT]:instruments./src/Instrumentation/instrument_mgr.cxx:184: KT-70 legacy instrument compatibility. Please update aircraft to use transponder directly
    3.10 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Aircraft/ufo/ufo-autopilot.xml"
    3.10 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem generic autopilot
    3.10 [WARN]:autopilot ./src/Autopilot/autopilot.cxx:228: Duplicate autopilot component IT-CONTROLLER: Pitch Deg, renamed to IT-CONTROLLER: Pitch Deg_0
    3.10 [WARN]:general   ./simgear/structure/subsystem_mgr.cxx:636: adding subsystem to group with name 'IT-CONTROLLER: Pitch Deg_0', but subsystemId() returns 'IT-CONTROLLER: Pitch Deg'
    3.10 [WARN]:autopilot ./src/Autopilot/autopilot.cxx:228: Duplicate autopilot component IT-CONTROLLER: Pitch Deg, renamed to IT-CONTROLLER: Pitch Deg_1
    3.10 [WARN]:general   ./simgear/structure/subsystem_mgr.cxx:636: adding subsystem to group with name 'IT-CONTROLLER: Pitch Deg_1', but subsystemId() returns 'IT-CONTROLLER: Pitch Deg'
    3.10 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:203: Reading property-rule configuration from Path "/usr/share/games/flightgear/Aircraft/Generic/generic-autopilot-helper.xml"
    3.10 [INFO]:autopilot ./src/Autopilot/autopilotgroup.cxx:215: adding  property-rule subsystem autopilot helpers
    3.11 [INFO]:network   ./src/MultiPlayer/multiplaymgr.cxx:1140: FGMultiplayMgr - multiplayer mode disabled (no MP server specificed).
    3.11 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:254: FlightRecorder: Recorder configuration #0
    3.11 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:288: FlightRecorder: Using custom recorder configuration: Generic Flight Recorder (4 piston engines/4 propellers/4 tanks/3 retractable gear)
    3.11 [INFO]:systems   ./src/Aircraft/flightrecorder.cxx:311: FlightRecorder: record size is 579 bytes
    3.12 [INFO]:cockpit   ./src/Cockpit/cockpitDisplayManager.cxx:70: Reading cockpit displays from Path "/usr/share/games/flightgear/Aircraft/ufo/Instruments/instrumentation.xml"
    3.25 [INFO]:event     ./src/Time/light.cxx:53: Initializing Lighting interpolation tables.
    3.26 [INFO]:sound     ./src/Sound/fg_fx.cxx:134: Reading sound sound from Path "/usr/share/games/flightgear/Aircraft/ufo/ufo-sound.xml"
    3.59 [INFO]:sound     ./simgear/sound/soundmgr_openal.cxx:183: Initializing OpenAL sound manager
    3.59 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress finishing-subsystems
    3.64 [INFO]:environment./src/Environment/environment_mgr.cxx:424: Nearest airport tower now EGHQ
    3.64 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Failed to find view-number-raw=nil
    3.65 [INFO]:nasal     /usr/share/games/flightgear/Nasal/aircraft.nas:368: loading aircraft data from /home/dom/.fgfs/aircraft-data/ufo.xml
    3.65 [INFO]:nasal     /usr/share/games/flightgear/Nasal/emexec.nas:88: (EMEXEC) FrameNotification.frame_rate_worst = /sim/frame-rate-worst -> /sim/frame-rate-worst
    3.65 [INFO]:nasal     /usr/share/games/flightgear/Nasal/emexec.nas:88: (EMEXEC) FrameNotification.elapsed_seconds = /sim/time/elapsed-sec -> /sim/time/elapsed-sec
    3.65 [INFO]:nasal     /usr/share/games/flightgear/Nasal/emexec.nas:88: (EMEXEC) FrameNotification.frame_rate = /sim/frame-rate -> /sim/frame-rate
    3.66 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Request detected to initialize Advanced Weather on startup...
    3.67 [INFO]:nasal     /usr/share/games/flightgear/Nasal/seaport.nas:2: *** NEW LOCATION ***
    3.67 [ALRT]:nasal     ./src/Scripting/NasalSys.cxx:1360: Nasal module gui present in FGDATA/Nasal but not configured in defaults.xml.  Please add an entry to defaults.xml, and set /nasal[0]/gui[0]/enabled[0]=true to load the module on-demand at runtime when required.
    3.78 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Loading local weather routines...
    3.89 [WARN]:general   ./simgear/structure/commands.cxx:116: command not found: 'set-cursor'
    4.01 [INFO]:aircraft  ./src/Model/modelmgr.cxx:166: Adding model Aircraft/ufo/Models/marker.ac
    4.01 [INFO]:general   ./src/Time/TimeManager.cxx:664: After TimeManager::setTimeOffset(): afternoon, warp = 0
    4.01 [INFO]:nasal     /usr/share/games/flightgear/Nasal/route_manager.nas:159: creating default GPS FPDelegate
    4.01 [INFO]:autopilot ./src/Autopilot/route_mgr.cxx:869: route manager, current-wp is now -1
    4.02 [INFO]:input     ./src/Input/FGHIDEventInput.cxx:929: HID event input starting up
    4.03 [INFO]:ai        ./src/AIModel/AIManager.cxx:294: loading scenario 'nimitz_demo'
    4.03 [INFO]:ai        ./src/AIModel/AICarrier.cxx:90: AICarrier: tower-position not defined - using default
    4.03 [INFO]:ai        ./src/AIModel/AICarrier.cxx:95: AICarrier: lso-position not defined - using default
    4.03 [INFO]:ai        ./src/AIModel/AICarrier.cxx:90: AICarrier: tower-position not defined - using default
    4.03 [INFO]:ai        ./src/AIModel/AICarrier.cxx:95: AICarrier: lso-position not defined - using default
    4.03 [INFO]:general   ./src/Main/fg_init.cxx:1160: Subsystems postinit took:18
    4.03 [INFO]:general   ./src/Main/fg_init.cxx:1169:

    4.03 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress finalize-position
    4.04 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:387: Ignoring /usr/share/games/flightgear/Textures/Sky/allsky_brightness_magten.png for inclusion into the texture cache because pixel density too low at 8 bits per pixek
    4.24 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:387: Ignoring /usr/share/games/flightgear/Textures/Sky/moon.png for inclusion into the texture cache because pixel density too low at 16 bits per pixek
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:569: FGTileMgr: at lon = -4.97871deg, lat = 50.4345deg, elev = -3047.7m, scheduling needed for:-5:0, 50:3, visibility=32000
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:354: scheduling needed tiles for -5:0, 50:3, tile-width-m:17702, tile-height-m:13914.9
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:0
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:1
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:2
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:3
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:4
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:5
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:2, 50:6
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:0
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:1
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:2
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:3
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:4
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:5
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-6:3, 50:6
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:0
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:1
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:2
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:3
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:4
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:5
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:0, 50:6
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:0
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:1
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:2
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:3
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:4
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:5
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:1, 50:6
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:0
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:1
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:2
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:3
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:4
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:5
    4.29 [INFO]:terrain   ./src/Scenery/tilemgr.cxx:285: sched_tile: new STG tile entry for:-5:2, 50:6
    4.38 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:986: Loading tile 2859778.stg
    4.38 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Objects/w010n50/w006n50/2859778.stg"
    4.47 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Terrain/w010n50/w006n50/2859778.stg"
    4.66 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/airport-grass-summer.png will generate mipmap only
    4.80 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/airport_grass_structure_overlay2.png will generate mipmap only
    4.89 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/void.png will generate mipmap only
    4.89 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/airport-grass-summer.png will generate mipmap only
    5.12 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/grain_texture.png will generate mipmap only
    5.20 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/countryside1.ireland-autumn.png will generate mipmap only
    5.44 [INFO]:environment./src/Main/positioninit.cxx:782: Using METAR for runway selection: '2022/08/26 20:20 EGHQ 262020Z AUTO 35008KT 9999 BKN021/// 16/12 Q1020 '
    5.44 [INFO]:general   ./src/Main/positioninit.cxx:157: Attempting to set starting position from airport code EGHQ heading 350
    5.44 [INFO]:nasal     /usr/share/games/flightgear/Nasal/seaport.nas:2: *** NEW LOCATION ***
    5.44 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress loading-scenery
    5.95 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Globe/ocean_depth_1.png will generate mipmap only
    9.12 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/sand_overlay.png will generate mipmap only
    9.16 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/packice-overlay.png will generate mipmap only
    9.32 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/grass_green_hires-autumn.png will generate mipmap only
    9.50 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:986: Loading tile 2876184.stg
    9.50 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg"
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01373, 50.4399 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01773, 50.4408 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00211, 50.4392 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01145, 50.4415 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00171, 50.4466 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00559, 50.4369 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00938, 50.436 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00346, 50.4367 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00493, 50.4377 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00821, 50.4366 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00095, 50.437 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00327, 50.4389 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01099, 50.4426 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01298, 50.4424 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01953, 50.4402 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01782, 50.4396 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01529, 50.4402 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01421, 50.4416 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01607, 50.4413 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01524, 50.4419 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.01307, 50.4408 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876184.stg": Object at -5.00335, 50.4468 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.50 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Terrain/w010n50/w005n50/2876184.stg"
    9.50 [WARN]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:493: Path "/mnt/FG2/ukterrain/Terrain/w010n50/w005n50/2876184.stg": Object at -5.00912, 50.4448 in incorrect bucket (-5:0, 50:3) - should be in 2859803 (-6:3, 50:3)
    9.69 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/countryside2.green.png will generate mipmap only
   10.04 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_broken_white.png will generate mipmap only
   10.05 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_checkerboard_white.png will generate mipmap only
   10.06 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_dbl_solid_yellow.png will generate mipmap only
   10.07 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_ils_hold.png will generate mipmap only
   10.08 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_runway_hold.png will generate mipmap only
   10.09 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_sng_lane_queue.png will generate mipmap only
   10.10 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_sng_solid_white.png will generate mipmap only
   10.10 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Runway/lf_sng_solid_yellow.png will generate mipmap only
   10.34 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:986: Loading tile 2859803.stg
   10.34 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Objects/w010n50/w006n50/2859803.stg"
   10.34 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Terrain/w010n50/w006n50/2859803.stg"
   10.76 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:986: Loading tile 2876176.stg
   10.76 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Objects/w010n50/w005n50/2876176.stg"
   10.76 [INFO]:terrain   ./simgear/scene/tgdb/ReaderWriterSTG.cxx:521: Loading stg file Path "/mnt/FG2/ukterrain/Terrain/w010n50/w005n50/2876176.stg"
   10.81 [INFO]:flight    ./src/FDM/fdm_shell.cxx:175: Scenery loaded, will init FDM
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:139: Start common FDM init
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:146: ...initializing position...
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:155: Checking for lon = -4.97871deg, lat = 50.4345deg, alt = -9999ft
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:173: ...initializing ground elevation to 376.13ft...
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:178: ...initializing sea-level radius...
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:179:  lat = 50.4345 alt = 376.23
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:186: ...initializing Euler angles...
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:195: ...initializing velocities...
   10.81 [INFO]:flight    ./src/FDM/flight.cxx:233: End common FDM init
   10.82 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Traffic pins off
   10.83 [INFO]:view      ./src/Viewer/splash.cxx:883: Splash screen progress
   10.98 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: setWeight() - not supported for ufo
   11.06 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Terrain/countryside3.green.png will generate mipmap only
   11.35 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:387: Ignoring /usr/share/games/flightgear/Models/Weather/cumulus_sheet1.rgb for inclusion into the texture cache because pixel density too low at 16 bits per pixek
   11.35 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Models/Weather/cumulus_sheet1.rgb will generate mipmap only
   11.45 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:387: Ignoring /usr/share/games/flightgear/Textures/Sky/cl_cumulus2.png for inclusion into the texture cache because pixel density too low at 16 bits per pixek
   11.45 [INFO]:io        ./simgear/scene/model/ModelRegistry.cxx:401: From effects transparent /usr/share/games/flightgear/Textures/Sky/cl_cumulus2.png will generate mipmap only
   11.63 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Starting hard-coded terrain presampling
   11.79 [INFO]:aircraft  ./src/Model/modelmgr.cxx:166: Adding model Models/Weather/lightning_combined.xml
   11.99 [INFO]:nasal     ./src/Scripting/NasalModelData.cxx:84: New model with attached script(s) (branch = 0x7fb76b3d9ec0, path = /'')
   12.09 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Model load Nimitz /ai/models/carrier
   12.11 [INFO]:nasal     ./src/Scripting/NasalModelData.cxx:84: New model with attached script(s) (branch = 0x7fb76baa6900, path = /'')
   12.19 [INFO]:nasal     ./src/Scripting/NasalSys.cxx:557: Model load Eisenhower /ai/models/carrier[1]
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Segafault with scenery build

Postby merspieler » Fri Aug 26, 2022 9:56 pm

Please run flightgear in gdb and get a backtrace of the segfault so we can actually see where it segfaults.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Segafault with scenery build

Postby dom_vc10 » Fri Aug 26, 2022 10:12 pm

Not sure if I have done it right but here's the output.




Code: Select all
 gdb --args fgfs --enable-real-weather-fetch --prop:/nasal/local_weather/enabled=true --prop:/sim/gui/dialogs/metar/mode/global-weather=false --prop:/sim/gui/dialogs/metar/mode/local-weather=true --prop:/sim/gui/dialogs/metar/mode/manual-weather=true --prop:/local-weather/tmp/tile-management=METAR --prop:/local-weather/tmp/tile-type=live --timeofday=afternoon --prop:/sim/rendering/multi-sample-buffers=1 --prop:/sim/rendering/multi-samples=4 --prop:/sim/rendering/texture-cache/cache-enabled=false --enable-fullscreen --disable-terrasync --disable-sentry --aircraft-dir=/usr/share/games/flightgear/Aircraft/ufo --aircraft=ufo --airport=EGHQ --fg-scenery=/mnt/FG2/ukterrain --fg-scenery=/mnt/FG/terramaster --generic=socket,in,25,127.0.0.1,5542,udp,opentrack --prop:/sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContex --prop:/sim/thread-cpu-affinity=osg --httpd=8080 --prop:/sim/rendering/vsync-enable=false
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 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:
<https://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 in fgfs)
(gdb) run
Starting program: /usr/games/fgfs --enable-real-weather-fetch --prop:/nasal/local_weather/enabled=true --prop:/sim/gui/dialogs/metar/mode/global-weather=false --prop:/sim/gui/dialogs/metar/mode/local-weather=true --prop:/sim/gui/dialogs/metar/mode/manual-weather=true --prop:/local-weather/tmp/tile-management=METAR --prop:/local-weather/tmp/tile-type=live --timeofday=afternoon --prop:/sim/rendering/multi-sample-buffers=1 --prop:/sim/rendering/multi-samples=4 --prop:/sim/rendering/texture-cache/cache-enabled=false --enable-fullscreen --disable-terrasync --disable-sentry --aircraft-dir=/usr/share/games/flightgear/Aircraft/ufo --aircraft=ufo --airport=EGHQ --fg-scenery=/mnt/FG2/ukterrain --fg-scenery=/mnt/FG/terramaster --generic=socket,in,25,127.0.0.1,5542,udp,opentrack --prop:/sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContex --prop:/sim/thread-cpu-affinity=osg --httpd=8080 --prop:/sim/rendering/vsync-enable=false
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee947640 (LWP 3247)]
[New Thread 0x7fffee947640 (LWP 3248)]
[Thread 0x7fffee947640 (LWP 3247) exited]
    0.00 [ALRT]:general    flightgear instance already running, switching to FG_HOME read-only.
    0.00 [ALRT]:general    Couldn't flock() file at:Path "/home/dom/.fgfs/fgfs_lock.pid"
[New Thread 0x7fffeddf9640 (LWP 3249)]
[New Thread 0x7fffed49e640 (LWP 3250)]
[New Thread 0x7fffdfe7e640 (LWP 3252)]
[Thread 0x7fffdfe7e640 (LWP 3252) exited]
[New Thread 0x7fffdfe7e640 (LWP 3253)]
[New Thread 0x7fffdf67d640 (LWP 3254)]
[Thread 0x7fffdfe7e640 (LWP 3253) exited]
[Thread 0x7fffdf67d640 (LWP 3254) exited]
[New Thread 0x7fffdf67d640 (LWP 3255)]
[New Thread 0x7fffdfe7e640 (LWP 3256)]
[Thread 0x7fffdf67d640 (LWP 3255) exited]
[Thread 0x7fffdfe7e640 (LWP 3256) exited]
[New Thread 0x7fffdfe7e640 (LWP 3257)]
[New Thread 0x7fffdf67d640 (LWP 3258)]
[New Thread 0x7fffdec9e640 (LWP 3259)]
[New Thread 0x7fffde49d640 (LWP 3260)]
./simgear/props/props.cxx:106: active: /sim[0]/property-locking[0]/active[0] verbose: /sim[0]/property-locking[0]/verbose[0] timing: /sim[0]/property-locking[0]/timing[0] parent_listeners: /sim[0]/property-locking[0]/parent_listeners[0]
[New Thread 0x7fffee947640 (LWP 3261)]
[Thread 0x7fffee947640 (LWP 3248) exited]
    0.24 [ALRT]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
    0.25 [ALRT]:view       Creating osgViewer::CompositeViewer
    0.25 [ALRT]:general    affinity=osg
    0.25 [ALRT]:view       Calling composite_viewer->setUseConfigureAffinity() with flag=1
Now checking for plug-in osgPlugins-3.6.5/osgdb_nvtt.so
    0.44 [WARN]:general    Enabling ATI/AMD viewport hack
[Detaching after vfork from child process 3262]
    0.45 [ALRT]:view       affinity=osg
    0.45 [ALRT]:view       Running: for i in `ls /proc/3244/task/`; do taskset -p $i; done 1>&2
pid 3244's current affinity mask: 1
pid 3249's current affinity mask: f
pid 3250's current affinity mask: f
pid 3257's current affinity mask: f
pid 3258's current affinity mask: f
pid 3259's current affinity mask: f
pid 3260's current affinity mask: f
pid 3261's current affinity mask: f
    0.45 [ALRT]:view       Resetting affinity of current thread getpid()=3244
    0.45 [ALRT]:view       Running: for i in `ls /proc/3244/task/`; do taskset -p $i; done 1>&2
[Detaching after vfork from child process 3272]
pid 3244's current affinity mask: f
pid 3249's current affinity mask: f
pid 3250's current affinity mask: f
pid 3257's current affinity mask: f
pid 3258's current affinity mask: f
pid 3259's current affinity mask: f
pid 3260's current affinity mask: f
pid 3261's current affinity mask: f
    0.64 [ALRT]:general    initTerrasync() failing because /sim/fghome-readonly is true
    0.69 [ALRT]:terrain    Unexpected property in listener /scenery[0]/elevation-mesh[0]/lod-range-factor[0]
    0.69 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/detailed[0]
    0.69 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/rough-delta[0]
    0.69 [ALRT]:terrain    Unexpected property in listener /sim[0]/rendering[0]/static-lod[0]/bare-delta[0]
[Thread 0x7fffdec9e640 (LWP 3259) exited]
[New Thread 0x7fffee947640 (LWP 3285)]
[Thread 0x7fffee947640 (LWP 3261) exited]
    3.34 [ALRT]:input      Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
    3.34 [ALRT]:input      Error parsing dialog Path "/usr/share/games/flightgear/gui/dialogs/save-graphics-preset.xml"
[New Thread 0x7fffee947640 (LWP 3286)]
[Thread 0x7fffee947640 (LWP 3285) exited]
    3.40 [ALRT]:autopilot  DigitalFilter: unknown config node: absolute
[New Thread 0x7fffdec9e640 (LWP 3287)]
    3.54 [ALRT]:instruments KT-70 legacy instrument compatibility. Please update aircraft to use transponder directly
[New Thread 0x7fffc514b640 (LWP 3288)]
[New Thread 0x7fffc494a640 (LWP 3289)]
[New Thread 0x7fffc4149640 (LWP 3290)]
[New Thread 0x7fffc3948640 (LWP 3291)]
[New Thread 0x7fffc3147640 (LWP 3292)]
[New Thread 0x7fffcffff640 (LWP 3293)]
[Thread 0x7fffcffff640 (LWP 3293) exited]
[New Thread 0x7fffc2946640 (LWP 3294)]
[Thread 0x7fffc2946640 (LWP 3294) exited]
[New Thread 0x7fffc2946640 (LWP 3295)]
[Thread 0x7fffc2946640 (LWP 3295) exited]
[New Thread 0x7fffc2946640 (LWP 3296)]
[New Thread 0x7fffcc82b640 (LWP 3297)]
[New Thread 0x7fffb191e640 (LWP 3298)]
[New Thread 0x7fffee947640 (LWP 3299)]
[Thread 0x7fffee947640 (LWP 3286) exited]
    4.14 [INFO]:nasal      Failed to find view-number-raw=nil
    4.16 [INFO]:nasal      Request detected to initialize Advanced Weather on startup...
    4.18 [ALRT]:nasal      Nasal module gui present in FGDATA/Nasal but not configured in defaults.xml.  Please add an entry to defaults.xml, and set /nasal[0]/gui[0]/enabled[0]=true to load the module on-demand at runtime when required.
    4.28 [INFO]:nasal      Loading local weather routines...
[New Thread 0x7fffabfff640 (LWP 3300)]
[Thread 0x7fffabfff640 (LWP 3300) exited]
[New Thread 0x7fffab3fe640 (LWP 3301)]
[New Thread 0x7fffaabfd640 (LWP 3302)]
    8.13 [INFO]:nasal      Traffic pins off

Thread 32 "fgfs" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffab3fe640 (LWP 3301)]
0x00007ffff702c588 in osg::Image::getColor(unsigned int, unsigned int, unsigned int) const () from /lib/x86_64-linux-gnu/libosg.so.161
(gdb) bt full
#0  0x00007ffff702c588 in osg::Image::getColor(unsigned int, unsigned int, unsigned int) const () from /lib/x86_64-linux-gnu/libosg.so.161
No symbol table info available.
#1  0x00007ffff7b966fa in SGTriangleInfo::addRandomTreePoints(float, osg::Texture2D*, float, float, float, bool, std::vector<SGVec3<float>, std::allocator<SGVec3<float> > >&, std::vector<SGVec3<float>, std::allocator<SGVec3<float> > >&) ()
   from /lib/x86_64-linux-gnu/libSimGearScene.so.2020.4.0
No symbol table info available.
#2  0x00007ffff7ba275c in SGTileDetailsCallback::generateRandomTileObjects(std::vector<SGTriangleInfo, std::allocator<SGTriangleInfo> >&, SGMaterialCache const*) () from /lib/x86_64-linux-gnu/libSimGearScene.so.2020.4.0
No symbol table info available.
#3  0x00007ffff7ba5310 in SGTileDetailsCallback::readNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) () from /lib/x86_64-linux-gnu/libSimGearScene.so.2020.4.0
No symbol table info available.
#4  0x00007ffff757c6fd in ?? () from /lib/x86_64-linux-gnu/libosgDB.so.161
No symbol table info available.
#5  0x00007ffff7585c13 in osgDB::DatabasePager::DatabaseThread::run() ()
   from /lib/x86_64-linux-gnu/libosgDB.so.161
No symbol table info available.
#6  0x00007ffff6ee9b73 in OpenThreads::ThreadPrivateActions::StartThread(void*)
    () from /lib/x86_64-linux-gnu/libOpenThreads.so.21
--Type <RET> for more, q to quit, c to continue without paging--
No symbol table info available.
#7  0x00007ffff309db43 in start_thread (arg=<optimized out>)
    at ./nptl/pthread_create.c:442
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488339200,
                -7789501426601807647, 140736066479680, 11, 140737270896720,
                140737488339552, 7789388725724655841, 7789476566299455713},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#8  0x00007ffff312fa00 in clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
(gdb)
Last edited by dom_vc10 on Fri Aug 26, 2022 10:20 pm, edited 1 time in total.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Segafault with scenery build

Postby merspieler » Fri Aug 26, 2022 10:17 pm

trace looks good.
do you run the same osg version on both devices?
is crashes when it tries to call getColor(), from the trace I'd assume that this is the landclass texture lookup which causes this. but that doesn't answer why it would be different on different systems.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Segafault with scenery build

Postby dom_vc10 » Fri Aug 26, 2022 10:27 pm

merspieler wrote in Fri Aug 26, 2022 10:17 pm:trace looks good.
do you run the same osg version on both devices?

I am assuming so as they both are using the same PPA and are updated today the same but how do I check to be sure?

The other thing that is odd to me is that I can load FG in another area then change location and fly around the new tiles with no issue at all.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Segafault with scenery build

Postby merspieler » Fri Aug 26, 2022 10:47 pm

Code: Select all
apt-cache show openscenegraph


to see the package details.

no cloud about that phenomenon with it depending on startup... maybe ask on the mailing list, they probably understand that stuff better than I do.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Segafault with scenery build

Postby dom_vc10 » Fri Aug 26, 2022 10:53 pm

Main pc - 3.6.5
Laptop - 3.6.4
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Segafault with scenery build

Postby merspieler » Fri Aug 26, 2022 11:06 pm

could explain the different behavior.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Segafault with scenery build

Postby TheEagle » Fri Aug 26, 2022 11:15 pm

I've got the diff of osg/Image.cpp between the commits for releases 3.6.4 and 3.6.5 for you:
Code: Select all
~/fgsource/OpenSceneGraph$ git diff 312f640a4ae831f5ad4c577d4ea14e616c6ae309 a827840baf0786d72e11ac16d5338a4ee25779db src/osg/Image.cpp
diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp
index d27e5e4b8..24895386f 100644
--- a/src/osg/Image.cpp
+++ b/src/osg/Image.cpp
@@ -1696,11 +1696,11 @@ void Image::copySubImage(int s_offset, int t_offset, int r_offset, const osg::Im
         }
         unsigned int rowWidthInBlocks = (_s + footprint.x() - 1) / footprint.x();
         unsigned int blockSize = computeBlockSize(_pixelFormat, 0);
-        data_destination = _data + blockSize * (rowWidthInBlocks * t_offset + (s_offset / footprint.x()));
+        data_destination = _data + blockSize * (rowWidthInBlocks * (t_offset / footprint.y()) + (s_offset / footprint.x()));
         unsigned int copy_width = (osg::minimum(source->s(), _s - s_offset) + footprint.x() - 1) / footprint.x();
         unsigned int copy_height = (osg::minimum(source->t(), _t - t_offset) + footprint.y() - 1) / footprint.y();
         unsigned int dstRowStep = blockSize * rowWidthInBlocks;
-        unsigned int srcRowStep = blockSize * (source->_s + footprint.x() - 1) / footprint.x();
+        unsigned int srcRowStep = blockSize * ((source->_s + footprint.x() - 1) / footprint.x());
         const unsigned char* data_source = source->data(0, 0, 0);
         for (unsigned int row = 0; row < copy_height; row += 1) { //copy blocks in a row, footprint.y() rows at a time
             memcpy(data_destination, data_source, copy_width * blockSize);

I'll leave it to you though to make any sense of it ! :wink:
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Segafault with scenery build

Postby TheEagle » Fri Aug 26, 2022 11:17 pm

@dom_vc10: If you could upload your current version of the scenery on GitHub, and if someone with OSG built from source could apply the reverse of the diff I posted, and see if it still crashes, we'd know the problem is caused by one of those two changed lines - would be really helpful ! :)
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Segafault with scenery build

Postby dom_vc10 » Fri Aug 26, 2022 11:47 pm

I would love to however I finally have given up. I spent weeks now just trying to update airports for one region so I can use the latest(ish) data to match charts and fly and even though I know I am following the steps right it just has issue after issue. I installed FG about 2 years ago or so and have spent so much time working on trying to get it how I want but lack of programming skills and general failures even when I do manage to follow it right have all added up. I have done about 10 actual proper flights in FG over the two years the rest is messing around to make sure it's up to date enough. So I maybe one day I return but I want to just get a sim now where I can fly more than work on the sim. You have been great recently in helping me, so thank you very much. Merci! I will watch FG with great fondness (maybe I will come back to it) but now I am walking away it's taken a bit too much energy from me.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2


Return to Scenery

Who is online

Users browsing this forum: No registered users and 9 guests