Opened 7 years ago

Last modified 7 years ago

#12045 new Bugs

Bug in condition_algorithm_8a<ConditionMembers>::wait when using timed wait

Reported by: yochait@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

There's a bug in condition_algorithm_8a<ConditionMembers>::wait In the beginning of the method it's using data.get_sem_block_lock().wait();

This may cause the wait to wait forever, even if you're using the timed wait version of the method.

Happens to me when a "Client" process holds the lock and then dies, this causes the wait() to wait forever. What should have happened, is the it would time out, and then i could detect the failure, and do something about it.

Change History (2)

comment:1 by John Maddock, 7 years ago

Component: Nonethread
Owner: set to Anthony Williams

comment:2 by viboes, 7 years ago

Component: threadinterprocess
Owner: changed from Anthony Williams to Ion Gaztañaga
Note: See TracTickets for help on using tickets.