Re: [Boost-bugs] [Boost C++ Libraries] #7666: Boost Thread SIGSEGV

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7666: Boost Thread SIGSEGV
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-10 19:57:28


#7666: Boost Thread SIGSEGV
--------------------------------------------------+-------------------------
  Reporter: Antonio Di Monaco <tony@…> | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: thread SIGSEGV C++11
--------------------------------------------------+-------------------------

Comment (by Antonio Di Monaco <tony@…>):

 Maybe I've found it.

 You just need to build the test code with _GLIBCXX_DEBUG.

 This is now my gcc command lines (taken from CMake output):


 {{{
 /C/MinGW/bin/g++.exe -std=c++11 -std=gnu++11 -mno-ms-bitfields -Wall
 -Wextra -Wuninitialized -Wold-style-cast -Woverloaded-virtual -Wnoexcept
 -Wnon-virtual-dtor -Winit-self -Wmissing-include-dirs -Wunused-parameter
 -pedantic -D_GLIBCXX_DEBUG -g -O0 -fno-inline -gdwarf-2 -g3
 @CMakeFiles/threadtest.dir/includes_CXX.rsp -o
 CMakeFiles/threadtest.dir/thread.cpp.obj -c
 /c/Users/Tony/Documents/sitradesdk/test/utils/thread.cpp
 }}}

 {{{
 /C/MinGW/bin/g++.exe -std=c++11 -std=gnu++11 -mno-ms-bitfields -Wall
 -Wextra -Wuninitialized -Wold-style-cast -Woverloaded-virtual -Wnoexcept
 -Wnon-virtual-dtor -Winit-self -Wmissing-include-dirs -Wunused-parameter
 -pedantic -D_GLIBCXX_DEBUG -g -O0 -fno-inline -gdwarf-2 -g3 -Wl
 ,--whole-archive CMakeFiles/threadtest.dir/objects.a -Wl,--no-whole-
 archive -o threadtest.exe -Wl,--out-implib,libthreadtest.dll.a -Wl
 ,--major-image-version,0,--minor-image-version,0 /C/MinGW/lib
 /libboost_system-mt-d.dll /C/MinGW/lib/libboost_thread-mt-d.dll
 /C/MinGW/lib/libboost_chrono-mt-d.dll -lkernel32 -luser32 -lgdi32
 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7666#comment:2>
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:11 UTC