









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Errors in Computer Systems Impacts of Computer Errors L L d
CS305 S'09, J. Li Reliability 1
Lessons Learned How to Improve?
Sources: Baase: A Gift of Fire and Quinn: Ethics for the Information Age
DataData related errors-related errors Erroneous information in databases Misinterpretation of database information Software errors System failures
CS305 S'09, J. Li Reliability 2
Inconvenience Financial loses Fatalities
Disfranchised Voters in FloridaDisfranchised Voters in Florida November 2000 general election, Florida disqualified thousands of voters Reason: People identified as felons Cause: Incorrect records in voter database Consequence: May have affected election’s
CS305 S'09, J. Li Reliability 3
Consequence: May have affected election s outcome False Arrests due to Inaccuracy in NCIC Records
Sheila JacksonSheila Jackson Stossier mistaken for Shirley Stossier mistaken for Shirley Jackson Arrested and spent five days in detention Roberto Hernandez mistaken for another Roberto Hernandez Arrested twice and spent 12 days in jail
CS305 S'09, J. Li Reliability 4
Terry Dean Rogan arrested after someone stole his identity Arrested five times, three times at gun point
U.S. Postal Service returns 50,000 mail addressed to, Patent and Trademark Office (1996)
Qwest sends incorrect bills to 14,000 cell phone customers (2001)
Amazon.com in Britain offered iPaq for £7 instead of £275; Amazon.com shut down site, refused to deliver
CS305 S'09, J. Li Reliability 7
£275; Amazon.com shut down site, refused to deliver unless customers paid true price (2003)
Question: Was Amazon wrong to refuse to fill the orders?
Amazon Case: Utilitarian Analysis
Proposed Rule:p A company must always honor the advertised price.
Consequences: Companies would spend more time proofreading ads, and may take out insurance policies Higher costs higher prices for all consumers O l f t ld b fit f
CS305 S'09, J. Li Reliability 8
Only few customers would benefit from errors
Conclusion: Rule has more harms than benefits Amazon.com did the right thing
Amazon Case: Kantian Analysis
Buyers knew 97 5% markdown was an errorBuyers knew 97.5% markdown was an error They attempted to take advantage of Amazon.com’s stockholders They were not acting in “good faith” Buyers did something wrong
CS305 S'09, J. Li Reliability 9
PatriotPatriot mmissileissile Ariane 5 AT&T long-distance network Robot missions to Mars Denver international airport Airbus A
CS305 S'09, J. Li Reliability 10
Airbus A Therac- Several of these failures caused fatalities.
Satellite launch vehicleSatellite launch vehicle 40 seconds into maiden flight, rocket self- destructed, $500 million of satellites lost Cause: Statement assigning floating-point value to integer raised exception
CS305 S'09, J. Li Reliability 13
g p Exception not caught and computer crashed Code reused from Ariane 4 Slower rocket, smaller values being manipulated
About half of routing switches crashedAbout half of routing switches crashed 70 million calls not put through 60,000 people lost all service AT&T lost revenue and credibility Cause: Single-line error in error-recovery procedure
CS305 S'09, J. Li Reliability 14
Single-line error in error-recovery procedure Most switches running same software Crashes propagated through the network
Climate Orbiter disintegrated in MartianClimate Orbiter disintegrated in Martian atmosphere Cause: Lockheed Martin design used English units Jet Propulsion Lab design used metric units Polar Lander crashed into Martian surface
CS305 S'09, J. Li Reliability 15
Polar Lander crashed into Martian surface Cause: False signal from landing gear, causing engines shut off too soon
The one-of-a-kind state-of-the-art automatedThe one-of-a-kind, state-of-the-art automated baggage handling system failed to work 16-month delay in opening the airport Cost Denver $1 million a day Problems: Airport designed before automated system chosen
CS305 S'09, J. Li Reliability 16
Airport designed before automated system chosen System complexity exceeded developer’s ability Timeline too short Fix: Added conventional baggage system
June 1985June 1985 – CCase #1 (ase #1 (Marietta, Georgia)Marietta, Georgia) July 1985 – Case #2 (Hamilton, Ontario) July-Sept. 1985 – First AECL investigation “Can’t reproduce the overdose” Dec. 1985 – Case #3 (Yakima, Washington) Mar. 1996 – Case #4 (Tyler, Texas) Mar 1996 Second AECL investigation
CS305 S'09, J. Li Reliability 19
Mar. 1996 – Second AECL investigation Still can’t reproduce the overdose Apr. 1986 – Case #5 (Tyler, Texas) Jan. 1987 – Case #6 (Yakima, Washington) Feb. 1987 – FDA declares Therac-25 defective
ReRe used software from older systems,-used software from older systems, unaware of bugs in previous software The software was not independently reviewed or tested – in fact, the software was mostly developed and tested by one single person System not designed to be fail-safe No devices to report overdoses
CS305 S'09, J. Li Reliability 20
No devices to report overdoses No way for patient to communicate with operator during procedure Weaknesses in design of operator interface
Allowed beam to deploy when table not inAllowed beam to deploy when table not in proper position Ignored changes and corrections operators made at console Race conditions
CS305 S'09, J. Li Reliability 21
Software developers?Software developers? Software vendors? System administrators?
If you were a judge who had to assign ibili i Th 2 h h
CS305 S'09, J. Li Reliability 22
responsibility in Therac-25 case, how much responsibility would you assign to the programmer, the manufacturer, and the hospital or clinic using the machine?
Computer sComputer simulations replace physicalimulations replace physical experiments in many fields: Experiment too expensive/time-consuming Experiment unethical Experiment impossible Can model past, current, and predict the future H d li bilit i l d
CS305 S'09, J. Li Reliability 25
However, accuracy and reliability is only as good as the weakest link: Does the model accurately represent the real system? Does program correctly implement the model?
Software Engineering Principles
The Waterfall ModelThe Waterfall Model ::
_1. Requirements
CS305 S'09, J. Li Reliability 26
Key Idea: Have a fixed comprehensive requirement specification and stick with it to the end.
Standish Group tracks IT projectsStandish Group tracks IT projects Situation in 1994 1/3 projects cancelled before completion 1/2 projects had time and/or cost overruns 1/6 projects completed on time / on budget Situation in 2002
CS305 S'09, J. Li Reliability 27
1/6 projects cancelled 1/2 projects had time and/or cost overruns 1/3 projects completed on time / on budget
Many areMany are “shrink-wrapped” – can’t read beforeshrink wrapped can t read before purchasing. Many say you accept software “as is”. None accept liability for harm caused by use of software.
Question:
CS305 S'09, J. Li Reliability 28
Question: Can software manufacturers choose any warranty terms they want on their products? Answer: Very much so.
A proposed law to create a uniform set of rules toA proposed law to create a uniform set of rules to govern transactions in computer information (e.g. software licensing and online access). Under UCITA, software manufacturers can License software Prevent software transfer
CS305 S'09, J. Li Reliability 31
Prevent software transfer Disclaim liability Remote disable licensed software Collect information about how software is used
Arguments in FavorArguments in Favor:: Article 2 of the UCC not appropriate for software Recognizes there is no such thing as perfect software Arguments Against: Customers should be allowed to purchas e software Weakens consumer protections
CS305 S'09, J. Li Reliability 32
Codifies practice of hiding warranty
UCITA is unlikely to pass without amendments.
Have you been the victim of a software error? WhomHave you been the victim of a software error? Whom did you blame? Now that you know more about the reliability of computer systems, do you still feel the same way?
You are in charge of developing a software system that controls the traffic lights. Its main purpose is to dj t th ti i f th li ht t i t ffi fl t
CS305 S'09, J. Li Reliability 33
adjust the timing of the lights to improve traffic flow at rush hours. List some technical requirements that you would put in the design for safety.
Should sShould software manufacturers be responsible foroftware manufacturers be responsible for harmful consequences of defects of their products?
Software companies sometimes release bug-fixes on their product to their customers free of charge. However, they often stop doing it when a new version of the product is released Do you think this practice is
CS305 S'09, J. Li Reliability 34
of the product is released. Do you think this practice is fair? Or should companies keep fixing bugs in older versions?