Skip to content

Instantly share code, notes, and snippets.

@Daniel1of1
Created September 8, 2014 21:38
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 Daniel1of1/2d4cf6e81cf4060f1b9d to your computer and use it in GitHub Desktop.
Save Daniel1of1/2d4cf6e81cf4060f1b9d to your computer and use it in GitHub Desktop.
reading a utf8 char
0 swift 0x00000001043d9428 llvm::sys::PrintStackTrace(__sFILE*) + 40
1 swift 0x00000001043d9914 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff934245aa _sigtramp + 26
3 libsystem_platform.dylib 0x00007fff5c4b4da0 _sigtramp + 3372812304
4 libswiftCore.dylib 0x0000000108decdc8 _TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_ + 216
5 libswiftCore.dylib 0x00000001086ecc66 _TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_ + 4287627126
6 libswiftCore.dylib 0x00000001086ec999 _TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_ + 4287626409
7 libswiftCore.dylib 0x00000001086ec8f5 _TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_ + 4287626245
8 libswiftCore.dylib 0x0000000108e308df _TFVSs11GeneratorOf4nextU__fRGS_Q__FT_GSqQ__ + 31
9 libswiftCore.dylib 0x00000001086ec3b5 _TFVSs11GeneratorOf4nextU__fRGS_Q__FT_GSqQ__ + 4287347445
10 swift 0x0000000103a4e479 llvm::JIT::runFunction(llvm::Function*, std::__1::vector<llvm::GenericValue, std::__1::allocator<llvm::GenericValue> > const&) + 329
11 swift 0x0000000103cfa803 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*) + 1523
12 swift 0x00000001039390ea 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&) + 1066
13 swift 0x000000010374f94c frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 5132
14 swift 0x000000010374cdfd main + 1677
15 libdyld.dylib 0x00007fff8c5495fd start + 1
Stack dump:
0. Program arguments: /Applications/Xcode6-Beta7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret ./wat.swift -target x86_64-apple-darwin13.3.0 -target-cpu core2 -module-name wat -sdk /Applications/Xcode6-Beta7.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -color-diagnostics
[1] 10417 segmentation fault ./wat.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment