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

Failed to load Sidecar illegal hardware introduction- MacBook Air 2017 running Mac OS Monterey #139

Open
Georgi-2009 opened this issue Jul 14, 2022 · 2 comments

Comments

@Georgi-2009
Copy link

This is what my Terminal gives me:
SidecarPatcher (Version 14)
GitHub : https://github.com/pookjw/SidecarPatcher
mount_apfs: volume could not be mounted: Permission denied
mount: / failed with 66
main/main.swift:225: Fatal error: Failed to load SidecarCore.
Stack dump:
0. Program arguments: /Library/Developer/CommandLineTools/usr/bin/swift-frontend -frontend -interpret SidecarPatcher/main.swift -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -color-diagnostics -target-sdk-version 12.3 -module-name main

  1. Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
  2. Compiling with the current language version
  3. While running user code "SidecarPatcher/main.swift"
    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 0x0000000114373ed7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
    1 swift-frontend 0x0000000114372f28 llvm::sys::RunSignalHandlers() + 248
    2 swift-frontend 0x0000000114374530 SignalHandler(int) + 288
    3 libsystem_platform.dylib 0x00007ff81948fdfd _sigtramp + 29
    4 libsystem_platform.dylib 0x00007ff7b0ef26c0 _sigtramp + 18446744071958833376
    5 libsystem_platform.dylib 0x0000000119c769c3 _sigtramp + 18446603374884187107
    6 libsystem_platform.dylib 0x0000000119c71abe _sigtramp + 18446603374884166878
    7 swift-frontend 0x000000010f186570 llvm::orc::runAsMain(int ()(int, char**), llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, llvm::Optionalllvm::StringRef) + 1792
    8 swift-frontend 0x000000010f0e2ddd swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, swift::IRGenOptions const&, swift::SILOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >&&) + 13613
    9 swift-frontend 0x000000010f0aa2d3 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*) + 2259
    10 swift-frontend 0x000000010f09d96d swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 21117
    11 swift-frontend 0x000000010f05b5d4 swift::mainEntry(int, char const**) + 1108
    12 dyld 0x000000011fab651e start + 462
    zsh: illegal hardware instruction sudo swift SidecarPatcher/main.swift
@shuruhusky
Copy link

I get the same issue u know how to fix it yet?

@yodsaran02
Copy link

yeah me too

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