Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Software Bug Halts F-22 Flight

Posted by kdawson on Sun Feb 25, 2007 07:35 PM
from the dare-you-to-cross-this-line dept.
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.
+ -
story

Related Stories

[+] Technology: F-22 Raptor Cancelled 829 comments
BayaWeaver writes "Slate reports that the F-22 Raptor has been cancelled by the Senate. At an estimated price tag of $339 million per aircraft, even the powerful military-industrial-congressional complex couldn't keep this Cold War program alive in these hard times. They look very cool though and have appeared in movies like Hulk and Transformers. But not to worry too much about the future of the military-industrial-congressional complex: the F-35 Lightning II begins production next year! As a side note, in 2007 a squadron of Raptors became deaf, dumb and blind when they flew over the International Date Line."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Real redundancy (Score:5, Interesting)

    by chriss (26574) * <chriss@memomo.net> on Sunday February 25 2007, @07:41PM (#18146946) Homepage
    As far as I remember the Space Shuttle not only has redundant computer systems, but also redundant software, i.e. the software has been developed twice to ensure that software bugs don't cause a catastrophe. I'd prefer to know that systems capable of carrying weapons which can kill hundreds of thousands of people were designed with the same safety in mind.
    • Re:Real redundancy (Score:5, Interesting)

      by spagetti_code (773137) on Sunday February 25 2007, @08:18PM (#18147276)
      Actually, the space shuttle is not a good example.

      NASA do not fly the space shuttle during 31 Dec -> 1 Jan [newscientist.com] 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.

      • Re:Real redundancy (Score:5, Informative)

        by Richard_at_work (517087) <richardprice @ g m a i l . c om> on Sunday February 25 2007, @07:50PM (#18147066)
        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).
  • by User 956 (568564) on Sunday February 25 2007, @07:43PM (#18146982) Homepage
    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.
  • Don't worry (Score:5, Funny)

    by Realistic_Dragon (655151) on Sunday February 25 2007, @07:49PM (#18147036) Homepage
    We will happily sell y'all Eurofighters. Half the price, twice the bombs... and who the hell do you need stealth to fight anyway? Expecting the France to try and invasion any day now or something?
  • by alexhs (877055) on Sunday February 25 2007, @07:49PM (#18147042) Homepage Journal
    That's the real reason why they don't want to give source code to foreign armies... They don't want to be covered in shame :)
  • by blind biker (1066130) on Sunday February 25 2007, @07:50PM (#18147054) Journal
    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.
  • by TigerNut (718742) on Sunday February 25 2007, @07:51PM (#18147076) Homepage Journal
    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.
  • by CardinalPilot (1057108) * on Sunday February 25 2007, @07:52PM (#18147078)
    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!
  • by the_skywise (189793) on Sunday February 25 2007, @07:55PM (#18147092)
    Assuming it WAS a time issue upon crossing the International Dateline...

    Design problem? Why should navigation software require "local time"? They knew they were crossing the international dateline, so they must be linked to GPS timing systems... why not just use GPS' universal time? (Sure, you want local time eventually for your displays but that's a "view" calculation, not one intrinsic to the navigation software)

    Bug tracking problem? Did the testers not think of testing about a time zone change? Did they assume the above that everything would be on a universal time and therefore didn't see the need for crossing time zones?

    Why wasn't this a stock reusable code module in Lockheed Martin's labs?!?

    (And for a media look at this issue, check out the anime Geneshaft or the movie The Pentagon Wars)
  • by pestilence669 (823950) on Sunday February 25 2007, @07:56PM (#18147106)
    I just want to know if this is in any way connected to the nuclear subs that lost navigation after they switched to Microsoft Windows based software. Generally, when this kind of thing happens, some external vendor is to blame.
  • Ironically (Score:5, Funny)

    by mbrod (19122) on Sunday February 25 2007, @07:57PM (#18147114) Homepage Journal
    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 [att.com] when working on the Joint Strike Fighter [wikipedia.org]. 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.

  • So... (Score:5, Funny)

    by WaZiX (766733) on Sunday February 25 2007, @08:08PM (#18147192)
    So, when is Service Pack 1 coming out?
  • by Anonymous Coward on Sunday February 25 2007, @08:12PM (#18147218)
    You are flying to Japan, Cancel or Allow?
  • by Anonymous Coward on Sunday February 25 2007, @08:22PM (#18147332)
    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 [ncl.ac.uk]

  • Microsoft? (Score:5, Funny)

    by Yvan256 (722131) on Sunday February 25 2007, @08:29PM (#18147384) Homepage Journal

    every fighter completely lost all navigation and communications when they crossed the international date line.
    Where do you want to go today?

  • by N8F8 (4562) on Sunday February 25 2007, @08:37PM (#18147462)
    I tried posting this on several sites but on March 11th [wikipedia.org], when the new daylight savings [wikipedia.org]regime kicks in for the first time there will probably be a lot of Java applications that will start having data issues because the latest Java version IS NOT BACKWARDS COMPATIBLE for several three character time codes that have bee removed. Several codes have been deprecated in a way that is not backwards compatible. I could be wrong about the severity, but for he last two weeks my software team has been dealing with this issue and the interaction between Oracle and Java.
    • Re:Overflow (Score:5, Insightful)

      by Anonymous Coward on Sunday February 25 2007, @07:48PM (#18147016)
      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.
    • by sbaker (47485) * on Sunday February 25 2007, @08:10PM (#18147204) Homepage
      You'd think they'd have learned from this one:

              http://www.f20a.com/f20ins.htm [f20a.com]
    • Fixed (Score:5, Informative)

      by daveschroeder (516195) * <(das) (at) (doit.wisc.edu)> on Sunday February 25 2007, @08:19PM (#18147286) Homepage
      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
    • Moderation? (Score:5, Insightful)

      by Anonymous Coward on Sunday February 25 2007, @08:44PM (#18147502)
      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.
    • Re:UTC (Score:5, Informative)

      by Chmcginn (201645) on Sunday February 25 2007, @07:57PM (#18147112) Journal
      They probably already do... When I was spending time in uniform, all our (non-workstation) computers did all their work in GMT, anyway. And considering it was the navigation systems that crashed, I think the "international date line" thing is spurious - the problem was more likely going from W to E, not today to yesterday.