Jump to content

[SOVLED] CTD in cruise


cwjohan
 Share

Recommended Posts

Crashed to desktop midway in flight from EDDK to EDDF in TBM900 v1.0.5.  Autopilot was under GPS control at 6000 ft.  Vertical navigation on the autopilot had not yet been pushed but altitude constraints had been set up for the flight plan waypoints.  View was in cockpit, but had just returned from taking two exterior snapshots and one interior snapshot (Alt-R, Shft-Spacebar, Alt-R).  The interior snapshot is attached to assist debugging, since it shows there were no alerts and everything seemed to be going nicely.  While the aircraft was making a turn from OBOKA to COL, there was a sudden drop in FPS and a second or two later X-Plane crashed to desktop.  Windows 10 task manager was running but I neglected to monitor memory usage, so I don't know if this was an out of memory situation.  X-Plane version was 11.26r2.

TBM900_3.jpg

Log_tbm_ctd01.txt

GizmoLog_tbm_ctd01.txt

Edited by skiselkov
Added Gizmolog.txt file
Link to comment
Share on other sites

Happened again on same flight with TBM 900 v1.0.6.  This time, I had no altitude constraints entered.  Again, there were no alerts and engine parameters were in normal range.  Monitored memory and GPU usage with Task Manager -- didn't see any over usage of RAM, VRAM, or other resources.

Also had the brakes not working issue but changed the joystick trigger to "toggle brakes normal" until a fix is available.

After a CTD or an engine fire, I find it a lot of work to get the aircraft back into working order.  Maintenance bill now is about $2.5 million!  Is there a shortcut way to load the aircraft in a normal, undamaged state?

Log_tbm_ctd02.txt

GizmoLog_tbm_ctd02.txt

Edited by cwjohan
Link to comment
Share on other sites

RESOLVED:  Deimos and coolhand reported that creating a 16 GB paging file solved the "CTD in cruise" problem for them.  So, in Windows 10. I used the Control Panel | System | Advanced System Options to create a paging file with a minimum size of 16 GB and a maximum size of 20 GB on my D-drive.  Previously, Windows 10 had been using a smallish system-managed paging file on my C-drive.   Since then, I have successfully made the flight from EDDK to EDDF with no issues other than the braking problem known to exist in  TBM 900 v1.0.6.  Note that I have been flying this route using level 16 ortho, which may use extra ram and vram.

The successful flight was completed without using altitude constraints or vertical navigation.  I'll try those tomorrow on the same route, but I don't expect any problem with them since they worked previously on a KSBP - KSBA flight.

Link to comment
Share on other sites

The bigger paging files solve the problem for the user, but, for developers, the bug remains.  If I were to guess what causes it, I would say getting a null pointer from a malloc.  Since there's no obvious memory leak, there must be something that grabs a huge chunk of memory all at once -- perhaps a memory block sub-allocator that increases the size of the block grabbed each time by a factor of 2.  Perhaps even the C++ vector object does that when you're appending items to it.

In my case, before I added the bigger paging files, the crash was occuring when the active waypoint in the flight plan was transitioning from an ordinary waypoint to one that was located in an airway -- something grabs a big chunk of memory at that point?

In any case, good luck hunting it down.  Cheers!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...