Skip to content

Instantly share code, notes, and snippets.

@harlanhaskins
Created December 10, 2015 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harlanhaskins/6b1b5176a2fcd8061fe6 to your computer and use it in GitHub Desktop.
Save harlanhaskins/6b1b5176a2fcd8061fe6 to your computer and use it in GitHub Desktop.
fatal error: Test!: file fatalErrorTest/main.swift, line 3
Current stack trace:
0 libswiftCore.dylib 0x000000011af5910a reportBacktrace() + 42
1 libswiftCore.dylib 0x000000011af58d8d reportOnCrash(char const*) + 45
2 libswiftCore.dylib 0x000000011af58ece swift_reportFatalErrorInFile + 190
3 libswiftCore.dylib 0x000000011ab76cf0 Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1).(closure #1).(closure #1) + 336
4 libswiftCore.dylib 0x000000011af0fc17 partial apply forwarder for Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1).(closure #1).(closure #1) + 103
5 libswiftCore.dylib 0x000000011ab761b7 reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned ()) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()) + 23
6 libswiftCore.dylib 0x000000011af0fcb9 partial apply forwarder for reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned ()) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()) with unmangled suffix ".991" + 89
7 libswiftCore.dylib 0x000000011ab75dc0 Swift.StaticString.withUTF8Buffer <A> ((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A + 608
8 libswiftCore.dylib 0x000000011ab76b87 Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1).(closure #1) + 327
9 libswiftCore.dylib 0x000000011af0fabb partial apply forwarder for Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1).(closure #1) + 123
10 libswiftCore.dylib 0x000000011ab76d2b reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned (), @error @owned Swift.ErrorType) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out (), @error @owned Swift.ErrorType) + 43
11 libswiftCore.dylib 0x000000011af0fb77 partial apply forwarder for reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned (), @error @owned Swift.ErrorType) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out (), @error @owned Swift.ErrorType) + 103
12 libswiftCore.dylib 0x000000011ab40441 Swift._ContiguousArrayBuffer.withUnsafeBufferPointer <A> ((Swift.UnsafeBufferPointer<A>) throws -> A1) throws -> A1 + 145
13 libswiftCore.dylib 0x000000011ab1ca11 Swift.ContiguousArray.withUnsafeBufferPointer <A> ((Swift.UnsafeBufferPointer<A>) throws -> A1) throws -> A1 + 129
14 libswiftCore.dylib 0x000000011ab7635c Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1) + 396
15 libswiftCore.dylib 0x000000011af0f95b partial apply forwarder for Swift.(_assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> ()).(closure #1) + 155
16 libswiftCore.dylib 0x000000011ab761b7 reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned ()) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()) + 23
17 libswiftCore.dylib 0x000000011af0fa09 partial apply forwarder for reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@unowned ()) to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()) with unmangled suffix ".982" + 89
18 libswiftCore.dylib 0x000000011ab75dc0 Swift.StaticString.withUTF8Buffer <A> ((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A + 608
19 libswiftCore.dylib 0x000000011ab74aaa Swift._assertionFailed (Swift.StaticString, Swift.String, Swift.StaticString, Swift.UInt) -> () + 378
20 ??? 0x000000011aa2b0fe 0x0 + 446869758
21 ??? 0x000000011aa2b086 0x0 + 446869638
22 ??? 0x000000011aa2b086 0x0 + 446869638
23 ??? 0x000000011aa2b086 0x0 + 446869638
24 ??? 0x000000011aa2b086 0x0 + 446869638
25 ??? 0x000000011aa2b086 0x0 + 446869638
26 ??? 0x000000011aa2b044 0x0 + 446869572
27 swift 0x000000010e694bf9 llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) + 1353
28 swift 0x000000010e6a1d08 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const*) + 3544
29 swift 0x000000010e26c437 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 6135
30 swift 0x000000010d90c9ff performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&) + 18447
31 swift 0x000000010d90791c frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 12812
32 swift 0x000000010d8eeecd main + 4285
33 libdyld.dylib 0x00007fff886135ad start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment