Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Software Development Tools

Software Development Tools Tools to help encrypt, install or anything else for Software Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-2008, 02:49 AM
victor louis victor louis is offline
Newbie
 
Join Date: Mar 2008
Posts: 1
Rep Power: 0
victor louis is on a distinguished road
Default Need source code analysis tool-race condition in multithreaded application

Hi ,
I developed a multi threaded application for web office automation using Java.
I got a bug in transferring multiple files and it seems to be a race condition. . Can anyone help me to solve this bug?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-27-2008, 08:19 AM
steve martin steve martin is offline
Newbie
 
Join Date: Mar 2008
Posts: 1
Rep Power: 0
steve martin is on a distinguished road
Default Coverity Prevent- static source code analysis tool for debugging

Hi
In you situation ,a race condition has occurred due to a lack of synchronization or the improper use of synchronization when accessing shared resources such as variables. Data races occur when the developer fails to specify which thread has access to a variable at a given time. In such a case, whichever thread wins the race gets access to the data, with unpredictable results.
Because threads can be preempted at any time, you can't safely assume that a thread executing at start-up will have accessed the data it needs before other threads begin to run. As well, the order in which threads are executed may differ from one VM to the next, making it impossible to determine a standard succession of events.
Sometimes, data races may be insignificant in the outcome of the program, but more often than not they can lead to unexpected results that are hard to debug. In short, data races are concurrency problems waiting to rear their ugly heads. A good static source code analysis tool like Coverity Prevent will identify any data race it encounters while executing your program , and flag it for you to fix. Coverity has customers like Symbian, RIM (Blackberry), Juniper networks, Cisco, Texas instruments and is also used by the Department of Homeland security to scan lots of open source projects. You can get more info at Static Analysis, Software Quality for C,C++ Java - Coverity Inc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
bugs fixing, debugging, multi threaded, race condition, source code analysis



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB 6.0: Tutorial, How to make a GIF in your application TcM VB Tutorials 17 07-01-2008 03:26 PM
Making it Standalone from Source Code (Python) annannienann Python 8 10-02-2007 11:45 PM
Please Help With A C Program!! siren C and C++ 7 04-17-2007 08:45 AM
Valve: Half-Life 2 Source Code falco85 General Programming 3 10-28-2006 05:03 PM


All times are GMT -5. The time now is 02:06 PM.

Contest Stats

John ........ 167.00000
Xav ........ 164.00000
dargueta ........ 148.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads