We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 7f124c9768a82511734839177538e2a2
Issue Description:
crash.swift
import Foundation Process().launch()
$ swift crash.swift 2021-11-12 15:45:54.891 swift-frontend[7871:3990977] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'need a dictionary' *** First throw call stack: ( 0 CoreFoundation 0x0000000190c6812c __exceptionPreprocess + 240 1 libobjc.A.dylib 0x00000001909b9808 objc_exception_throw + 60 2 Foundation 0x0000000191b42810 -[NSConcreteTask launchWithDictionary:error:] + 4500 3 ??? 0x000000010c004038 0x0 + 4496310328 4 swift-frontend 0x0000000102bc959c _ZN4llvm3orc9runAsMainEPFiiPPcENS_8ArrayRefINSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEEENS_8OptionalINS_9StringRefEEE + 1120 5 swift-frontend 0x0000000102b43a80 _ZN5swift14RunImmediatelyERNS_16CompilerInstanceERKNSt3__16vectorINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS7_IS9_EEEERKNS_12IRGenOptionsERKNS_10SILOptionsEONS2_10unique_ptrINS_9SILModuleENS2_14default_deleteISL_EEEE + 9808 6 swift-frontend 0x0000000102b0a6a4 _ZL29performCompileStepsPostSILGenRN5swift16CompilerInstanceENSt3__110unique_ptrINS_9SILModuleENS2_14default_deleteIS4_EEEEN4llvm12PointerUnionIJPNS_10ModuleDeclEPNS_10SourceFileEEEERKNS_20PrimarySpecificPathsERiPNS_16FrontendObserverE + 2340 7 swift-frontend 0x0000000102afdb8c _ZN5swift15performFrontendEN4llvm8ArrayRefIPKcEES3_PvPNS_16FrontendObserverE + 7052 8 swift-frontend 0x0000000102a582d4 main + 932 9 dyld 0x00000001090990f4 start + 520 ) libc++abi: terminating with uncaught exception of type NSException Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace. Stack dump: 0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -interpret crash.swift -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -color-diagnostics -new-driver-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -module-name crash -target-sdk-version 12.0.0 1. Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) 2. 3. While running user code "crash.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 0x0000000106d74534 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000106d7363c llvm::sys::RunSignalHandlers() + 128 2 swift-frontend 0x0000000106d74b74 SignalHandler(int) + 292 3 libsystem_platform.dylib 0x0000000190b344e4 _sigtramp + 56 4 libsystem_pthread.dylib 0x0000000190b1d15c pthread_kill + 288 5 libsystem_c.dylib 0x0000000190a5a314 abort + 164 6 libc++abi.dylib 0x0000000190ad9b50 __cxxabiv1::__aligned_malloc_with_fallback(unsigned long) + 0 7 libc++abi.dylib 0x0000000190acaf64 demangling_unexpected_handler() + 0 8 libobjc.A.dylib 0x00000001909c21a0 _objc_terminate() + 144 9 libc++abi.dylib 0x0000000190ad8ee4 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x0000000190adbc5c __cxa_get_exception_ptr + 0 11 libc++abi.dylib 0x0000000190adbc08 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0 12 libobjc.A.dylib 0x00000001909b992c objc_exception_throw + 352 13 Foundation 0x0000000191b42810 -[NSConcreteTask launchWithDictionary:error:] + 4500 14 Foundation 0x000000010c004038 -[NSConcreteTask launchWithDictionary:error:] + 18446744071466396092 15 swift-frontend 0x0000000102bc959c llvm::orc::runAsMain(int (*)(int, char**), llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, llvm::Optional<llvm::StringRef>) + 1120 16 swift-frontend 0x0000000102b43a80 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 const&, swift::SILOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >&&) + 9808 17 swift-frontend 0x0000000102b0a6a4 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 2340 18 swift-frontend 0x0000000102afdb8c swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7052 19 swift-frontend 0x0000000102a582d4 main + 932 20 dyld 0x00000001090990f4 start + 520 [1] 7871 abort swift crash.swift
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Detail from JIRA
md5: 7f124c9768a82511734839177538e2a2
Issue Description:
crash.swift
The text was updated successfully, but these errors were encountered: