Slashdot Mirror


Software Bug Halts F-22 Flight

mgh02114 writes "The new US stealth fighter, the F-22 Raptor, was deployed for the first time to Asia earlier this month. On Feb. 11, twelve Raptors flying from Hawaii to Japan were forced to turn back when a software glitch crashed all of the F-22s' on-board computers as they crossed the international date line. The delay in arrival in Japan was previously reported, with rumors of problems with the software. CNN television, however, this morning reported that every fighter completely lost all navigation and communications when they crossed the international date line. They reportedly had to turn around and follow their tankers by visual contact back to Hawaii. According to the CNN story, if they had not been with their tankers, or the weather had been bad, this would have been serious. CNN has not put up anything on their website yet." The Peoples Daily of China reported on Feb. 17 that two Raptors had landed on Okinawa.

21 of 579 comments (clear)

  1. crash narrowly averted by User+956 · · Score: 5, Funny

    CNN television, however, this morning reported that every fighter completely lost all navigation and communications when they crossed the international date line.

    I've heard of a software glitch causing a crash before, but this is ridiculous.

    --
    The theory of relativity doesn't work right in Arkansas.
  2. Re:Overflow by Anonymous Coward · · Score: 5, Insightful

    The problem probably isn't with the time change. Airplanes use GMT so the local time doesn't matter. The problem is probably related to the longitude going from W179.99 degrees to E180 degrees.

  3. Reminds me of the Bismarck by blind+biker · · Score: 5, Interesting

    The Bismarck battleship had a bug also: when the main turrets would fire, the aiming radars would be disabled. That's no joke when you're in the midst of a battle and everyone of those large caliber shells counts. As I understand, the radars would be disabled by the vibrations of the turret cannons firing. Not a software bug, but bug nonetheless, and you do wonder how did this battleship pass testing.

    --
    "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
  4. Re:Real redundancy by Richard_at_work · · Score: 5, Informative

    The F-22 can carry the standard USAF air delivered nuclear weapon as maintained within the US military arsenal today, either one internal or two external. The radiation from the weapons has no effect on the stealth, either before or after detonation (the stealth capability involved is an advanced form of that used on the B-2 and B-1B bombers, both of which were at their inception designed to be purely nuclear armed bombers).

  5. Gotta know your limitations... by TigerNut · · Score: 5, Informative

    When I worked at a high end civilian GPS equipment manufacturer, we had a test department where, among other things, a complete list of "special" dates and locations were kept on file. Any new position solution software release was regression tested against all previously known and guessed potential date/time rollovers, as well as making sure that motion across geographic coordinate boundaries didn't cause erratic behavior. Obviously whoever supplied the inertial navigation solution for the F22 hasn't quite gotten there yet... Testing in the lab is cheap. Burning a couple of tons of Jet-A and putting a bunch of people at risk is not.

    --

    Less is more.

  6. Some exaggeration in the story, I suspect by CardinalPilot · · Score: 5, Informative

    The F-22 has a fly-by-wire control system. If there really were a crash of ALL on-board computer systems, communication and navigation would not have been the most immediate concerns!

  7. Ironically by mbrod · · Score: 5, Funny
    A few days ago reading up on good C++ coding techniques I came across Stroustrup's (creator of C++) page citing the coding rules used when working on the Joint Strike Fighter. Reading through the various rules used, this one caught my attention:

    AV Rule 25 (MISRA Rule 127)
    The time handling functions of library <time.h> shall not be used.

    I got to thinking if we had any decent alternatives (at least in C++). And yes there are alternatives and all of them looked equally bad to me. Looks like the F22 guys might have had the same problem finding and using a robust fault tolerant time library.

  8. Re:first post to say.. by alx5000 · · Score: 5, Funny

    Sure, but it seems they turned Aero off..

    --
    My 0.02 cents
  9. Actual dialog message... by Anonymous Coward · · Score: 5, Funny

    You are flying to Japan, Cancel or Allow?

  10. Re:Real redundancy by spagetti_code · · Score: 5, Interesting

    Actually, the space shuttle is not a good example.

    NASA do not fly the space shuttle during 31 Dec -> 1 Jan as
    they are not confident of what would happen. Better just
    to avoid the problem.

    That was one of the pressures to getting the Dec 2k6 flight off the ground.

  11. Fixed by daveschroeder · · Score: 5, Informative

    Well, whatever the issue - which is probably something similar to what you suspect - it's now fixed. Here's the transcript from CNN this morning. Since the F-22 is fly-by-wire, it's also worth pointing out that all systems didn't crash, else these F-22s would be sitting in the Pacific. I've no doubt it affected navigation, communications, and similar subsystems, and was probably related to physical location in terms of time, position over the Earth, or both, given the nature of the issue.

    >> 25 Years from development to deployment, the F-22 Raptor is the most advanced fighting machine in the air. It was no match for a computer glitch that left six of them high above the pacific ocean, deaf, dumb, and blind as they headed to their first deployment. So what happened? We turn to a man that's at home in the cockpit. Retired Air Force General Don Shepperd. Let me set the scene, Don. These F-22s, headed from the Air Force base in Hawaii to an Air Force base in Japan. They were approaching the international date line, pick it up from there.

    >> You got it right. You want everything to go right with the frontline fighter. $125, 135 Million a copy. The F-22 raptor is our frontline fighter, air defense, air superiority, and it can drop bombs. It is stealthy and fast. You want it to go right. On the international deployment to the pacific, it didn't. At the international date line, whoops. All systems dumped. When i say all systems I mean all systems, navigation, part of the communications, fuel systems, and they were -- they could have been in real trouble. They were with their tankers. The tankers -- tried to reset their systems. Couldn't get them reset. Tankers brought them back to Hawaii. This could have been real serious. Certainly could have been real serious if the weather had been bad. Turned out okay. Fixed in 48 hours. It was a computer glitch in the millions of lines of code; somebody made an error in a couple lines of the code and everything goes.

    >> This is almost like the feared Y2K problem that happened to these aircraft. We should point out, the computer problems in 2000. The computers absolutely went absolutely haywire and became useless?

    >> Absolutely. When you think of airplanes from the old days, with cables and that type of thing and connects between the sticks and the yokes and the controls -- not that way anymore. Everything is by computer. When your computers go the airplanes go. You have multiple systems. When they all dump at the same time, you can be in real trouble. Luckily this turned out okay.

    >> What would have happened if these brand-new $120 million F-22s had been going into battle?

    >> You would have been in real trouble in the middle of combat. The good thing is we found this out. Any time -- before, you know, before we get into combat with an airplane like this. Any time you introduce a new airplane, you are going to find glitches, and you are going to find things that go wrong. It happens in our civilian airliners. You don't hear much about it. These things absolutely happen. And luckily had time we found out about it before combat. We got it fixed with tiger teams in about 48 hours and the airplanes were flying again, and completed the deployment. This could have been real serious in combat.

    >> You had these advanced air -- not just superiority but air supremacy fighters in there, up there in the air, above the Pacific Ocean, not much more sophisticated than a Cessna 152 with a jet engine?

    >> You got it. They are on a 15-hour flight from Hawaii to Okinawa. When all their systems dumped, they needed help. Had they gotten separated from their tankers or weather gotten bad they had no reference and no communications or navigation. They would have turned around and could have found the Hawaiian Islands. If the weather had been bad on approach there could have been real trouble. You get refueling from your tankers and you don't run -- you don't get yourself where you run out of fuel. You

  12. F16 Software had similar problems by Anonymous Coward · · Score: 5, Interesting

    When F16s crossed the equator, the computer would roll the aircraft 180 degrees and fly inverted:

    http://catless.ncl.ac.uk/Risks/3.44.html

  13. Re:Real redundancy by 0123456 · · Score: 5, Funny

    "NASA do not fly the space shuttle during 31 Dec -> 1 Jan"

    But they fly over the international date-line every 90 minutes or so with no problems :).

  14. Moderation? by Anonymous Coward · · Score: 5, Insightful

    Why do you guys give +5 to someone who doesn't know for sure how the date line works, and who merely looked up which SI prefix was small enough to cause a 64-bit overflow? Most likely the bug has to do with overflow in position, not time. Even assuming this has to do with time overflow, modern GPS electronics can only measure signals to within 10 nanosecond. Using femtoseconds (10,000,000x smaller) is complete BS to make his argument work.

  15. Re:Don't worry by MSFanBoi2 · · Score: 5, Interesting

    Actually the whole story is a lot more exciting that 5 on 1...

    The 27th Fighter Squadron (8 F-22s) at Langley AFB, Virginia fought against 33 F-15Cs and didn't suffer a single loss. The F-15's again didn't even detect the F-22's until they were all locked and targeted.

    Then some months later during Exercise Northern Edge F-22's reached a 144-to-zero kill-to-loss ratio against F-15s, F-16s and F/A-18s. Only 12 of the F-22's accounted for nearly 50% of all kills for the Exercise.

  16. Re:Cost Efficiency: EuroFighter vs. F-22 by Rakishi · · Score: 5, Insightful

    The F-22 is a full stealth fighter, the EuroFighter is not in any way. If you cannot understand why you cannot base a stealth plane design in any major way on something that is not a stealth plane (hell, no stealth fighter has existed before the F-22) then why are you eve talking about this as you clearly have no idea about anything involved.

    And yes the F-22 is likely worth 84% more than the Eurofighter in terms of performance due to stealth alone.

    Incidentally since the F-22 is what the F-35 is based on that $70billion has technically led to the creation of two planes, the later of which is being sold quite widely.

  17. Re:Overflow by El+Torico · · Score: 5, Funny

    How do you really feel about Rockwell Collins?

    --
    In the land of the blind, the one-eyed man is usually crucified.
  18. Re:Real redundancy by Indigo · · Score: 5, Informative

    The Shuttle does indeed have two sets of flight software, Primary Avionics Systems Software (PASS), and Backup Flight System (BFS). During critical phases of flight, PASS is loaded on four of the GPCs and BFS is loaded on the fifth. BFS doesn't have all the capabilities of PASS - it is intended to take over in case of an emergency.

  19. Winning Tactic by R_Ramjet · · Score: 5, Funny

    The F-15's should have headed towards the international date line....

  20. Re:Cost Efficiency: EuroFighter vs. F-22 by Anonymous Coward · · Score: 5, Insightful
    And yes the F-22 is likely worth 84% more than the Eurofighter in terms of performance due to stealth alone.

    Only if stealth is a requirement. In a real dogfight, the Eurofighter likely wins because maneuverability was foremost in its design, whereas the F-22 has stealth as the foremost design priority. The thought is that engagements are likely to be fought a distance with missles, and the low observability tech will allow the American aircraft to engage long before the enemy can return fire. This does not jive entirely with engagements of the past, which often involve close range encounters to verify enemy, or orders to wait until fired upon to return fire.

    Compare this to the ability to put twice as many aircraft in the sky, carrying more munitions (while the F-22 has some stealty weapons bays, maxed out with a full bomb load involves external mounts with has a huge impact on radar visibility). Point is, whether stealth is worth 84% more has more to do with your mission profile and expected enemy/target,

  21. they are very confident by Tharkban · · Score: 5, Funny

    You missed a point in that story.
    NASA is extremely careful with its software.
    They don't fly from Dec 31 to Jan 1 because they know exactly what would happen.

    --
    Tharkban (It is a signature after all)