Opened 5 years ago

Last modified 5 years ago

#57737 closed defect

llvm-3.9 built with clang-3.4 segfaults when used with clang-3.9, but llvm-3.9 built with clang-3.7 works correctly — at Version 1

Reported by: kencu (Ken) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clang-3.9

Description (last modified by kencu (Ken))

Noticed when building newer clang versions on Leopard:

Date/Time:       2018-11-29 16:54:34.484 -0800
OS Version:      Mac OS X Server 10.5.8 (9L34)
Report Version:  6
Anonymous UUID:  8AD195D0-D2E5-4A89-A13F-9829EBFB058B

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000001
Crashed Thread:  0

Thread 0 Crashed:
0   libLLVM.dylib                 	0x023066a5 llvm::SmallPtrSetImplBase::Grow(unsigned int) + 93
1   libLLVM.dylib                 	0x02306643 llvm::SmallPtrSetImplBase::insert_imp_big(void const*) + 139
2   clang                         	0x003dbe67 llvm::SmallPtrSetImplBase::insert_imp(void const*) + 131
3   clang                         	0x005a7740 llvm::SmallPtrSetImpl<clang::Decl*>::insert(clang::Decl*) + 32
4   clang                         	0x006b3b05 clang::Sema::PushOnScopeChains(clang::NamedDecl*, clang::Scope*, bool) + 459

rebuilding llvm-3.9 with clang-3.7 results in a functionally working system.

Change History (2)

comment:1 Changed 5 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.