id summary reporter owner description type status milestone component version severity resolution keywords cc 7349 packaged_task holds refence to temporary olli viboes "The ctor of packaged_task creates a rebound allocator on the stack (stack frame of ctor). the allocator instance is passed to allocator_destructor which hold a '''reference''' to the allocator. Unfortunately the allocator instance will be destroyed/invalid after return from ctor. Suggestion, because of the allocators a required to by copyable allocator_destructor should store the value of the allocator instance (using allocators copy-ctor)." Bugs closed Boost 1.52.0 thread Boost 1.51.0 Problem fixed allocator_destructor packaged_task temporary reference