Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9118: Seg fault on thread join
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-15 20:55:00
#9118: Seg fault on thread join
-------------------------------+----------------------
Reporter: tconant@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: threads
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Changes (by viboes):
* owner: anthonyw => viboes
* status: new => assigned
Old description:
> This issue appears to be specific to llvm libc++ standard library
>
> the program compiled with the following options will have a seg fault on
> thread join.
> clang -x c++ -arch x86_64 -std=gnu++11 -stdlib=libc++
> -I/opt/local/include -c main.cpp -o main.o
> clang++ -arch x86_64 -L/opt/local/lib main.o -stdlib=libc++
> -lboost_system-mt -lboost_thread-mt -o mutex_test
>
> the program compiled with
> clang -x c++ -arch x86_64 -I/opt/local/include -c main.cpp -o main.o
> clang++ -arch x86_64 -L/opt/local/lib main.o -lboost_system-mt
> -lboost_thread-mt -o mutex_test
>
> System Version : OS X Mountain Lion 10.8.4
> Compiler :
> $ clang --version
> Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
> Target: x86_64-apple-darwin12.4.0
> Thread model: posix
> Boost: built/installed with mac ports
New description:
This issue appears to be specific to llvm libc++ standard library
the program compiled with the following options will have a seg fault on
thread join.
{{{
clang -x c++ -arch x86_64 -std=gnu++11 -stdlib=libc++ -I/opt/local/include
-c main.cpp -o main.o
clang++ -arch x86_64 -L/opt/local/lib main.o -stdlib=libc++
-lboost_system-mt -lboost_thread-mt -o mutex_test
}}}
the program compiled with
{{{
clang -x c++ -arch x86_64 -I/opt/local/include -c main.cpp -o main.o
clang++ -arch x86_64 -L/opt/local/lib main.o -lboost_system-mt
-lboost_thread-mt -o mutex_test
}}}
{{{
System Version : OS X Mountain Lion 10.8.4
Compiler :
$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
Boost: built/installed with mac ports
}}}
-- -- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9118#comment:3> 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