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 447 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.
  • sushi.atS Offline
    sushi.atS Offline
    sushi.at
    wrote last edited by sushi.at
    #1

    Hi,

    was sitting on the ground in LOWS and creating a Mobiflight profile for my miniFCU and after getting pretty much all the important stuff mapped I thought I take it for a first test flight.

    Created a super simple flight plan from LOWS to LOWW but changed my mind and selected the delete flight plan option, a confirmation screen showed, and the second I clicked confirm the whole sim just closed without error 🙂

    This is on 2024, SU2. Hope it helps diagnosing it and looking forward to now flying it.

    Cheers,
    Markus

    1 Reply Last reply
    1
    • K Online
      K Online
      knidarkness
      wrote last edited by knidarkness
      #2

      Also had the same issue for LOAN -> LOWW f-pln, crash after pressing "DELETE FLIGHTPLAN" (FS20202)

      1 Reply Last reply
      0
      • K Online
        K Online
        knidarkness
        wrote last edited by
        #3

        Just checked again -> yes, it goes into CTD for LOAN -> LOWK (just 2 airports, no wpts, no approach, sitting on the ramp on LOAN) in FS 2020 as well.

        1 Reply Last reply
        0
        • 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 Online
            Black SquareB Online
            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 Online
                    K Online
                    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 Online
                      Black SquareB Online
                      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 Online
                        K Online
                        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 Online
                          Black SquareB Online
                          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 Online
                            K Online
                            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 Online
                              Black SquareB Online
                              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 Online
                                K Online
                                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 Online
                                  K Online
                                  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 Online
                                    Black SquareB Online
                                    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 Online
                                        Black SquareB Online
                                        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 Online
                                          Black SquareB Online
                                          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
                                          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