Board index FlightGear Support Installation Windows

Crash when I click Fly!  Topic is solved

Installing FlightGear, scenery, aircraft etc. on Windows.

Crash when I click Fly!

Postby rookie » Wed Mar 06, 2019 4:08 pm

Problem: When I click "Fly!" the software crashes and an "Error report" window appears.

Settings:
- Flightgear version 2018.3.2 with DEFAULT settings.
- Windows 10 home 64-bit
- no antivirus, except Windows Defender
- no background programs running
- Laptop Acer F5, intel i7-7500U (8Gb RAM) with NVidia Geforce 940mx (4Gb dedicated)

fgfs.log:
Code: Select all
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\fg_init.cxx:471:Created multi-app mutex, we are in writeable mode
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\main.cxx:467:CrashRpt enabled
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\main.cxx:494:FlightGear:  Version 2018.3.2
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\main.cxx:495:FlightGear:  Build Type Release
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\main.cxx:496:Built with Microsoft Visual C++ version 1900
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\main.cxx:498:Jenkins number/ID 248:248
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\options.cxx:2905:platform default fg_root = Path "../data"
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\fg_init.cxx:580:Reading global defaults
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\fg_init.cxx:590:Finished Reading global defaults
input:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\globals.cxx:788:Reading user settings from Path "C:/Users/rookie/AppData/Roaming/flightgear.org/autosave_2018_3.xml"
navaid:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Navaids\NavDataCache.cxx:257:NavCache at:Path "C:/Users/rookie/AppData/Roaming/flightgear.org/navdata_2018_3.cache"
navaid:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Navaids\NavDataCache.cxx:260:NavCache read-only flags is:0
navaid:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Navaids\NavDataCache.cxx:1347:NavCache: no main cache rebuild required
general:3:C:\Jenkins\workspace\Windows-release\flightgear\src\Main\fg_init.cxx:1277:init package root at:Path "C:/Users/rookie/Documents/FlightGear/Aircraft"

NOTE: the folder "C:\Jenkins" does not exist.

crashrpt.xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<CrashRpt version="1403">
    <CrashGUID>79d76348-9d01-40a5-b41f-2363a67e05a5</CrashGUID>
    <AppName>FlightGear</AppName>
    <AppVersion>2018.3.2</AppVersion>
    <ImageName>C:\Program Files\FlightGear 2018.3.2\bin\fgfs.exe</ImageName>
    <OperatingSystem>Windows 10 Home Single Language Build 17763</OperatingSystem>
    <OSIs64Bit>1</OSIs64Bit>
    <GeoLocation>en-us</GeoLocation>
    <SystemTimeUTC>2019-03-06T14:45:10Z</SystemTimeUTC>
    <ExceptionAddress>0x687781e9</ExceptionAddress>
    <ExceptionModule>C:\Windows\System32\DriverStore\FileRepository\nvaci.inf_amd64_2f1946ae97d3f755\nvoglv64.dll</ExceptionModule>
    <ExceptionModuleBase>0x67c80000</ExceptionModuleBase>
    <ExceptionModuleVersion>25.21.14.1935</ExceptionModuleVersion>
    <ExceptionType>0</ExceptionType>
    <ExceptionCode>0</ExceptionCode>
    <GUIResourceCount>34</GUIResourceCount>
    <OpenHandleCount>469</OpenHandleCount>
    <MemoryUsageKbytes>186844</MemoryUsageKbytes>
    <CustomProps>
        <Prop name="build-type" value="Release" />
        <Prop name="git-revision" value="43b3ffc55bbd59b44062f738e1d045bcae46128b" />
        <Prop name="hudson-build-id" value="248" />
        <Prop name="hudson-build-number" value="248" />
    </CustomProps>
    <FileList>
        <FileItem name="crashdump.dmp" description="Crash Minidump" />
        <FileItem name="crashrpt.xml" description="Crash Description XML" />
        <FileItem name="fgfs.log" description="FlightGear Log File" />
    </FileList>
</CrashRpt>


What should I do?

Appreciate any help.
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby wkitty42 » Wed Mar 06, 2019 4:28 pm

rookie wrote in Wed Mar 06, 2019 4:08 pm:NOTE: the folder "C:\Jenkins" does not exist.

this pathing comes from the build server meta data that is stored for debugging...

check that you have a valid MP server selected if you have MP enabled... i remember that causing problems but that code should be working in the latest release...

is that all of your fgfs.log file? there's nothing else? if there is more and it is too large to post here, you can post it to pastebin and provide us with a link to it...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Crash when I click Fly!

Postby rookie » Wed Mar 06, 2019 6:37 pm

wkitty42 wrote in Wed Mar 06, 2019 4:28 pm:check that you have a valid MP server selected if you have MP enabled

MP is disabled.

is that all of your fgfs.log file? there's nothing else?

Yup, that's the whole file, exactly as it is and nothing else.
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby legoboyvdlp » Wed Mar 06, 2019 8:18 pm

Could you please show us the crashdump.dmp? If I open that up in Visual Studio it ought to have a stack trace as far as I know which will help in diagnosing.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Crash when I click Fly!

Postby rookie » Thu Mar 07, 2019 3:34 pm

legoboyvdlp wrote in Wed Mar 06, 2019 8:18 pm:Could you please show us the crashdump.dmp? If I open that up in Visual Studio it ought to have a stack trace as far as I know which will help in diagnosing.

Crashdump.dmp here: http://ge.tt/3YTABsu2
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby legoboyvdlp » Thu Mar 07, 2019 7:31 pm

Does running FlightGear in administrator mode help or are you already doing so?
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Crash when I click Fly!

Postby rookie » Thu Mar 07, 2019 8:06 pm

I found out that when I run fgfs.exe alone (without the "--launcher" option) it loads the engine directly. Running the desktop shortcut ("--launcher" option) it crashes when I click "Fly!". The crash is almost instantaneous, it doesn't load anything.

legoboyvdlp wrote in Thu Mar 07, 2019 7:31 pm:Does running FlightGear in administrator mode help or are you already doing so?

Same behavior above.
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby legoboyvdlp » Thu Mar 07, 2019 9:25 pm

That's odd.

Can you copy your commandline and paste it here? If you hit the three dots above the summary tab on the left there is an option for that.

Does this occur with all aircraft?
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Crash when I click Fly!

Postby rookie » Thu Mar 07, 2019 10:27 pm

legoboyvdlp wrote in Thu Mar 07, 2019 9:25 pm:That's odd.

Can you copy your commandline and paste it here? If you hit the three dots above the summary tab on the left there is an option for that.

Does this occur with all aircraft?

All my settings are default:

Code: Select all
--launcher --prop:/nasal/local_weather/enabled=false --metar=XXXX 012345Z 15003KT 19SM FEW072 FEW350 25/07 Q1028 NOSIG --prop:/environment/weather-scenario=Core high pressure region --disable-rembrandt --disable-terrasync --aircraft-dir=C:/Program Files/FlightGear 2018.3.2/data/Aircraft/c172p --aircraft=c172p --airport=PHNL

Sorry, I don't know how to change the aircraft, I've never used this software. All I did was run the executable alone, and it loaded what I presume to be the default aircraft in a default airport with default configurations. Is there a way to change the aircraft directly from the engine, not from the launcher?
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby Thorsten » Fri Mar 08, 2019 8:12 am

Is there a way to change the aircraft directly from the engine, not from the launcher?


You can do everything from the commandline - the launcher is just a fancy way to assemble one...

You do --aircraft=<my aircraft> and that's it (<my aircraft> is the name of the file which ends in *-set.xml in the aircraft folder, so if you have e.g. SpaceShuttle-launch-set.xml you'd type --aircraft=SpaceShuttle-launch ).

I've sent a pointer to the mailing list, maybe James wants to have a more detailed look as it seems to affect primarily the launcher.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Crash when I click Fly!  

Postby legoboyvdlp » Fri Mar 08, 2019 10:52 am

Another thing to check - if in the Nividia Control Panel you force FlightGear to use your CPU's intel integrated card, does FlightGear work? I had someone else on Discord with a 940MX with this exact problem, wondering if it is a problem with that specific card.

Thanks,
Jonathan
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Crash when I click Fly!

Postby cbgonzalez » Fri Mar 08, 2019 12:41 pm

I have the same problem here, started happening right after updating my Nvidia drivers (Nvidia control panel shows driver version 419.17).

- Using the Intel graphics, problem goes away,
- Launching from the command line does NOT crash, so trouble is with the launcher.
- Crash mini dump point to some Nvidia dll (don´t have the name at hand right now)
- Using GeForce GT 740M (laptop)

Regards,

Cristian
cbgonzalez
 
Posts: 9
Joined: Tue Jan 29, 2019 5:30 pm

Re: Crash when I click Fly!

Postby rookie » Fri Mar 08, 2019 1:06 pm

legoboyvdlp wrote in Fri Mar 08, 2019 10:52 am:Another thing to check - if in the Nividia Control Panel you force FlightGear to use your CPU's intel integrated card, does FlightGear work? I had someone else on Discord with a 940MX with this exact problem, wondering if it is a problem with that specific card.

Thanks,
Jonathan

This works! Seems to be a problem with Nvidia.
Last edited by rookie on Fri Mar 08, 2019 1:16 pm, edited 1 time in total.
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby rookie » Fri Mar 08, 2019 1:14 pm

cbgonzalez wrote in Fri Mar 08, 2019 12:41 pm:I have the same problem here, started happening right after updating my Nvidia drivers (Nvidia control panel shows driver version 419.17).

- Using the Intel graphics, problem goes away,
- Launching from the command line does NOT crash, so trouble is with the launcher.
- Crash mini dump point to some Nvidia dll (don´t have the name at hand right now)
- Using GeForce GT 740M (laptop)

Regards,

Cristian

Version here is 419.35
GeForce 940 MX

I believe it should use Intel graphics in WINDOW mode, and Nvidia in FULL SCREEN. But the launcher is trying to start the engine with Nvidia in WINDOW mode. I'm not a programmer, but I believe that's the problem.
rookie
 
Posts: 8
Joined: Wed Mar 06, 2019 3:32 pm

Re: Crash when I click Fly!

Postby cbgonzalez » Fri Mar 08, 2019 1:30 pm

I think the problem lies deeper than that since I saw problems (sometimes, not always) before launching the flight itself, i. e. when switching from one page to another in the launcher (say, from settings to aircraft).

Crashing dll is "nvoglv64.dll" btw
cbgonzalez
 
Posts: 9
Joined: Tue Jan 29, 2019 5:30 pm

Next

Return to Windows

Who is online

Users browsing this forum: No registered users and 2 guests