Bug Altea XR2 Ravenstar Horizontal Lvl Autopilot bug (Reproducable)

jrobert

New member
Joined
Apr 3, 2008
Messages
4
Reaction score
0
Points
0
Website
www.3dsoftworks.net
I believe I've found a bug concerning the activation of the horizontal level autopilot using the "L" key command. Upon loading the following scenario file and immediately pressing L, the simulator crashes referencing the following information:

Code:
[B][SIZE=1][COLOR=#0066cc][SIZE=1][COLOR=#0066cc]Problem signature:[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1][COLOR=#0066cc]
[/COLOR][/SIZE][SIZE=1]Problem Event Name: APPCRASH[/SIZE]
[SIZE=1]Application Name: orbiter.exe[/SIZE]
[SIZE=1]Application Version: 0.0.0.0[/SIZE]
[SIZE=1]Application Timestamp: 4c7b0d0d[/SIZE]
[SIZE=1]Fault Module Name: XR2Ravenstar.dll[/SIZE]
[SIZE=1]Fault Module Version: 0.0.0.0[/SIZE]
[SIZE=1]Fault Module Timestamp: 4e0fb152[/SIZE]
[SIZE=1]Exception Code: c0000005[/SIZE]
[SIZE=1]Exception Offset: 0001ff8a[/SIZE]
[SIZE=1]OS Version: 6.1.7601.2.1.0.256.1[/SIZE]
[SIZE=1]Locale ID: 1033[/SIZE]
[SIZE=1]Additional Information 1: 0a9e[/SIZE]
[SIZE=1]Additional Information 2: 0a9e372d3b4ad19135b953a78882e789[/SIZE]
[SIZE=1]Additional Information 3: 0a9e[/SIZE]
[SIZE=1]Additional Information 4: 0a9e372d3b4ad19135b953a78882e789[/SIZE]
[B][SIZE=1][COLOR=#0066cc][SIZE=1][COLOR=#0066cc]Read our privacy statement online:[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1][COLOR=#0066cc]
[SIZE=1][COLOR=#0066cc][U]http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409[/U][/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=1]If the online privacy statement is not available, please read our privacy statement offline:[/SIZE]
[U][SIZE=1][COLOR=#0066cc][SIZE=1][COLOR=#0066cc]C:\Windows\system32\en-US\erofflps.txt[/COLOR][/SIZE][/COLOR][/SIZE][/U][SIZE=1][COLOR=#0066cc]
[/COLOR][/SIZE]

According to your bug reporting guidelines, here is the following requested information:
1. XR2Ravenstar: Version 1.4, Build Date: Jul 2 2011

2. Orbiter Build 30 Aug 2010 [v.100830]


3. Yes. This bug occurs in a clean Orbiter installation. The only installed items are OrbiterSound, UMmu, and the XR2 Ravenstar.


4. The bug is immediately reproducable on multiple separate systems simply by running the following Scenerio and pressing L to activate the Horizontal Level Autopilot.


5. The scenerio file is as follows:
Code:
BEGIN_DESC
END_DESC
BEGIN_ENVIRONMENT
  System Sol
  Date MJD 58018.5453092143
END_ENVIRONMENT
BEGIN_FOCUS
  Ship XR2-01
END_FOCUS
BEGIN_CAMERA
  TARGET XR2-01
  MODE Cockpit
  FOV 40.00
END_CAMERA
BEGIN_HUD
  TYPE Surface
END_HUD
BEGIN_MFD Left
  TYPE Orbit
  PROJ Ship
  FRAME Ecliptic
  ALT
  REF Earth
END_MFD
BEGIN_MFD Right
  TYPE Map
  REF Earth
  BTARGET Cape Canaveral
END_MFD
BEGIN_SHIPS
XR2-01:XR2Ravenstar
  STATUS Orbiting Earth
  RPOS -4750892.86 1784114.23 4547040.43
  RVEL -5275.255 -3772.618 -4054.558
  AROT -157.25 -40.68 -165.80
  VROT 0.00 0.06 0.00
  RCSMODE 0
  PRPLEVEL 0:0.388900 1:0.980556
  IDS 0:199 100
  NAVFREQ 94 524 84 114
  XPDR 193
  SECONDARY_HUD 5
  LAST_ACTIVE_SECONDARY_HUD 0
  ADCTRL_MODE 0
  TAKEOFF_LANDING_CALLOUTS 7398.335485 1278.942432 1278.958915 0.000000 -15.387479
  APU_FUEL_QTY 0.703259
  LOX_QTY 0.829143
  CABIN_O2_LEVEL 0.210000
  CREW_STATE 0
  INTERNAL_SYSTEMS_FAILURE 0
  COGSHIFT_MODES 0 0 0
  MWS_ACTIVE 0
  COOLANT_TEMP 31.200000
  DMG_0 1.000000 Left Wing
  DMG_1 1.000000 Right Wing
  DMG_2 1.000000 Left Aileron
  DMG_3 1.000000 Right Aileron
  DMG_4 1.000000 Landing Gear
  DMG_5 1.000000 Nosecone
  DMG_6 1.000000 Retro Doors
  DMG_7 1.000000 Top Hatch
  DMG_8 1.000000 Radiator
  DMG_9 1.000000 Airbrake
  DMG_10 1.000000 Left Main Engine
  DMG_11 1.000000 Right Main Engine
  DMG_12 1.000000 Left SCRAM Engine
  DMG_13 1.000000 Right SCRAM Engine
  DMG_14 1.000000 Fore Hover Engine
  DMG_15 1.000000 Aft Hover Engine
  DMG_16 1.000000 Left Retro Engine
  DMG_17 1.000000 Right Retro Engine
  DMG_18 1.000000 Forward Lower RCS
  DMG_19 1.000000 Aft Upper RCS
  DMG_20 1.000000 Forward Upper RCS
  DMG_21 1.000000 Aft Lower RCS
  DMG_22 1.000000 Forward Star. RCS
  DMG_23 1.000000 Aft Port RCS
  DMG_24 1.000000 Forward Port RCS
  DMG_25 1.000000 Aft Star. RCS
  DMG_26 1.000000 Outboard Upper Port RCS
  DMG_27 1.000000 Outboard Lower Star. RCS
  DMG_28 1.000000 Outboard Upper Star. RCS
  DMG_29 1.000000 Outboard Lower Port RCS
  DMG_30 1.000000 Aft RCS
  DMG_31 1.000000 Forward RCS
  DMG_32 1.000000 Bay Doors
  IS_CRASHED 0
  MET_STARTING_MJD 51984.617218
  INTERVAL1_ELAPSED_TIME -1.000000
  INTERVAL2_ELAPSED_TIME -1.000000
  MET_RUNNING 1
  INTERVAL1_RUNNING 0
  INTERVAL2_RUNNING 0
  ACTIVE_MDM 2
  TEMP_SCALE 2
  CUSTOM_AUTOPILOT_MODE 0
  AIRSPEED_HOLD_ENGAGED 0
  SCRAM0DIR 0.000000 0.000000 1.000000
  SCRAM1DIR 0.000000 0.000000 1.000000
  HOVER_BALANCE 0.000000
  MAIN0DIR 0.000000 0.000000 1.000000
  MAIN1DIR 0.000000 0.000000 1.000000
  GIMBAL_BUTTON_STATES 0 0 0 0 0 0
  ATTITUDE_HOLD_DATA 0.000000 0.000000 0 0 0.000000
  DESCENT_HOLD_DATA 0.000000 -2.861150 0
  AIRSPEED_HOLD_DATA 0.000000
  OVERRIDE_INTERLOCKS 0 1
  TERTIARY_HUD_ON 1
  CREW_DISPLAY_INDEX 0
  GEAR 0 0.0000
  RCOVER 0 0.0000
  NOSECONE 0 0.0000
  AIRLOCK 0 0.0000
  IAIRLOCK 1 1.0000
  CHAMBER 0 0.0000
  AIRBRAKE 0 0.0000
  RADIATOR 1 1.0000
  HATCH 0 0.0000
  SCRAM_DOORS 0 0.0000
  HOVER_DOORS 0 0.0000
  BAY_DOORS 0 0.0000
  APU_STATUS 0
  EXTCOOLING_STATUS 0
  TRIM -0.122972
  SKIN Altea2
  LIGHTS 0 0 0
  XRUMMU_CREW_DATA_VALID 1
  UMMUCREW XI0-Lee_Nash-39-65-78
  UMMUCREW XI1-Kara_Miller-32-65-58
  PAYLOAD_SCREENS_DATA 0.0 0 1 3
END
XR2-01_Bay:XRPayloadBay
  STATUS Orbiting Titania
  RPOS -2528098600674.02 29593679081.99 -1306159376122.20
  RVEL -4295.208 -793.997 20664.354
  AROT -157.25 -40.68 -165.80
  VROT 0.00 0.06 0.00
  ATTACHED 0:3,XR2-01
  AFCMODE 7
END
XR2PayloadMainFuel-03-1:XR2PayloadMainFuel
  STATUS Orbiting Titania
  RPOS -2528098600672.75 29593679081.07 -1306159376123.24
  RVEL -4295.208 -793.997 20664.354
  AROT -157.25 -40.68 -165.80
  VROT 0.00 0.06 0.00
  ATTACHED 0:2,XR2-01
  AFCMODE 7
  NAVFREQ 0 0
END
XR2PayloadMainFuel-02-1:XR2PayloadMainFuel
  STATUS Orbiting Titania
  RPOS -2528098600671.80 29593679080.64 -1306159376124.26
  RVEL -4295.208 -793.997 20664.354
  AROT -157.25 -40.68 -165.80
  VROT 0.00 0.06 0.00
  ATTACHED 0:1,XR2-01
  AFCMODE 7
  NAVFREQ 0 0
END
XR2PayloadCHM-01-1:XR2PayloadCHM
  STATUS Orbiting Titania
  RPOS -2528098600670.67 29593679080.24 -1306159376125.57
  RVEL -4295.208 -793.997 20664.354
  AROT -157.25 -40.68 -165.80
  VROT 0.00 0.06 0.00
  ATTACHED 0:0,XR2-01
  AFCMODE 7
  NAVFREQ 0 0
END
END_SHIPS


Regards,
Joshua Robertson
 
That's a good catch! :) Turns out the CTD occurred because the scenario loaded in glass cockpit mode (no instrument panel), and since the main panel was never rendered some data the code expected wasn't there yet. I just fixed it for the next XR patches, but for now the workound is to press F8 after the scenario loads to switch to 2D cockpit mode before switching back to the glass cockpit. To put it another way, it will be OK as long as the main panel is rendered at least once anytime after simulation start.
 
Back
Top