Researchers develop "defibrillator" for stalled software
MIT researchers have made a breakthrough in terms of kick-starting stalled software.


It's a common scenario: a co-worker starts screaming obscenities at a computer because it stalled in the middle of something important.
Researchers at MIT believe they have found a way to fix stalled software without losing work, which they're calling a defibrillator for hung applications.
One major cause of stalled software is infinite loops - when applications execute a single bit of code over and over again. To get out of that frustrating cycle, researchers have created a tool called Jolt that interrupts those infinite loops, pushing the software onto the next line of code.
Jolt looks out for infinite loops by monitoring memory use, taking a series of "snapshots" after each loop.
"The snapshots could be completely different," explains researcher Michael Carbin. "That can be an indicator that your program is computing. It may be doing something useful for you, so maybe you don't want to break out of this. But if it's not, and it has exactly the same state, then clearly it's stuck in an infinite loop."
Using Jolt, the researchers have restored five different programs, leaving them stable enough to save work and restart.
Compiler problems
Get the ITPro daily newsletter
Sign up today and you will receive a free copy of our Future Focus 2025 report - the leading guidance on AI, cybersecurity and other IT challenges as per 700+ senior executives
However, the days of crashing browsers and productivity suites aren't yet behind us, as there are a few problems with the system. First, it's quite demanding, and watching all the loops in a program will slow it down by up to eight per cent, Carbin said.
What's more, in order to force the software out of the loop, Jolt needs to be applied when the program is compiled - and the researchers admit that "getting commercial software developers to use Jolt when compiling their code could be a tall order".
To solve that problem, the researchers are working on a follow-up called Bolt for compiled software. So far, it works with basic applications, but in more advanced programs it's difficult to see where loops begin and end.
To beat that, the researchers are working on an algorithm to help Bolt "orient itself" and considering letting it start "hopping around to new instructions at random" until it finds a solution.
Freelance journalist Nicole Kobie first started writing for ITPro in 2007, with bylines in New Scientist, Wired, PC Pro and many more.
Nicole the author of a book about the history of technology, The Long History of the Future.
-
Global cybersecurity spending is set to rise 12% in 2025 – here are the industries ramping up investment
News Global cybersecurity spending is expected to surge this year, fueled by escalating state-sponsored threats and the rise of generative AI, according to new analysis from IDC.
By Ross Kelly Published
-
Google Cloud is leaning on all its strengths to support enterprise AI
Analysis Google Cloud made a big statement at its annual conference last week, staking its claim as the go-to provider for enterprise AI adoption.
By Rory Bathgate Published
-
Enterprises are doubling down on IT optimization strategies – and it’s delivering huge financial returns
News Organizations that have cracked IT cost optimization and innovation reap the rewards both financially and in terms of time to market.
By Emma Woollacott Published
-
Unlock the potential of LATAM’s booming crypto market
whitepaper Strategic pathways for crypto companies looking to expand into Latin America
By ITPro Published
-
The online cash revolution
whitepaper Why adding eCash to the checkout unlocks more growth
By ITPro Published
-
How payments support the growth of software platforms
whitepaper Discover how Paysafe can help drive the growth and success of your software platform
By ITPro Published
-
Appian wants to be the AI company for AI skeptics
Analysis The firm outlines its AI strategy at Appian World 2023 while using ChatGPT and Midjourney to create scripts and imagery for keynote presentations
By Rory Bathgate Published
-
What you need to know about the new features coming to Microsoft Teams Premium
News Teams Premium will see users granted a range of exclusive tools to improve workflow and collaboration
By Ross Kelly Published
-
Small businesses lament Sage's monthly subscription changes amid rising costs
News A number of small businesses have raised concerns that changes to software subscriptions could impose a heavy financial toll
By Ross Kelly Published
-
Why engineering teams love Slack
Whitepapers The adaptive collaboration hub for software engineering
By ITPro Published