Re: [Boost-bugs] [Boost C++ Libraries] #7666: Boost Thread SIGSEGV on join() when -D_GLIBCXX_DEBUG is used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7666: Boost Thread SIGSEGV on join() when -D_GLIBCXX_DEBUG is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-20 06:25:06


#7666: Boost Thread SIGSEGV on join() when -D_GLIBCXX_DEBUG is used
-------------------------------------+-------------------------------------
  Reporter: Antonio Di Monaco | Owner: viboes
  <tony@…> | Status: assigned
      Type: Bugs | Component: thread
 Milestone: Boost 1.55.0 | Severity: Problem
   Version: Boost 1.52.0 | Keywords: thread SIGSEGV C++11
Resolution: | -D_GLIBCXX_DEBUG
-------------------------------------+-------------------------------------

Comment (by viboes):

 Replying to [comment:26 Antonio Di Monaco <tony@…>]:
> Sorry, my email is not visible here.
>
> Anyway, I'm not using _GLIBCXX_DEBUG when compiling boost. These are my
 instructions:
>
>
> {{{
> bootstrap gcc
>
> b2 --prefix=my_mingw_root_dir --layout=tagged --without-python
 --without-mpi --without-context boost.locale.icu=off boost.locale.iconv=on
 toolset=gcc variant=release link=shared threading=multi runtime-
 link=shared cxxflags="-std=c++11 -std=gnu++11" install
> }}}
>
> Of course, now I'm using debug variant, and I don't have any other boost
 version installed in my PC, so this is the only one that I can link with.
>
> I've created a preprocessed output of my test, you can download it here:
> [http://www.becrux.com/test.cpp.zip]
>
> About thread_data_size, I put a breakpoint at constructor, and "p
 sizeof(*this)" returns 76.
>
> What do you mean about "Boost.Thread test"?

 I pretended you to go to libs/thread/test and do bjam, but I see that you
 have access.
 Anyway, my suspicion is that the size is different. Could you compile your
 application again without _GLIBCXX_DEBUG and see the sizeof
 boost::detail::thread_data_base.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7666#comment:28>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC