Opened 11 years ago
Closed 10 years ago
#6130 closed Bugs (wontfix)
condition_variable::timed_wait wakes up too early
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
condition_variable::timed_wait sometimes returns with timeout too early, 1 second before specified time. Test program attached.
Reliably reproduces on the following system: System: openSUSE 11.4, Linux 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 i686 i686 i386 GNU/Linux
Attachments (2)
Change History (9)
by , 11 years ago
comment:1 by , 11 years ago
Cc: | added |
---|
by , 11 years ago
comment:2 by , 11 years ago
It seems that it is not a boost bug, the same C program (cvt1.c), which uses plain posix api (pthread_cond_timedwait) triggers the same assert. So, this seems to be a bug in OS, I will try to post it to openSUSE team.
I think, this bug can be closed.
comment:3 by , 11 years ago
I filled bugreport for openSUSE: https://bugzilla.novell.com/show_bug.cgi?id=734709
comment:4 by , 11 years ago
Cc: | removed |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Please, let us know what is the result of this bugreport.
comment:5 by , 10 years ago
Resolution: | wontfix → fixed |
---|
(In [78285]) Thread: try to fix ticket 6130 for linux systems
comment:6 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
The change in [78285] has been rolled back, as it was not a good solution. The library can not provide a fix to the OS bug.
Unfortunately I'm unable to reproduce it. Please could you attach a trace when the problem occurs?