Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Starship
  6. CTD when deleting flight plan

CTD when deleting flight plan

Scheduled Pinned Locked Moved Starship
53 Posts 11 Posters 461 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matchstick
    wrote last edited by
    #4

    I'm seeing the same problem in '24 SU3 Beta with an EGHH -> EGHP direct flight plan if I delete it entirely or if I just delete EGPH.

    1 Reply Last reply
    0
    • Black SquareB Offline
      Black SquareB Offline
      Black Square
      Black Square Developer
      wrote last edited by
      #5

      Hello, I'm back from a short name after not sleeping for a couple days. You wouldn't mind, I've deleted literally thousands of flight plans while testing, and never could have imagined it would cause a CTD. Unfortunately, thinks lurk in the darkness of Asobo's flight planning system that are beyond my control.... that doesn't mean I won't have a solution for you. This will be the first item on the list.

      If you could give me a little assistance: Did you select the airports themselves, or some of their runways?

      K 1 Reply Last reply
      0
      • sushi.atS Offline
        sushi.atS Offline
        sushi.at
        wrote last edited by
        #6

        For me it was just the airports, no runways ... and also no other waypoints.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raptor05121
          wrote last edited by
          #7

          Also having the same issue. MSFS2020. CTD when deleting flight plan

          1 Reply Last reply
          0
          • R Offline
            R Offline
            raptor05121
            wrote last edited by
            #8
            This post is deleted!
            1 Reply Last reply
            0
            • Black SquareB Black Square

              Hello, I'm back from a short name after not sleeping for a couple days. You wouldn't mind, I've deleted literally thousands of flight plans while testing, and never could have imagined it would cause a CTD. Unfortunately, thinks lurk in the darkness of Asobo's flight planning system that are beyond my control.... that doesn't mean I won't have a solution for you. This will be the first item on the list.

              If you could give me a little assistance: Did you select the airports themselves, or some of their runways?

              K Offline
              K Offline
              knidarkness
              wrote last edited by
              #9

              @Black-Square just in case it helps -- here is a video with steps to recreate from cold & dark in FS 2020

              1 Reply Last reply
              0
              • Black SquareB Offline
                Black SquareB Offline
                Black Square
                Black Square Developer
                wrote last edited by
                #10

                Thanks for the video. Those are always immensely helpful.

                Update:

                I've tried every combination sent to me today, and possibly 100 more, and no CTD on my end. Like I said, I've manipulated tens of thousands of waypoints for this project and never seen a single CTD. I know that's not helpful, but to say that I'm surprised would be an understatement.

                I just looked at the code. The good news is that the delete flight plan function is one of the simplest in the entire CDU. This should hopefully make it easier to troubleshoot. The bad news is that it leads almost directly into Asobo's flight planning code, meaning that whatever is wrong could be at a simulator level. This would also surprise me, since I'm far from the only one to be using this code.

                If someone wants to try test something for me, this might sound strange, but try activating the GNS 430 as the active navigation source (AP NAV SRC on the System Control Screen). Then wait 10 seconds before entering your flight plan again. This will disable a massive workaround I had to implement in the last two days for an issue in the native flight planner, which might give me some hints. In fact, this would be very telling if it eliminated your problem!

                If that doesn't work, I might call upon a willing participant to get in touch with me directly through Just Flight Support so we can iterate faster.

                So sorry that some of you are experiencing this. I continue to watch streamers and YouTubers with my aircraft right now who are not having any problems. While I'm happy that it doesn't appear to be a problem for everyone, that makes me almost feel worse for the few who are experiencing the problem!

                K 1 Reply Last reply
                0
                • Black SquareB Black Square

                  Thanks for the video. Those are always immensely helpful.

                  Update:

                  I've tried every combination sent to me today, and possibly 100 more, and no CTD on my end. Like I said, I've manipulated tens of thousands of waypoints for this project and never seen a single CTD. I know that's not helpful, but to say that I'm surprised would be an understatement.

                  I just looked at the code. The good news is that the delete flight plan function is one of the simplest in the entire CDU. This should hopefully make it easier to troubleshoot. The bad news is that it leads almost directly into Asobo's flight planning code, meaning that whatever is wrong could be at a simulator level. This would also surprise me, since I'm far from the only one to be using this code.

                  If someone wants to try test something for me, this might sound strange, but try activating the GNS 430 as the active navigation source (AP NAV SRC on the System Control Screen). Then wait 10 seconds before entering your flight plan again. This will disable a massive workaround I had to implement in the last two days for an issue in the native flight planner, which might give me some hints. In fact, this would be very telling if it eliminated your problem!

                  If that doesn't work, I might call upon a willing participant to get in touch with me directly through Just Flight Support so we can iterate faster.

                  So sorry that some of you are experiencing this. I continue to watch streamers and YouTubers with my aircraft right now who are not having any problems. While I'm happy that it doesn't appear to be a problem for everyone, that makes me almost feel worse for the few who are experiencing the problem!

                  K Offline
                  K Offline
                  knidarkness
                  wrote last edited by knidarkness
                  #11

                  @Black-Square Here is a video with using GNS as AP source for all the FPLN editing -- no CTD. Also checked in the original airports (LOAN - LOWW) -> no CTD as well.

                  In case it somewhat helps with debugging -> a potential workaround for now would to use GNS as AP source when deleting F-PLAN, or for all editing?

                  And also, of course, it's a magnificent bird, Nick, congratulations of the release!

                  1 Reply Last reply
                  0
                  • Black SquareB Offline
                    Black SquareB Offline
                    Black Square
                    Black Square Developer
                    wrote last edited by
                    #12

                    VERY INTERESTING! Thank you so much for that! That's both a good and a bad thing. It means I know where the problem lies, but I'm not sure how to go about fixing it, given that it was implemented to circumvent a "bug" (more a poorly implemented function, possibly due to a bug) in Asobo's code. Why this is only happening on some computers is a whole other issue.

                    Another test you could run in the interest of time, though I'm not sure exactly what it will tell me: Try editing the flight plan while the GNS is enabled, then disabling the GNS, adding some waypoints, enabling the GNS, disabling it again... each time waiting about 10 seconds after enabling/disabling the GNS. If at any point you get a CTD exactly 7.5 seconds after pushing the "AP NAV SRC" button, then I have a little more useful information.

                    Trying to do what's best for my users, if someone reads this and is interested in helping me test a solution for the community, please raise a ticket with Just Flight support today so that they can put us in touch before the weekend. I will tell them to look out for your message.

                    K 1 Reply Last reply
                    1
                    • Black SquareB Black Square

                      VERY INTERESTING! Thank you so much for that! That's both a good and a bad thing. It means I know where the problem lies, but I'm not sure how to go about fixing it, given that it was implemented to circumvent a "bug" (more a poorly implemented function, possibly due to a bug) in Asobo's code. Why this is only happening on some computers is a whole other issue.

                      Another test you could run in the interest of time, though I'm not sure exactly what it will tell me: Try editing the flight plan while the GNS is enabled, then disabling the GNS, adding some waypoints, enabling the GNS, disabling it again... each time waiting about 10 seconds after enabling/disabling the GNS. If at any point you get a CTD exactly 7.5 seconds after pushing the "AP NAV SRC" button, then I have a little more useful information.

                      Trying to do what's best for my users, if someone reads this and is interested in helping me test a solution for the community, please raise a ticket with Just Flight support today so that they can put us in touch before the weekend. I will tell them to look out for your message.

                      K Offline
                      K Offline
                      knidarkness
                      wrote last edited by
                      #13

                      @Black-Square another video incoming, but so far adding/deleting waypoints both on FMS / GPS didn't crash it...

                      1 Reply Last reply
                      0
                      • Black SquareB Offline
                        Black SquareB Offline
                        Black Square
                        Black Square Developer
                        wrote last edited by Black Square
                        #14

                        Is this what you are suggesting?

                        • Any addition/deletion before activating the GNS produces a crash.

                        • Any addition/deletion after activating the GNS does not produce a crash, even if you deactivate the GNS?

                        K 1 Reply Last reply
                        0
                        • Black SquareB Black Square

                          Is this what you are suggesting?

                          • Any addition/deletion before activating the GNS produces a crash.

                          • Any addition/deletion after activating the GNS does not produce a crash, even if you deactivate the GNS?

                          K Offline
                          K Offline
                          knidarkness
                          wrote last edited by
                          #15

                          @Black-Square nope, not really. I didn't do extensive testing on "before activating GNS", but so far it is more or less this:

                          1. enter fplan before activating GNS -> fine
                          2. add waypoints before activating GNS, to already existing fplan -> seems to be fine, but i might have had a single crash
                          3. removing fplan before activating GNS -> 100% CTD chance
                          4. after activating GNS, with GNS as active source -> can safely delete FPLAN, add and remove individual waypoints
                          5. after activating GNS, but then switching back to FMS -> can safely add and remove individual waypoints, not sure about FPLAN, might be able to test when done with current flight

                          Also, this is a video of me messing with adding/removing waypoints without crash -> here

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            knidarkness
                            wrote last edited by
                            #16

                            After finishing the flight it seems that after activating GNS, but then switching back to FMS -> when erasing flightplan it still crashes to desktop

                            1 Reply Last reply
                            0
                            • Black SquareB Offline
                              Black SquareB Offline
                              Black Square
                              Black Square Developer
                              wrote last edited by
                              #17

                              Thank you for the extra information. That's probably good news, actually.

                              I think this is going to take a volunteer to solve, unless one of the Just Flight Support team can reproduce the issue. Thank you so much for the help. If any of you have the time to devote to our Starship, please create a ticket with Just Flight Support saying that you're willing to help.

                              I will be thinking all night about what further tests I can have you run, so we can get this fixed!

                              1 Reply Last reply
                              0
                              • Q Offline
                                Q Offline
                                Qazme
                                wrote last edited by Qazme
                                #18

                                It's happening for me as well in 2024. Simple flight plan don't think I ever activated the GNS at all. Entered flight plan and didn't like what I saw - went to delete the full flight plan CTD. Only a handful of waypoints in the plan. If you need help iterating you can reach out to me. I'll submit the ticket now.

                                Flight plan was:

                                KMDQ -> SALMS -> HITMN -> IIU -> KURTZ -> MACES -> TORIO -> 50I

                                1 Reply Last reply
                                0
                                • Black SquareB Offline
                                  Black SquareB Offline
                                  Black Square
                                  Black Square Developer
                                  wrote last edited by
                                  #19

                                  Wonderful. Thank you for volunteering. I will be sure that we connect tomorrow. I'm also glad (I think) to see a report with airports far away from central Europe. That way we know it's not some geographic or database issue. I'm still in disbelief that there is a CTD hiding in Asobo's code that only presents itself on some machines.

                                  Hopefully we will have a solution soon. I already have lots of ideas to try, so thank you so much for volunteering to help!

                                  1 Reply Last reply
                                  0
                                  • Black SquareB Offline
                                    Black SquareB Offline
                                    Black Square
                                    Black Square Developer
                                    wrote last edited by
                                    #20

                                    I have another test someone could run from looking at the code.

                                    • For the following, use only airports or navaid waypoints: NO RUNWAYS, or user defined waypoints.

                                    • Do nothing with the GNS. Do not enable it. Do not disable it.

                                    1. Try creating a flight plan with at least FIVE waypoints.

                                    2. Make sure to scroll up so you know you're at the top of the flight plan each time.

                                    3. Start by deleting the SECOND waypoint in the flight plan.

                                    4. Keep deleting the SECOND waypoint in the flight plan until there are only two left.

                                    5. Delete the SECOND (last) waypoint again. This is when I expect the CTD to happen.

                                    6. If not, delete the final remaining waypoint by the same method.

                                    7. If you still don't have a CTD, please try again at least once or twice. When you give up, try inducing the CTD by creating a flight plan and pressing "ERASE FLPN" as you have done before.

                                    Sorry for the aggressive formatting. Just trying to make sure we get the right answers. Thanks again for the help!

                                    Q 1 Reply Last reply
                                    0
                                    • Black SquareB Black Square

                                      I have another test someone could run from looking at the code.

                                      • For the following, use only airports or navaid waypoints: NO RUNWAYS, or user defined waypoints.

                                      • Do nothing with the GNS. Do not enable it. Do not disable it.

                                      1. Try creating a flight plan with at least FIVE waypoints.

                                      2. Make sure to scroll up so you know you're at the top of the flight plan each time.

                                      3. Start by deleting the SECOND waypoint in the flight plan.

                                      4. Keep deleting the SECOND waypoint in the flight plan until there are only two left.

                                      5. Delete the SECOND (last) waypoint again. This is when I expect the CTD to happen.

                                      6. If not, delete the final remaining waypoint by the same method.

                                      7. If you still don't have a CTD, please try again at least once or twice. When you give up, try inducing the CTD by creating a flight plan and pressing "ERASE FLPN" as you have done before.

                                      Sorry for the aggressive formatting. Just trying to make sure we get the right answers. Thanks again for the help!

                                      Q Offline
                                      Q Offline
                                      Qazme
                                      wrote last edited by Qazme
                                      #21

                                      @Black-Square said in CTD when deleting flight plan:

                                      I have another test someone could run from looking at the code.

                                      • For the following, use only airports or navaid waypoints: NO RUNWAYS, or user defined waypoints.

                                      • Do nothing with the GNS. Do not enable it. Do not disable it.

                                      1. Try creating a flight plan with at least FIVE waypoints.

                                      2. Make sure to scroll up so you know you're at the top of the flight plan each time.

                                      3. Start by deleting the SECOND waypoint in the flight plan.

                                      4. Keep deleting the SECOND waypoint in the flight plan until there are only two left.

                                      5. Delete the SECOND (last) waypoint again. This is when I expect the CTD to happen.

                                      6. If not, delete the final remaining waypoint by the same method.

                                      7. If you still don't have a CTD, please try again at least once or twice. When you give up, try inducing the CTD by creating a flight plan and pressing "ERASE FLPN" as you have done before.

                                      Sorry for the aggressive formatting. Just trying to make sure we get the right answers. Thanks again for the help!

                                      This is basically what I did with the route listed above, I did not touch to GPS during that time - disabling or activating it. I deleted the second waypoint and continued to do it 3-4 times then decided I just wanted to delete the whole plan and start over. When I did that the sim CTD on me. I'm flying the plane now and didn't have any issues but I fully booted up the GPS and only deleted one waypoint. Smooth sailing so far.

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        czcorkery
                                        wrote last edited by
                                        #22

                                        I am having the same issue. MSFS 2020. I am following this topic. Hopefully there is a work around. However, this being said what an outstanding product.

                                        1 Reply Last reply
                                        0
                                        • Black SquareB Offline
                                          Black SquareB Offline
                                          Black Square
                                          Black Square Developer
                                          wrote last edited by
                                          #23

                                          I'm glad you're enjoying the airplane while avoiding this until we fix it. It does break my heart that this is lurking out there, and apparently only for some users.

                                          Unfortunately, it's that step number 5 that's crucial to give me more insight into what's going on. The goal is to induce the CTD by manually deleting the last of only two waypoints, after proving that we can delete other intermediate waypoints first.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users