Opened 9 years ago

Last modified 8 years ago

#9118 reopened Bugs

Seg fault on thread join — at Initial Version

Reported by: tconant@… Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

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

Change History (1)

by gosuperninja@…, 9 years ago

Attachment: main.cpp added
Note: See TracTickets for help on using tickets.