Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-plane crashing after loading a FP #30

Open
user2684 opened this issue Jul 15, 2014 · 6 comments
Open

X-plane crashing after loading a FP #30

user2684 opened this issue Jul 15, 2014 · 6 comments

Comments

@user2684
Copy link
Owner

From Dco:

Running the plugin either on 10.25 or 10.30b6 makes X-plane crash. Running windows 8.1 and make the test with the Peter Hager A321.

I load the flight plan and suddenly x-plane crash when navigating within the pages of the X52 or when looking at the legs in the FMC

@user2684 user2684 self-assigned this Jul 15, 2014
@user2684
Copy link
Owner Author

  • Does it crash everytime you load that flight plan or just the last time you run it?
    Yes it crashes every time I load that flight plan,
  • Does it crash when pressing a button or just after loading the plan?
    It crashes when I try some action after loading the FP. Twice it crashes when I opened the legs page at the aircraft FMC. It crashes also when after loading the FP I try to change the page at the X52 device. For me it occurs as soon an action is required

@user2684 user2684 added this to the v1.0.1 milestone Jul 15, 2014
@user2684
Copy link
Owner Author

From Dco:

With a "basic" aircraft, I mean with no plugin, it works.
There is no problem with A380 from Peter Hager
For X737 EADT with X737FMC plugin the xcontrol plugin doesn't work but there is no crash (message FMS not ready)

@user2684 user2684 removed their assignment Jul 16, 2014
@user2684 user2684 self-assigned this Aug 9, 2014
@user2684
Copy link
Owner Author

user2684 commented Aug 9, 2014

Made some progress by generating a map file for tracking the crash and disabling optimization. The issue needs to be replicated

@user2684
Copy link
Owner Author

The issue is due to displayed_index in mfdpage_fms_t::refresh_template turning to a negative value without a specific reason:
[2014-08-10 15:03:37] [debug] mfdpage: refreshing joystick display (fms.status)
[2014-08-10 15:03:37] [verbose] fms: we are flying to entry LFPK (1)
[2014-08-10 15:03:37] [verbose] fms: current displayed entry index is -1

@user2684
Copy link
Owner Author

Added a condition, if displayed_index is negative, fms.status prints a INV_DISP error message

@user2684 user2684 removed this from the v1.0.1 milestone Feb 18, 2015
@user2684 user2684 removed their assignment Feb 18, 2015
@user2684 user2684 reopened this Feb 18, 2015
@user2684
Copy link
Owner Author

User Alessandro61 reporting this issue is still there with A320 Neo Jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant