Skip to navigation
Latest News

Scientists target software crashes

By Stewart Mitchell

Posted on 6 Dec 2008 at 09:33

Researchers at the University of Michigan believe they have solved the problems of software deadlocks - the Catch-22s of the computer world.

Deadlocks are common bugs that freeze machines when different parts of a program grind to a halt in an endless cycle of waiting for one another as they access shared data.

To eliminate the problem the US researchers have developed a new controller called Gadara, which they claim can anticipate and prevent situations that might cause deadlock.

The Gadara plug-in uses feedback techniques similar to those found in cruise control in cars and thermostats in heating systems.

"This is a totally different approach to what people have done before for deadlock," says Stéphane Lafortune, a professor in the Department of Electrical Engineering and Computer Science and a Gadara developer.

"Previously, engineers would try to identify potential deadlocks through testing or program analysis and then go back and rewrite the program. The bug fixes were manual, and not automatic. Gadara automates the process."

Deadlock is becoming a more pressing concern as multicore chips grow in complexity and software performs an increasing number of tasks simultaneously. The bug often shows up in parallel programs that use shared data, but Gadara analyses a program to find potential deadlocks, and then inserts control logic to ensure the program cannot deadlock.

As well as solving problems during initial programming, the researchers say the new tool could also help companies tweak legacy software without having to call in the original software creator.

"Every time you find a problem today you need the original programmer to solve it," says Yin Wang, a doctoral student on the project. "The goal of Gadara is to allow anyone with our tool to solve the problem."

Subscribe to PC Pro magazine. We'll give you 3 issues for £1 plus a free gift - click here

From around the web

Be the first to comment this article

You need to Login or Register to comment.

(optional)

advertisement

Most Commented News Stories
More From PC Pro
Latest Blog Posts Subscribe to our RSS Feeds
Latest ReviewsSubscribe to our RSS Feeds
Latest Real World Computing

advertisement

Sponsored Links
 
SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010
 
 

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.