News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 
Download Current Issue
ISSUE 7/1/2009 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
A knockout blow for Borland?
MicroFocus has upped its offer for Borland Software to $1.50, hoping to chase off a mystery suitor also pursuing the ALM vendor.
07/06/2009 12:26 PM EST

Is the mystery Borland suitor Serena?
Borland software is considering an offer from another company after a preliminary deal with MicroFocus. Is Serena the new company?
06/30/2009 01:55 PM EST

Windows 7 - An eBayer's dream product?
Windows 7 pre-orders can make people money on eBay.
06/29/2009 03:48 PM EST

 

Microsoft Worldwide Partner Conf.
7/13/2009 to 7/16/2009
New Orleans
Microsoft

OSCON (Open Source Convention)
7/20/2009 to 7/24/2009
San Jose
O'Reilly Media

XBRL Technology Workshop & Summit
7/28/2009 to 7/30/2009
Santa Clara
XBRL US

ACM SIGGRAPH
8/3/2009 to 8/7/2009
New Orleans
ACM SIGGRAPH

OpenSource World (formerly LinuxWorld)
8/12/2009 to 8/13/2009
San Francisco
IDG World Expo


 
Most Read Latest News Blog Resources

Coverity Uncovers Concurrency Errors




February 1, 2006 — 
San Francisco-based Coverity has updated its source code analyzer, enabling it to detect errors associated with concurrent programming.

Prevent 3.2, which the San Francisco-based company announced late last year, finds errors such as double locks, missing locks and incorrect lock ordering in C/C++ source code, said Coverity product manager Andy Yang. “They are not everyday types of bugs. But when they happen, they are hard to track down.”

Locks and unlocks are used to manage shared functions, variables and resources in applications that execute multiple threads concurrently. Applying locks and unlocks effectively in complex applications is difficult and requires a high degree of developer skill, said Yang. Errors are typically the result of incorrect use, he said. Prevent addresses such errors by tracking, for example, how a piece of memory is locked by function. It can follow complex paths through the code to find errors such as a missing unlock, or a lock that has been applied twice, or in the wrong order, said Yang. The tool identifies and provides information about errors, and recommends fixes.

Also new to 3.2 is integration with the Eclipse framework, IBM Rational Software Development Platform and Wind River Workbench IDE, as well as more detailed reports, which can compare, for example, defect rates across multiple builds and releases, said Yang.

A key reason why concurrent programming errors are hard to detect is that they are difficult to reproduce in the testing process. They typically don’t manifest themselves until the application is deployed, said Yang. By scanning source code, Prevent can help detect such errors early in the development process. “But we are not saying we can find all concurrency problems. That is impossible,” he said.

Coverity competitor Fortify, in Palo Alto, Calif., also can pinpoint problems associated with concurrent programming, including double locks and race conditions, which can occur when threads of operation contend for the same resources, said Fortify CTO Roger Thornton. Source code analysis is not the only way to find concurrent errors. For instance, testing tools such as Compuware’s DevPartner Studio can detect how parts of an application are locking different resources, said Ken Cowan, a product line manager for the Detroit-based company.


Share this link: http://www.sdtimes.com/link/29121
 

Add comment


Name*
Email*  
Country     


  • Comment
  • Preview
Loading