Menu

#2795 FG Nightly crashes due to ucrtbase.dll

2020.4
Invalid
nobody
Medium
2023-08-16
2023-03-06
scarymovie
No

Hi there. I am experiencing crashes many times whenever i fly a long distance (>400nm). RAM is healthy. It always happen during approach when I am near to the runway.

Ans: Run FG.
How did you expect FlightGear to respond?
Ans: Work normally.
What did you see instead?
Ans: FG crashed when approaching a runway during flaring.
What version are you using?
Ans: FlightGear 2020.4.0
What operating system?
Ans: Windows 11 Home

Event Viewer:

Faulting application name: fgfs.exe, version: 0.0.0.0, time stamp: 0x6405b145
Faulting module name: ucrtbase.dll, version: 10.0.22000.1, time stamp: 0x00e78ce9
Exception code: 0xc0000409
Fault offset: 0x000000000007c648
Faulting process id: 0x2c40
Faulting application start time: 0x01d9503f724fc045
Faulting application path: D:\Games\FlightGear 2020.4\bin\fgfs.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 9d8bdf5c-1129-4722-beb3-99d01a22ea52
Faulting package full name:
Faulting package-relative application ID:

Aircraft: CRJ 700 - Family
Routes: A few examples:- EDDM->EPWA and EDDM -> LIRN

Attempt:
1. Replaced FlightGear 2020.4\bin\ucrtbase.dll with Windows\system32\ucrtbase.dll.
2. Remove FlightGear 2020.4\bin\ucrtbase.dll.
3. Windows Update.
4. Install latest nighly.

Thank you.

Related

Tickets: #2795

Discussion

  • scarymovie

    scarymovie - 2023-03-07

    Not sure if this is helpful, but this is taken from the dump file. Thank you.

    STACK_COMMAND:  ~0s ; .cxr ; kb
    SYMBOL_NAME:  ucrtbase!invoke_watson+18
    MODULE_NAME: ucrtbase
    IMAGE_NAME:  ucrtbase.dll
    FAILURE_BUCKET_ID:  FAIL_FAST_INVALID_ARG_c0000409_ucrtbase.dll!invoke_watson
    OS_VERSION:  10.0.22000.1
    BUILDLAB_STR:  co_release
    OSPLATFORM_TYPE:  x64
    OSNAME:  Windows 10
    IMAGE_VERSION:  6.2.22000.1
    FAILURE_ID_HASH:  {ff968da7-5196-0e9d-7c2c-c6a2c196fc27}
    
     
  • James Turner

    James Turner - 2023-03-07

    When we've had this before, it's been related to interfaction of some particular Windows service packs, and UCRTBase.dll : normally remove the one from FlightGear helps. Did any of the 4 things you tried help?

     
  • scarymovie

    scarymovie - 2023-03-07

    Hi James, hope you are well.

    Unfortunately no, none of them helps. I just tested on 2020.3.17 but didn't have the same problem Are you able to recall what are the service packs? I'm considering whether to remove other related .dll files in bin folder, eg msvcp, vcruntime...etc.

     
  • James Turner

    James Turner - 2023-03-07

    Yes, I'd try removing all the runtime DLLs from the FlightGear bin folder : 99% chance, the issue is one of 'our' ones is wrong for you. Move them to a temp folder on the Desktop, so if you find one which is not in Windows System dir, you can move it back. All the vcXYZ and msvcXYZ ones are worth a try,

     
  • scarymovie

    scarymovie - 2023-03-07

    Hi James, I removed the runtime DLLs but still getting the same issue, There must be something wrong with the 2020.4 nightly build since it works perfectly on 2020.3.17.

    Thank you, James.

     
  • James Turner

    James Turner - 2023-03-08

    We do use different C++ compiler for 2020.4, but we switched that over more or less the day 2020.4 was created, so more than two years ago now. Do you know if 2020.4 used to work for you?

    It's worrying if it crashes using the 'correct' system versions of the DLLs, becuase I don't know what the next debugging step might be. Do you get the same crash dump when using all the system DLLs

     
  • scarymovie

    scarymovie - 2023-03-08

    Hi James, I can't remember when it used to work for me off the top of my head. Probably last year June. And yes, same crash dump when all the system DLLs are used.

    Thank you for always helping out, James.

     
  • xDraconian

    xDraconian - 2023-04-04

    VT,

    ucrtbase is the "universal c runtime" module. So the problem is likely an incompatibility between the compiled code you downloaded and the runtime module you have installed on your Windows 10 system.

    Appears that you are running the Windows SDK 11 on your Windows 10 system. That shouldn't be a problem as long as your Windows 10 is a supported configuration.

    Also appears that your version of the SDK is not the latest version, so I recommend you upgrade it as your SDK version had known issues. If the upgrade fails to resolve the issue, then I would recommend you revert back to the latest version of Windows SDK 10.

    As a last resort, you may have better stability if you compile the binaries yourself.

     
  • xDraconian

    xDraconian - 2023-04-30
    • labels: --> Segfault
    • status: New --> NeedInfo
     
  • scarymovie

    scarymovie - 2023-05-02

    Hi xDraconian, I am thinking of compiling the binaries. Referring to https://wiki.flightgear.org/Building_using_CMake_-Windows, may I know if the repositories mentioned in this article are the nightly or the latest stable version?

    Thank you so much.

     
    • xDraconian

      xDraconian - 2023-05-02

      Hi VT,

      Those will retrieve the nightly... i.e. branch 'next'.

      On 5/2/23 11:03 AM, VT wrote:

      Hi xDraconian, I am thinking of compiling the binaries. Referring to
      https://wiki.flightgear.org/Building_using_CMake_-Windows, may I know
      if the repositories mentioned in this article are the nightly or the
      latest stable version?

      Thank you so much.


      [codetickets:#2795]
      https://sourceforge.net/p/flightgear/codetickets/2795/ FG Nightly
      crashes due to ucrtbase.dll

      Status: NeedInfo
      Milestone: 2020.4
      Labels: Segfault
      Created: Mon Mar 06, 2023 04:33 PM UTC by VT
      Last Updated: Sun Apr 30, 2023 04:45 PM UTC
      Owner: nobody

      Hi there. I am experiencing crashes many times whenever i fly a long
      distance (>400nm). RAM is healthy. It always happen during approach
      when I am near to the runway.

      Ans: Run FG.
      How did you expect FlightGear to respond?
      Ans: Work normally.
      What did you see instead?
      Ans: FG crashed when approaching a runway during flaring.
      What version are you using?
      Ans: FlightGear 2020.4.0
      What operating system?
      Ans: Windows 11 Home * Event Viewer:*
      Faulting application name: fgfs.exe, version: 0.0.0.0, time stamp:
      0x6405b145
      Faulting module name: ucrtbase.dll, version: 10.0.22000.1, time stamp:
      0x00e78ce9
      Exception code: 0xc0000409
      Fault offset: 0x000000000007c648
      Faulting process id: 0x2c40
      Faulting application start time: 0x01d9503f724fc045
      Faulting application path: D:\Games\FlightGear 2020.4\bin\fgfs.exe
      Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
      Report Id: 9d8bdf5c-1129-4722-beb3-99d01a22ea52
      Faulting package full name:
      Faulting package-relative application ID:

      Aircraft: CRJ 700 - Family
      Routes: A few examples:- EDDM->EPWA and EDDM -> LIRN

      Attempt:
      1. Replaced FlightGear 2020.4\bin\ucrtbase.dll with
      Windows\system32\ucrtbase.dll.
      2. Remove FlightGear 2020.4\bin\ucrtbase.dll.
      3. Windows Update.
      4. Install latest nighly.

      Thank you.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/flightgear/codetickets/2795/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #2795

  • scarymovie

    scarymovie - 2023-05-03

    Hi xDraconian, I was able to compile the binaries and did a flight test. However, it crashed halfway. I have attached a screenshot of the debug log. Hope you could help me out with it. Thank you man!

     

    Last edit: scarymovie 2023-05-03
  • xDraconian

    xDraconian - 2023-05-04

    Oh, that's bad. That code is the Nasal garbage collector. PTR(r).obj is set to -1, which is an invalid pointer. So when it tries to read -1->mark , it fails.

    This is likely an issue with the CRJ; specifically, an issue within its Nasal code.
    This will need to be diagnosed and resolved by the aircraft team.
    I'd recommend search through the Nasal code looking to see where that (-1) value is coming from.

    A workaround (not a permanent fix, but an attempt to eliminate the crash):
    change lines 248/49 from:

        if(IS_NUM(r) || IS_NIL(r))
            return;
    

    change to this:

        if(IS_NUM(r) || IS_NIL(r) || IS_NUM(PTR(r).obj) || IS_NIL(PTR(r).obj) )
            return;
    

    The above code is located within file simgear/nasal/gc.c

    I wouldn't want to make this a permanent fix, because:
    - it hides the really problem
    - it may just move the crash to occur somewhere else.

    So the long-term fix will need to be made by the aircraft team.

     

    Last edit: xDraconian 2023-05-04
  • xDraconian

    xDraconian - 2023-05-04
    • labels: Segfault --> Segfault, Aircraft, CRJ700
     
  • scarymovie

    scarymovie - 2023-05-05

    Thank you for pointing that out, xDraconian. Shouldn't the value be "1" rather than "-1" as shown in the screenshot? I apologize if I didn't understand correctly. Not sure if your "-1" indicates that something was flagged.

     
  • xDraconian

    xDraconian - 2023-05-11

    @VT, my apology for the late reply. No, "1" is not the correct value either. The value is expected to be some memory address, so expect some very large number (e.g. 0x3D704469). The number you received was 0xFFFFFFFFFFFFFFFF, which in computer speak is the value "-1". The memory location containing the code that saw the error is that first big number (i.e. 0x00007FF...), so the memory location of the data is often somewhere close to that code location.

    Did you give the workaround a try?

     
  • scarymovie

    scarymovie - 2023-05-11

    Hi xDraconian, I did not try the workaround since you mentioned it would be better to fix the aircraft issue.

    However, I'm getting a different error now. Please see the attached image. :)

    And below is the debug log. Looks like it is the same issue (please check out the last line) I encountered before this. Thank you so much.

    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\flightgear-build\src\Main\RelWithDebInfo\fgfs.exe'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgText.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\dbus-1-3.dll'. Module was built without symbols.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\advapi32.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\user32.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\ucrtbase.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgSim.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgDB.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\combase.dll'
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgUtil.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgParticle.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgViewer.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\ot21-OpenThreads.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osg.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgGA.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\event_core.dll'. Module was built without symbols.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\sentry.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osg162-osgTerrain.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\openxr_loader.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\OpenAL32.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\zlib.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\libcurl.dll'. Module was built without symbols.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\liblzma.dll'. Module was built without symbols.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Network.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Qml.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Quick.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Widgets.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Gui.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Core.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.22621.608_none_fb280a3c7926c2cc\comctl32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5QmlModels.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140_1.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\mpr.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\netapi32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\srvcli.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\OnDemandConnRouteHelper.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\OnDemandConnRouteHelper.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc6.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc.dll'. 
    The thread 0x1a44 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. 
    The thread 0x5764 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\platforms\qwindows.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\wtsapi32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\styles\qwindowsvistastyle.dll'. 
    The thread 0xa90 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvoglv64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cryptnet.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\drvstore.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\wldp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. 
    The thread 0x5a84 has exited with code 0 (0x0).
    The thread 0x5aa0 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. 
    The thread 0x52c8 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\nvspcap64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\winsta.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\d3d9.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvldumdx.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvd3dumx.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\directxdatabasehelper.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
    The thread 0x1c30 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdumdim64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igd9dxva64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\media_bin_64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdgmm64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdail64.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvd3dumx.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvldumdx.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\media_bin_64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igd9dxva64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdgmm64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdumdim64.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvldumdx.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvd3dumx.dll'. 
    The thread 0x5a9c has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdumdim64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igd9dxva64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\media_bin_64.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdgmm64.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvd3dumx.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_d0479fdf5b4b5332\nvldumdx.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\media_bin_64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igd9dxva64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdgmm64.dll'
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\igdumdim64.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DataExchange.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\bearer\qgenericbearer.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\netprofm.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\npmproxy.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Program Files\StartAllBack\StartAllBackLoaderX64.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Program Files\StartAllBack\StartAllBackLoaderX64.dll'
    onecore\com\combase\objact\dllcache.cxx(2058)\combase.dll!00007FFF11D7860B: (caller: 00007FFF11C55B59) ReturnHr(1) tid(5b1c) 8007045A A dynamic link library (DLL) initialization routine failed.
    onecore\com\combase\objact\dllcache.cxx(1968)\combase.dll!00007FFF11D78567: (caller: 00007FFF11C55492) ReturnHr(2) tid(5b1c) 8007045A A dynamic link library (DLL) initialization routine failed.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\qml\QtQuick\Controls.2\qtquickcontrols2plugin.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5QuickControls2.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5QuickTemplates2.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\qml\QtQuick.2\qtquick2plugin.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5QmlWorkerScript.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\qml\QtQuick\Templates.2\qtquicktemplates2plugin.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\qml\QtQml\qmlplugin.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    The thread 0xb48 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    The thread 0x1a7c has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qjpeg.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qgif.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qicns.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qico.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qsvg.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\bin\Qt5Svg.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qtga.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qtiff.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qwbmp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qwebp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. 
    The thread 0x55a8 has exited with code 0 (0x0).
    The thread 0x497c has exited with code 0 (0x0).
    The thread 0x4964 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\schannel.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ncrypt.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ntasn1.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ncryptsslp.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. 
    The thread 0x58c4 has exited with code 0 (0x0).
    The thread 0x153c has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. 
    'fgfs.exe' (Win32): Unloaded 'C:\Windows\System32\psapi.dll'
    The thread 0x2e08 has exited with code 0 (0x0).
    The thread 0x3f34 has exited with code 0 (0x0).
    The thread 0x33cc has exited with code 0 (0x0).
    The thread 0x3604 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_png.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\windows-3rd-party\msvc140\3rdParty.x64\bin\libpng.dll'. Module was built without symbols.
    Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to find active runtime file in registry
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
    Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to find active runtime file in registry
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
    Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_jpeg.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_freetype.dll'. Symbols loaded.
    The thread 0x2074 has exited with code 0 (0x0).
    The thread 0xcc has exited with code 0 (0x0).
    The thread 0x5744 has exited with code 0 (0x0).
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\dinput.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. 
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_txf.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_rgb.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_ac.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'D:\Games\FlightGear\Git\FlightGearBuild\install\bin\osgPlugins-3.6.5\osgdb_dds.dll'. Symbols loaded.
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. 
    'fgfs.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
    The thread 0x491c has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: sg_io_exception at memory location 0x0000004C994F1FA0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: sg_io_exception at memory location 0x0000004C994F1FA0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: sg_io_exception at memory location 0x0000004C994F1FA0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: sg_io_exception at memory location 0x0000004C994F1FA0.
    The thread 0xadc has exited with code 0 (0x0).
    The thread 0x211c has exited with code 0 (0x0).
    The thread 0x5b54 has exited with code 0 (0x0).
    The thread 0x48c4 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x5f80 has exited with code 0 (0x0).
    The thread 0x5de0 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000004C994FF0B0.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x5bd4 has exited with code 0 (0x0).
    The thread 0x5a54 has exited with code 0 (0x0).
    The thread 0x5234 has exited with code 0 (0x0).
    The thread 0x5380 has exited with code 0 (0x0).
    The thread 0x3b28 has exited with code 0 (0x0).
    The thread 0xfbc has exited with code 0 (0x0).
    The thread 0x5b10 has exited with code 0 (0x0).
    The thread 0x4e40 has exited with code 0 (0x0).
    The thread 0x58c8 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x690 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0xb24 has exited with code 0 (0x0).
    The thread 0x2cac has exited with code 0 (0x0).
    The thread 0x4c98 has exited with code 0 (0x0).
    The thread 0x2a14 has exited with code 0 (0x0).
    The thread 0x43e4 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x4f94 has exited with code 0 (0x0).
    The thread 0x4790 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x396c has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x1e94 has exited with code 0 (0x0).
    The thread 0xd18 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x26e0 has exited with code 0 (0x0).
    The thread 0x5db4 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x3f10 has exited with code 0 (0x0).
    The thread 0x1020 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x2ea8 has exited with code 0 (0x0).
    The thread 0x5364 has exited with code 0 (0x0).
    The thread 0x95c has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x3138 has exited with code 0 (0x0).
    The thread 0x41a4 has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    The thread 0x27fc has exited with code 0 (0x0).
    Exception thrown at 0x00007FFF1009536C in fgfs.exe: Microsoft C++ exception: boost::wrapexcept<boost::bad_lexical_cast> at memory location 0x0000004C9A1FB750.
    Unhandled exception at 0x00007FFF1084DF28 (ucrtbase.dll) in fgfs.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
    
     
  • scarymovie

    scarymovie - 2023-06-14

    Hi xDraconian, I hope you are doing well.

    I have new finding about the issue. Seems like it only happens when I make use of the Route Manager.

    Screenshot-2023-06-15-003442

    I believe the exception occurred in "fgfs.exe!flightplanGhostSetMember(Context * c, void * g, naRef field, naRef value) Line 704 C++" is the culprit.

    >   ucrtbase.dll!_invoke_watson()  Unknown
        ucrtbase.dll!_invalid_parameter_internal()  Unknown
        ucrtbase.dll!_invalid_parameter()  Unknown
        ucrtbase.dll!_invalid_parameter_noinfo_noreturn()  Unknown
        [Inline Frame] fgfs.exe!std::_Adjust_manually_vector_aligned(void * &) Line 164 C++
        [Inline Frame] fgfs.exe!std::_Deallocate(void * _Ptr, unsigned __int64 _Bytes) Line 252 C++
        [Inline Frame] fgfs.exe!std::allocator<char>::deallocate(char * const _Count, const unsigned __int64) Line 946  C++
        [Inline Frame] fgfs.exe!std::string::_Tidy_deallocate() Line 4874   C++
        fgfs.exe!std::string::~basic_string<char,std::char_traits<char>,std::allocator<char>>() Line 3157   C++
        vcruntime140_1.dll!_CallSettingFrameEncoded() Line 183  Unknown
        vcruntime140_1.dll!__FrameHandler4::FrameUnwindToState(unsigned __int64 * pRN, _xDISPATCHER_CONTEXT * pDC, FH4::FuncInfo4 * pFuncInfo, int targetState) Line 1146   C++
        vcruntime140_1.dll!__FrameHandler4::FrameUnwindToEmptyState(unsigned __int64 * pRN, _xDISPATCHER_CONTEXT * pDC, FH4::FuncInfo4 * pFuncInfo) Line 234    C++
        vcruntime140_1.dll!__InternalCxxFrameHandler<__FrameHandler4>(EHExceptionRecord * pExcept, unsigned __int64 * pRN, _CONTEXT * pContext, _xDISPATCHER_CONTEXT * pDC, FH4::FuncInfo4 * pFuncInfo, int CatchDepth, unsigned __int64 * pMarkerRN, unsigned char recursive) Line 351 C++
        vcruntime140_1.dll!__InternalCxxFrameHandlerWrapper<__FrameHandler4>(EHExceptionRecord * pExcept, unsigned __int64 * pRN, _CONTEXT * pContext, _xDISPATCHER_CONTEXT * pDC, FH4::FuncInfo4 * pFuncInfo, int CatchDepth, unsigned __int64 * pMarkerRN, unsigned char recursive) Line 234  C++
        vcruntime140_1.dll!__CxxFrameHandler4(EHExceptionRecord * pExcept, unsigned __int64 RN, _CONTEXT * pContext, _xDISPATCHER_CONTEXT * pDC) Line 306   C++
        fgfs.exe!__GSHandlerCheck_EH4(_EXCEPTION_RECORD * ExceptionRecord, void * EstablisherFrame, _CONTEXT * ContextRecord, _DISPATCHER_CONTEXT * DispatcherContext) Line 86  C++
        ntdll.dll!RtlpExecuteHandlerForUnwind()    Unknown
        ntdll.dll!RtlUnwindEx() Unknown
        ntdll.dll!RtlUnwind()  Unknown
        vcruntime140.dll!__longjmp_internal() Line 141  Unknown
        fgfs.exe!naRuntimeError(Context * c, const char * fmt, ...) Line 34 C
    **  fgfs.exe!flightplanGhostSetMember(Context * c, void * g, naRef field, naRef value) Line 704 C++**
        [Inline Frame] fgfs.exe!setMember(Context *) Line 540   C
        fgfs.exe!run(Context * ctx) Line 721    C
        fgfs.exe!naCall(Context * ctx, naRef func, int argc, naRef * args, naRef obj, naRef locals) Line 976    C
        [Inline Frame] fgfs.exe!naCallMethodCtx(Context *) Line 1044    C
        fgfs.exe!naCallMethod(naRef code, naRef self, int argc, naRef * args, naRef locals) Line 1055   C
        fgfs.exe!FGNasalSys::callMethod(naRef code, naRef self, int argc, naRef * args, naRef locals) Line 331  C++
        fgfs.exe!TimerObj::invoke() Line 211    C++
        [Inline Frame] fgfs.exe!std::_Func_class<void>::operator()() Line 861   C++
        [Inline Frame] fgfs.exe!SGTimer::run() Line 13  C++
        fgfs.exe!SGTimerQueue::update(double deltaSecs, std::map<std::string,double,std::less<std::string>,std::allocator<std::pair<std::string const ,double>>> & timingStats) Line 148    C++
        fgfs.exe!SGEventMgr::update(double delta_time_sec) Line 86  C++
        fgfs.exe!SGSubsystemGroup::Member::update(double delta_time_sec) Line 884   C++
        [Inline Frame] fgfs.exe!SGSubsystemGroup::updateMembers(int loopCount, double) Line 446 C++
        fgfs.exe!SGSubsystemGroup::update(double delta_time_sec) Line 438   C++
        fgfs.exe!SGSubsystemMgr::update(double delta_time_sec) Line 1037    C++
        fgfs.exe!fgMainLoop() Line 152  C++
        fgfs.exe!fgOSMainLoop() Line 465    C++
        fgfs.exe!fgMainInit(int argc, char * * argv) Line 780   C++
        fgfs.exe!main(int argc, char * * argv) Line 371 C++
        fgfs.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 149 C++
        [Inline Frame] fgfs.exe!invoke_main() Line 102  C++
        fgfs.exe!__scrt_common_main_seh() Line 288  C++
        kernel32.dll!BaseThreadInitThunk()  Unknown
        ntdll.dll!RtlUserThreadStart() Unknown
    

    Thank you, xDraconian.

     
  • scarymovie

    scarymovie - 2023-08-15

    Hi James. I managed to correct the code of the aircraft which fixed the issue. Please go ahead and close this ticket. Thank you so much for the help, James and xDraconian.

     
  • James Turner

    James Turner - 2023-08-16
    • status: NeedInfo --> Invalid
     

Log in to post a comment.