[cfe-dev] Boost 1.48 beta release and Clang TOT crash

Eric Christopher echristo at apple.com
Thu Oct 27 14:32:48 PDT 2011


On Oct 27, 2011, at 2:23 PM, Marshall Clow wrote:

> When I try to run the unit tests for Boost.Math from the Boost 1.48 beta release (from here: http://boost.cowic.de/rc/ ), I get lots of crashes.
> 
> [ I will try to cut this down in the morning, but I thought that people might want to see this before then ]
> The clang that shipped with Xcode 4.2 does not crash.
> 
> unpack, cd into the directory and:
> 	./bootstrap.sh
> 	cd libs/math/test
> 	../../../b2 --toolset=clang
> 
> Here's one such crash:
> 
>> clang-darwin.compile.c++ ../../../bin.v2/libs/math/test/hypot_test.test/clang-darwin-4.2.1/debug/hypot_test.o
>> 0  clang             0x00000001038b7eb2 _ZL15PrintStackTracePv + 34
>> 1  clang             0x00000001038b84a9 _ZL13SignalHandleri + 777
>> 2  libsystem_c.dylib 0x00007fff815e1cfa _sigtramp + 26
>> 3  clang             0x0000000103827d62 llvm::DenseMap<llvm::Value*, llvm::ValueHandleBase*, llvm::DenseMapInfo<llvm::Value*>, llvm::DenseMapInfo<llvm::ValueHandleBase*> >::FindAndConstruct(llvm::Value* const&) + 162
>> 4  clang             0x000000010380bdea llvm::StringMapEntry<llvm::MDString*>& llvm::StringMap<llvm::MDString*, llvm::MallocAllocator>::GetOrCreateValue<llvm::MDString*>(llvm::StringRef, llvm::MDString*) + 42
>> 5  clang             0x000000010380926f llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef) + 31
>> 6  clang             0x00000001036cd7ad llvm::DIBuilder::createPointerType(llvm::DIType, unsigned long long, unsigned long long, llvm::StringRef) + 93
> 

Great. :(

Can you put in a bug with a preprocessed source file?

Thanks!

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111027/39626b92/attachment.html>


More information about the cfe-dev mailing list