$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [smart_ptr] quick allocator broken
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-12-10 15:05:23
Juergen Hunold wrote:
> Hi !
>
> I just got round to finally debug some mysterious failures on my
> project against current trunk. It seems that
> ------------------------------------------------------------------------
> r57953 | pdimov | 2009-11-26 21:55:05 +0100 (Thu, 26 Nov 2009) | 1
> line
>
> Add error checking to lwm_pthreads.hpp. Refs #2681.
> ------------------------------------------------------------------------
>
> broke BOOST_SP_USE_QUICK_ALLOCATOR support. All my programs (and
> tests) using smart_ptr fail with
>
> /rmc/hunold/packages/boost/boost/smart_ptr/detail/lwm_pthreads.hpp:73:
> boost::detail::lightweight_mutex::scoped_lock::scoped_lock(boost::detail::lightweight_mutex&):
> Assertion `pthread_mutex_lock( &m_ ) == 0' failed.
>
> on exit.
...
> I can provide gdb stacktrace when needed.
This would help, thanks in advance. Static destruction order seems most
likely, but the stack trace should confirm it.