title: Swift Compiler Error: Command failed due to signal: Bus error: 10
body: <p>I'm getting "Swift Compiler Error: Command failed due to signal: Bus error: 10" and not able to execute any project. Getting this issue from today, earlier everything was working fine.</p>
  
  <p>This is a part of the error:</p>
  
  <pre><code>0  swift                    0x0000000110def4f7 PrintStackTraceSignalHandler(void*) + 39
  1  swift                    0x0000000110dee9a6 SignalHandler(int) + 646
  2  libsystem_platform.dylib 0x00007fffe21a7b3a _sigtramp + 26
  3  swift                    0x000000011171ae36 cmark_strbuf__initbuf + 49482
  4  swift                    0x0000000110dc2b77 (anonymous namespace)::RawMemoryObject::readBytes(unsigned char*, unsigned long long, unsigned long long) const + 55
  5  swift                    0x000000010e85378f llvm::SimpleBitstreamCursor::Read(unsigned int) + 143
  6  swift                    0x0000000110bab2da llvm::BitstreamCursor::readRecord(unsigned int, llvm::SmallVectorImpl&lt;unsigned long long&gt;&amp;, llvm::StringRef*) + 1754
  7  swift                    0x000000010e87518b swift::ModuleFile::ModuleFile(std::__1::unique_ptr&lt;llvm::MemoryBuffer, std::__1::default_delete&lt;llvm::MemoryBuffer&gt; &gt;, std::__1::unique_ptr&lt;llvm::MemoryBuffer, std::__1::default_delete&lt;llvm::MemoryBuffer&gt; &gt;, bool, swift::serialization::ValidationInfo&amp;, swift::serialization::ExtendedValidationInfo*) + 6475
  8  swift                    0x000000010e8d5847 swift::SerializedModuleLoader::loadAST(swift::ModuleDecl&amp;, llvm::Optional&lt;swift::SourceLoc&gt;, std::__1::unique_ptr&lt;llvm::MemoryBuffer, std::__1::default_delete&lt;llvm::MemoryBuffer&gt; &gt;, std::__1::unique_ptr&lt;llvm::MemoryBuffer, std::__1::default_delete&lt;llvm::MemoryBuffer&gt; &gt;, bool) + 359
  9  swift                    0x000000010e8d3eb5 swift::SerializedModuleLoader::loadModule(swift::SourceLoc, llvm::ArrayRef&lt;std::__1::pair&lt;swift::Identifier, swift::SourceLoc&gt; &gt;) + 517
  10 swift                    0x000000010ebb57f3 swift::ASTContext::getModule(llvm::ArrayRef&lt;std::__1::pair&lt;swift::Identifier, swift::SourceLoc&gt; &gt;) + 243
  11 swift                    0x000000010e7c92f2 swift::CompilerInstance::performSema() + 2530
  12 swift                    0x000000010dc06e3d swift::performFrontend(llvm::ArrayRef&lt;char const*&gt;, char const*, void*, swift::FrontendObserver*) + 15949
  13 swift                    0x000000010dbbcd6c main + 9052
  14 libdyld.dylib            0x00007fffe1f98235 start + 1
  15 libdyld.dylib            0x000000000000007e start + 503742026
  </code></pre>
  
  <p>Please help </p>
  
  <p>Thanks in Advance,</p>