Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461574 - dev-libs/boost-1.52.0 thread_group::join_all() should catch resource_deadlock_would_occur
Summary: dev-libs/boost-1.52.0 thread_group::join_all() should catch resource_deadlock...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
Depends on:
Blocks: CVE-2013-0252 461578
  Show dependency tree
Reported: 2013-03-12 19:30 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2016-01-20 06:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-12 19:30:45 UTC
From upstream bug report:

If a thread in thread_group is this_thread, join_all() throws resource_deadlock_would_occur. This violates the function post-condition: "Every thread in the group has terminated." Because of the above, and because it's impossible to enumerate the threads is a thread_group, it should catch resource_deadlock_would_occur and proceed with the joining loop. (The exception can be re-thrown when the loop ends.)

This is a regression from 1.51.0
Patch from upstream does not apply cleanly to 1.52.0.
Comment 1 Sergey Popov gentoo-dev 2016-01-20 06:46:23 UTC
Merged long time ago. Closing as OBSOLETE