First Last Prev Next    No search results available
Details
: Skipping profiles while parsing IORs -- race condition
Bug#: 1238
: TAO
: ORB
Status: NEW
Resolution:
: All
: All
: 1.2.3
: P3
: normal
: ---

:
:
:
: 319 1273
  Show dependency tree - Show dependency graph
People
Reporter: Nanbor Wang <bala@cs.wustl.edu>
Assigned To: DOC Center Support List (internal) <tao-support@dre.vanderbilt.edu>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions
Votes: 0


Description:   Opened: 2002-06-26 16:33
Review of the profile parsing code suggests that if two threads are parsing the
IOR, one of the threads could potentially skip a profile. Let us imagine this
scenario

- Two threads are parsing the profiles in the IOR. Both the threads get a
pointer to the first profile. Both the threads find that the first profile is
not usable. 

- Now the first thread increments the profile pointer and sets the next pointer
profile. 

- The second thread could do the same thing too (looking at the way the code is
structured). This would make the second thread skip a profile. Worst of all, if
that profile (the third one) is not usable it could return an exception.
------- Comment #1 From Nanbor Wang 2002-07-04 12:13:15 -------
Assigning it to me
------- Comment #2 From Nanbor Wang 2002-07-04 12:17:29 -------
Accepting the bug
------- Comment #3 From Nanbor Wang 2002-08-08 22:16:34 -------
Assigning it to Irfan
------- Comment #4 From Irfan Pyarali 2002-08-09 10:51:14 -------
Accepted
------- Comment #5 From Johnny Willemsen 2006-08-30 09:11:59 -------
to general pool

First Last Prev Next    No search results available