You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded to Xcode 13 from 12.5 and I was practising some code and was running fine. All of a sudden I started getting compilation error namely
Abort trap: 6
I have no idea what it is, but it was mentioned that the compiler crashed hence I need to report this. I'm providing the stack trace and the code which I was working on below for your reference.
Attachment: Download
Additional Detail from JIRA
md5: 5305a9023db3d22689a0cfcfb4050781
Issue Description:
I upgraded to Xcode 13 from 12.5 and I was practising some code and was running fine. All of a sudden I started getting compilation error namely
Abort trap: 6
I have no idea what it is, but it was mentioned that the compiler crashed hence I need to report this. I'm providing the stack trace and the code which I was working on below for your reference.
Stack dump:
Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c "/Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/View Controllers/ViewController.swift" /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/Deque_LinkedList.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/RingBuffer.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/QueueStack.swift "/Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/View Controllers/AppDelegate.swift" /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/LinkedList/LinkedList.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/QueueRingBuffer.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/LinkedList/LinkedListViewController.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/LinkedList/LinkedListNode.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/QueueViewController.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/DoublyLinkedList.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/Stack.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Tree/TreeNode.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/Queue_LinkedList.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/LinkedList/Helpers.swift "/Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/View Controllers/SceneDelegate.swift" /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/BoardGame.swift -primary-file /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Tree/TreeViewController.swift /Users/amankumar/Documents/My_Docs/Practise/Practice/Practice/Queue/Queue_Array.swift -emit-module-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController
partial.swiftmodule -emit-module-doc-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewControllerpartial.swiftdoc -emit-module-source-info-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController~partial.swiftsourceinfo -emit-dependencies-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController.d -emit-reference-dependencies-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController.swiftdeps -serialize-diagnostics-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController.dia -target x86_64-apple-ios14.5-simulator -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -I /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Products/Debug-iphonesimulator -F /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/amankumar/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -new-driver-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -Xcc -working-directory -Xcc /Users/amankumar/Documents/My_Docs/Practise/Practice -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Practice-generated-files.hmap -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Practice-own-target-headers.hmap -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Practice-all-target-headers.hmap -Xcc -iquote -Xcc /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Practice-project-headers.hmap -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/DerivedSources-normal/x86_64 -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/DerivedSources/x86_64 -Xcc -I/Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/DerivedSources -Xcc -DDEBUG=1 -module-name Practice -target-sdk-version 15.0.0 -o /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Build/Intermediates.noindex/Practice.build/Debug-iphonesimulator/Practice.build/Objects-normal/x86_64/TreeViewController.o -index-store-path /Users/amankumar/Library/Developer/Xcode/DerivedData/Practice-elhsgjgoeutdqycwhwmxzbogkkfy/Index/DataStore -index-system-modulesApple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Running pass 'Module Verifier' on function '@"$s8Practice18TreeViewControllerC17displayLevelOrderyyAA0B4NodeCyxGlF"'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var
LLVM_SYMBOLIZER_PATH
to point to it):0 swift-frontend 0x00000001083916f7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1 swift-frontend 0x0000000108390688 llvm::sys::RunSignalHandlers() + 248
2 swift-frontend 0x0000000108391d06 SignalHandler(int) + 278
3 libsystem_platform.dylib 0x00007fff2040dd7d _sigtramp + 29
4 libsystem_platform.dylib 0x00007ffeec81dbe0 _sigtramp + 18446744072841395840
5 libsystem_c.dylib 0x00007fff2031d406 abort + 125
6 swift-frontend 0x00000001034bef02 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_2::__invoke(void*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool) + 978
7 swift-frontend 0x00000001082db16e llvm::report_fatal_error(llvm::Twine const&, bool) + 286
8 swift-frontend 0x00000001082db04b llvm::report_fatal_error(char const*, bool) + 43
9 swift-frontend 0x0000000108271c2f (anonymous namespace)::VerifierLegacyPass::runOnFunction(llvm::Function&) + 111
10 swift-frontend 0x000000010820be3a llvm::FPPassManager::runOnFunction(llvm::Function&) + 1354
11 swift-frontend 0x000000010820b121 llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 113
12 swift-frontend 0x0000000108212645 llvm::legacy::FunctionPassManager::run(llvm::Function&) + 341
13 swift-frontend 0x00000001039a2991 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*) + 1585
14 swift-frontend 0x00000001039a37e7 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, swift::UnifiedStatsReporter*) + 2039
15 swift-frontend 0x00000001034ca699 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 3529
16 swift-frontend 0x00000001034bbd46 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 13494
17 swift-frontend 0x00000001033fda48 main + 1032
18 libdyld.dylib 0x00007fff203e3f3d start + 1
error: Abort trap: 6 (in target 'Practice' from project 'Practice')
The text was updated successfully, but these errors were encountered: