Author Topic: P3Dv5 CTD with FSL A320 **SOLVED**  (Read 4774 times)

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #15 on: May 06, 2022, 01:53:39 am »
The last minute or 2 of the SODE log:

[16:41:01.655] INFO SODE.FSLOOP : [SEASONALOBJECTHANDLER] Refreshing Season/Time Data...
[16:41:02.679] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:06.666] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:10.668] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:14.670] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:18.673] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:22.660] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:26.693] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:29.237] DEBUG SODE.FSLOOP : [API::TRIGGER] Received Trigger Client Data: ObjID [126], DoorDesignator='1L', OwnFlag=1, DoorDataOverrideFlag=1, Mode=1
[16:41:29.284] DEBUG SODE.FSLOOP : [API::TRIGGER] Received Trigger Client Data: ObjID [126], DoorDesignator='4L', OwnFlag=1, DoorDataOverrideFlag=1, Mode=1
[16:41:30.665] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:34.667] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:38.670] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:42.672] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:46.690] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:50.661] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:54.679] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:58.682] DEBUG SODE.FSLOOP : [AI DETECTION] N monitored AIObjects = 0, Primary/Chained Jobs:{0/0}, Tracked Jobs: {0}
[16:41:58.713] DEBUG SODE.FSLOOP : [API::TRIGGER] Received Trigger Client Data: ObjID [126], DoorDesignator='1L', OwnFlag=1, DoorDataOverrideFlag=1, Mode=0
[16:42:27.767] FATAL SODE.WATCHDOG : Sim Process running test failed!
[16:42:27.776] DEBUG SODE.FSPROCESS : Cleaning up Memory...
[16:42:27.793] DEBUG SODE.FSPROCESS : Removing Top-Menu structure...
[16:42:27.793] DEBUG SODE.FSPROCESS : Closing Connection to FS.
[16:42:27.900] INFO  : Terminate SODE.


The only errors I see in the SODE log at all:
[16:27:44.262] WARN SODE.SETTINGS : Could not extract 'Debug::FastJetwaysEnable' setting! Feature is disabled!
[16:27:44.262] WARN SODE.SETTINGS : Not all Settings have been read successfully! See above...

[16:27:44.286] WARN SODE.SETTINGS : Could not extract 'Debug::FastJetwaysEnable' setting! Feature is disabled!
[16:27:44.286] WARN SODE.SETTINGS : Not all Settings have been read successfully! See above...

[16:27:44.290] ERROR SODE.XML : Environmental Data Probe SimObject 'EDP_UUEE' must have absolute value for altitude, not AGL! EDP not added!

[16:27:44.390] DEBUG SODE.XML : Building List from File 'C:\ProgramData\12bPilot\SODE\xml\TropicalSim_TFFF.xml'
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 4'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 5'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 6'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 6'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 7'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 8'. Must be 'CustomDesignator;Number'!
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 8'. Must be 'CustomDesignator;Number'!
[16:27:44.390] DEBUG SODE.XML : Building List from File 'C:\ProgramData\12bPilot\SODE\xml\TropicalSim_TNCC.xml'
[16:27:44.390] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 1'. Must be 'CustomDesignator;Number'!
[16:27:44.391] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 2'. Must be 'CustomDesignator;Number'!
[16:27:44.391] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 3'. Must be 'CustomDesignator;Number'!
[16:27:44.391] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 4'. Must be 'CustomDesignator;Number'!
[16:27:44.391] WARN SODE.XML : <Stand> CustomDesignator Attribute invalid format 'Gate 5'. Must be 'CustomDesignator;Number'!


None of those seem to have any reason for causing a CTD at any airport, at any gate, using any type of jetway (Custom SODE or GSX SODE), and only in a specific aircraft, at a specific point in the function. Also, the last error message was logged 15 minutes before I called the jetway (I was looking over the aircraft options to make sure nothing there changed that could have been the cause).

I have a second copy of Windows that I use only for university class work and has virtually nothing installed on it. I'll see if I can download and install P3Dv5, GSX, and FSL A320 on that copy of windows and see what happens - That is as close as I am willing to come to "a full reinstall of windows and P3D"   ---- as I expected, I cannot activate P3D on the other copy of windows, so I cannot test this idea.
« Last Edit: May 06, 2022, 05:01:52 am by DVA12924 »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3Dv5 CTD with FSL A320
« Reply #16 on: May 06, 2022, 08:07:27 am »
Quote
[16:41:58.713] DEBUG SODE.FSLOOP : [API::TRIGGER] Received Trigger Client Data: ObjID [126], DoorDesignator='1L', OwnFlag=1, DoorDataOverrideFlag=1, Mode=0
[16:42:27.767] FATAL SODE.WATCHDOG : Sim Process running test failed!

Apart from the usual mistakes in other sceneries SODE jetways definitions, which will cause those jetways not working when called from GSX but are surely not a possible reason for a crash, the above two lines indicates the following:

- In the first line, SODE received a command to trigger a jetway from GSX, and of course the command was correct and understood, since there are no errors reported about it. At this time the jetway started to move.

- The second line, which happened 30 seconds later, indicates SODE was also caught by surprise by the sim crashing, for reason that didn't had anything to do with GSX, since as you can see, no other commands came from GSX during the time the jetway was being moved.

This definitely prove GSX can't be the cause of the crash, for example if it mistakenly sent another jetway trigger command while SODE was still moving the jetway, which might possibly have confused it. Not that I wasn't sure of this ( it should happen with every airplane then ), but at least now you got another confirmation GSX didn't cause the crash, for example if it sent wrong commands to SODE, or at the wrong times.

About reinstalling P3D on a different PC for testing, it's extremely easy to do:

- Uninstall P3D from your main PC. This will NOT require any subsequent reinstallation of add-ons, provided you don't touch any folder after uninstalling it, but will RECLAIM your activation.

- Install P3D on a different PC, so it can be activated with the activation reclaimed from the 1st one.

- When you are done testing, uninstall P3D from the test PC, which will again reclaim its activation to be reused.

- Reinstall P3D and be absolutely sure you are reinstalling on the SAME folder it was installed before.

We do this uninstall\reinstall process like 10-15 times when a new Beta cycle for P3D starts, so I assure you it's safe and won't cause any issue to any installed add-ons, as long you keep reinstalling on the same folder.

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #17 on: May 06, 2022, 09:12:08 am »
I will try that reinstall method shortly and see if I can get it to work. I am also posing on the FSL forums to see if they have any ideas but a FSL forum and google search turned up 0 results. I do not see a reason to post on SODE forums since SODE seems to be working fine also. If it is not GSX and not SODE, then it must be FSL and something conflicting with that aircraft. I cannot find a single error message anywhere - SODE log, GSX log, event viewer all come back clean.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3Dv5 CTD with FSL A320
« Reply #18 on: May 06, 2022, 09:34:54 am »
If it is not GSX and not SODE, then it must be FSL and something conflicting with that aircraft.

Surely it's not GSX, not SODE and not FSL, otherwise it would have:

- Crashed for me ( that was the whole point of my first video )

- Crashed for somebody else, yet you can see yourself there are no similar threads.

So yes, it must be a combination with something else you installed.

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #19 on: May 09, 2022, 05:03:59 pm »
I have managed to get P3D reinstalled on the other Windows system, but I am struggling to get GSX installed - I either get an error in installation about not having access to the fonts folder or trying to launch GSX from P3D tells me that Live Update must be run but will never actually open (all AV and firewalls turned off during install, and install folder added to exclude lists). I've been extremely busy with work and classes so have not had time to really work on this much, but I will have time come Wednesday. I know the install issue is something I'm not doing right, just don't have the time right now to keep uninstalling and reinstalling to resolve the problem.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3Dv5 CTD with FSL A320
« Reply #20 on: May 09, 2022, 08:24:50 pm »
I either get an error in installation about not having access to the fonts folder

Just ignore the error and continue, it means the font is already installed, but windows is not allowing to be overwritten.

Quote
tells me that Live Update must be run but will never actually open (all AV and firewalls turned off during install, and install folder added to exclude lists).

Please indicate the precise message, is there an error log ?

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #21 on: May 12, 2022, 08:00:51 am »
Quote
Please indicate the precise message, is there an error log ?

Live update opens with the white box window and the "this will update the FSDT support software ... " I click next, it runs like 2 files then closes and that is all. It never actually opens/runs the live update (longer greenish/blue background window where Live Update usually runs). If I go into the sim, Addon manager is in the add-ons menu, but within addon manager, GSX shows deactivated. When I click on "register serial" I get a box saying "The couatl scripting engine hasn't started. This is usually caused by an antivirus that has blocked it. To fix this problem: Exit from the simulator. Configure the antivirus and ass the c:\Program Files (x86)\Addon Manager folder to the antivirus exclusion list. Launch the FSDT Live Update or reinstall the software."

So the file was already added to the antivirus exclusion list, tried again and still the same where Live Update will never actually launch. Uninstalled, restarted computer, and reinstalled GSX, restarted computer, and still I get the exact same when trying to register GSX in the Addon Manager and Live Update not actually launching. I have tried uninstalling and reinstalling like 50 times now, tried installing into a different folder (also added to AV exclusion), I cannot get Live Update to actually run at all, nor can I register GSX.

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #22 on: May 12, 2022, 01:51:16 pm »
This is on the original windows install (not the test copy of Windows) and was after an uninstall of GSX including deleting all sub-folders and then reinstalling but still getting the CTD in the exact same spot:

OK, I have FINALLY made SOME progress. I uninstalled SODE and deleted all sub-folders, and reinstalled SODE. Loaded up the A321SL and put it on GPU and used the EFB this time to call the jetway (not the FMC nor the GSX menu) - it attached and no CTD. I'll need to investigate more, but perhaps the conflict is with the jetway being called by something OTHER than the EFB? if that is the case, then the base version of the A320 and base A321 would still cause the CTD for me. I still need to see if it was caused by SODE somehow being corrupted, also I have not put back the GSX backup files (or the SODE backup files such as the xml and obj files). But at least this is progress.

This was a reply on the FSL forums and I have a few other things to look at to be sure the problem is fully resolved.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3Dv5 CTD with FSL A320
« Reply #23 on: May 12, 2022, 05:18:18 pm »
Live update opens with the white box window and the "this will update the FSDT support software ... " I click next, it runs like 2 files then closes and that is all.

There's a sticky thread in this section of the forum, named "GSX Couatl scripting engine hasn't started **SOLVED**", which indicates a solution that has worked for several user on the first reply:

http://www.fsdreamteam.com/forum/index.php/topic,25999.0.html

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #24 on: May 12, 2022, 07:53:27 pm »
I tried the universal installer - It said it wasn't available for FSX/P3D and to download and install the website version, and then universal installer would not open again without an error that it could not launch Live Update. But, I'm not too concerned about that now. It is probably something I've done wrong and I could get GSX installed and run Live Update on the original Windows over and over without any issues using the website version (spent 9 hours uninstalling, restarting computer, reinstalling, restarting computer, launching and testing, CTD, repeat with next item).

That being said, you are correct that the main issue (the CTD) has nothing to do with GSX - The CTD is happening any time a door is commanded open on any FSL aircraft (I purchased and installed the A321 and A321SL and could reproduce the problem on all 3 planes now). The command can come from GSX to auto-open the doors, or manually opening the doors from the MCDU doors options page and that is when the CTD would happen.

The reason I was seeing some jetways attaching and some not had nothing to do with the jetway, but the front baggage loader being in position for the auto-door forward cargo door to open. I can duplicate the CTD by manually calling the door to open directly from the options page, so it is not the GSX command to open the door.

DVA12924

  • Full Member
  • ***
  • Posts: 133
Re: P3Dv5 CTD with FSL A320
« Reply #25 on: May 15, 2022, 06:29:54 pm »
To further close the case - P3D did not install correctly when updated. Despite me uninstalling scenery, client, content and then reinstalling, the sim failed to install the update correctly. This caused a seemingly fine version of P3D to CTD when doors were commanded on FSL aircraft, but no other issues were found. A full complete uninstall of P3D and reinstall seems to have fixed the problem.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3Dv5 CTD with FSL A320
« Reply #26 on: May 16, 2022, 10:40:53 am »
The command can come from GSX to auto-open the doors, or manually opening the doors from the MCDU doors options page and that is when the CTD would happen.

The reason I was seeing some jetways attaching and some not had nothing to do with the jetway, but the front baggage loader being in position for the auto-door forward cargo door to open. I can duplicate the CTD by manually calling the door to open directly from the options page, so it is not the GSX command to open the door.

GSX doesn't have any command to open the door automatically to begin with. Whenever you see a door that opens automatically connected to some GSX operation, it's the airplane itself that open its doors, as part of GSX integration. In some cases, users wrote FSUIPC LUA or LINDA scripts to achieve that for planes that don't integrate themselves. But GSX, as is, doesn't try to open any door by itself, because we know we could possibly interfere with some plane systems (electrics or hydraulics), so we left the task to the airplane itself.

GSX for MSFS will have automatic opening/closing of plane doors from GSX, but only for default planes or 3rd party planes that use standard door systems, but that's because MSFS doesn't have any way for users to open doors on default planes.

Quote
A full complete uninstall of P3D and reinstall seems to have fixed the problem.

I think your issue was likely caused by some problem with the Microsoft redistributable libraries used by the sim. They might have been either missing or corrupted or in conflict with another version, which made the program to be unstable. Reinstalling it fixed the problem. It's not a difficult procedure, provided you reinstall in the same folder it was already installed to, and all your add-ons use the add-on.xml method to install wont' require to be reinstalled.