Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command failed due to signal: Abort trap: 6 charts #271

Closed
eldafito opened this issue Aug 4, 2015 · 7 comments
Closed

command failed due to signal: Abort trap: 6 charts #271

eldafito opened this issue Aug 4, 2015 · 7 comments

Comments

@eldafito
Copy link

eldafito commented Aug 4, 2015

Hi Daniel,

I'm using 'swift-2.0' branch with cocoapods, that's OK for building in iphone and simulators.
Today, when I tried to archive my project in Xcode 7, I've got this error:
command failed due to signal: Abort trap: 6 charts

Assertion failed: (!AA->mayWriteToMemory(SI, V) && "Found overlapping stores"), function verify, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.47.4/src/swift/lib/SILPasses/LoadStoreOpts.cpp, line 1576.
0 swift 0x0000000102745b8b llvm::sys::PrintStackTrace(_sFILE) + 43
1 swift 0x00000001027462cb SignalHandler(int) + 379
2 libsystem_platform.dylib 0x00007fff8ad2ff1a sigtramp + 26
3 libsystem_platform.dylib 0x00007fff5f4d87a0 sigtramp + 3564800160
4 libsystem_c.dylib 0x00007fff923acb53 abort + 129
5 libsystem_c.dylib 0x00007fff92374c39 basename + 0
6 swift 0x0000000100a88950 (anonymous namespace)::LSBBForwarder::optimize((anonymous namespace)::LSContext&, llvm::DenseMap<swift::SILValue, (anonymous namespace)::LSStore, llvm::DenseMapInfoswift::SILValue, llvm::detail::DenseMapPair<swift::SILValue, (anonymous namespace)::LSStore> >&) + 13056
7 swift 0x0000000100a853f1 (anonymous namespace)::LSContext::runIteration() + 11441
8 swift 0x0000000100a8245a (anonymous namespace)::GlobalLoadStoreOpts::run() + 1930
9 swift 0x0000000100a220ae swift::SILPassManager::runFunctionPasses(llvm::ArrayRefswift::SILFunctionTransform_) + 1598
10 swift 0x0000000100a22d28 swift::SILPassManager::runOneIteration() + 984
11 swift 0x0000000100a1fc90 swift::runSILOptimizationPasses(swift::SILModule&) + 432
12 swift 0x000000010072be08 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&) + 9992
13 swift 0x00000001007294e3 frontend_main(llvm::ArrayRef<char const*>, char const
, void
) + 2627
14 swift 0x00000001007255af main + 2015
15 libdyld.dylib 0x00007fff9266a5c9 start + 1

how do I fix?

Thanks

Davide

@danielgindi
Copy link
Collaborator

It's not a problem in the framework, but in the compiler... Please post on
Apple's forum, as you want this bug fixed before the final versionof
Xcode...

‏בתאריך יום שלישי, 4 באוגוסט 2015, eldafito notifications@github.com כתב:

Hi Daniel,

I'm using 'swift-2.0' branch with cocoapods, that's OK for building in
iphone and simulators.
Today, when I tried to archive my project in Xcode 7, I've got this error:
command failed due to signal: Abort trap: 6 charts

Assertion failed: (!AA->mayWriteToMemory(SI, V) && "Found overlapping
stores"), function verify, file
/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.47.4/src/swift/lib/SILPasses/LoadStoreOpts.cpp,
line 1576.
0 swift 0x0000000102745b8b llvm::sys::PrintStackTrace(__sFILE

_) + 43 1 swift 0x00000001027462cb SignalHandler(int) + 379 2
libsystem_platform.dylib 0x00007fff8ad2ff1a _sigtramp + 26 3
libsystem_platform.dylib 0x00007fff5f4d87a0 _sigtramp + 3564800160 4
libsystem_c.dylib 0x00007fff923acb53 abort + 129 5 libsystem_c.dylib
0x00007fff92374c39 basename + 0 6 swift 0x0000000100a88950 (anonymous
namespace)::LSBBForwarder::optimize((anonymous namespace)::LSContext&,
llvm::DenseMap, llvm::detail::DenseMapPair >&) + 13056 7 swift
0x0000000100a853f1 (anonymous namespace)::LSContext::runIteration() + 11441
8 swift 0x0000000100a8245a (anonymous
namespace)::GlobalLoadStoreOpts::run() + 1930 9 swift 0x0000000100a220ae
swift::SILPassManager::runFunctionPasses(llvm::ArrayRefswift::SILFunctionTransform_)

  • 1598
    10 swift 0x0000000100a22d28 swift::SILPassManager::runOneIteration() + 984
    11 swift 0x0000000100a1fc90
    swift::runSILOptimizationPasses(swift::SILModule&) + 432
    12 swift 0x000000010072be08 performCompile(swift::CompilerInstance&,
    swift::CompilerInvocation&, llvm::ArrayRef, int&) + 9992
    13 swift 0x00000001007294e3 frontend_main(llvm::ArrayRef, char const_,
    void_) + 2627
    14 swift 0x00000001007255af main + 2015
    15 libdyld.dylib 0x00007fff9266a5c9 start + 1

how do I fix?

Thanks

Davide


Reply to this email directly or view it on GitHub
#271.

@eldafito
Copy link
Author

eldafito commented Aug 4, 2015

solved in a new pull request

@DJBen
Copy link

DJBen commented Aug 14, 2015

Which commit solved it? I wrote some repo on my own and encountered the same problem. Thank you for your help!

@danielgindi
Copy link
Collaborator

Xcode 7 beta 5 solved it.

@DJBen
Copy link

DJBen commented Aug 14, 2015

@danielgindi It certainly has solved for this repo but it is happening right now with my repo using Xcode 7 beta 5. Looks like Apple didn't solve for every case. :(

@DJBen
Copy link

DJBen commented Aug 14, 2015

Well, I circumvented this bug by changing some AnyObject to Any. Weird.

@danielgindi
Copy link
Collaborator

Maybe you would want to revase your repo on the main repo, get the latest
version plus your changes

‏בתאריך יום שישי, 14 באוגוסט 2015, Sihao Lu notifications@github.com כתב:

Well, I prevented this bug by changing some AnyObject to Any. Weird.


Reply to this email directly or view it on GitHub
#271 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants