-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labelsThis issue needs more specific labels
Description
Description
No CI on those I guess.
Reproduction
- Create Multiplatform Audio Unit Extension App
- Just enter "demo" and "Demo" for subtype and mfgr codes. Avoid spaces in the app name or you'll get something that won't even build.
- Archive for device.
Stack dump
The unwind destination does not have an exception handling instruction!
invoke void @_ZN16BufferedAudioBus10initializeEP13AVAudioFormatj(ptr noundef %0, ptr noundef %4, i32 noundef %2) #40
to label %5 unwind label %6, !dbg !4574
LandingPadInst not the first non-PHI instruction in the block.
%7 = landingpad { ptr, i32 }
cleanup, !dbg !4576
The unwind destination does not have an exception handling instruction!
%9 = invoke ptr @"objc_msgSend$initWithPCMFormat:frameCapacity:"(ptr noundef %5, ptr noundef undef, ptr noundef %7, i32 noundef %8) #40
to label %10 unwind label %19, !dbg !5573
LandingPadInst not the first non-PHI instruction in the block.
%20 = landingpad { ptr, i32 }
cleanup, !dbg !5585
The unwind destination does not have an exception handling instruction!
%10 = invoke ptr @objc_alloc(ptr %9)
to label %11 unwind label %17, !dbg !6752
The unwind destination does not have an exception handling instruction!
%12 = invoke ptr @"objc_msgSend$initWithFormat:error:"(ptr noundef %10, ptr noundef undef, ptr noundef %7, ptr noundef null) #40
to label %13 unwind label %17, !dbg !6753
The unwind destination does not have an exception handling instruction!
invoke void @"objc_msgSend$setMaximumChannelCount:"(ptr noundef %15, ptr noundef undef, i32 noundef %2) #40
to label %16 unwind label %17, !dbg !6756
LandingPadInst not the first non-PHI instruction in the block.
%18 = landingpad { ptr, i32 }
cleanup, !dbg !6757
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
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 0x0000000106902a9c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000106900cf0 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000106903068 SignalHandler(int) + 292
3 libsystem_platform.dylib 0x00000001975fee04 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001975c7f70 pthread_kill + 288
5 libsystem_c.dylib 0x00000001974d4908 abort + 128
6 swift-frontend 0x0000000101663ce8 createDispatchingDiagnosticConsumerIfNeeded(swift::FrontendInputsAndOutputs const&, llvm::function_ref<std::__1::unique_ptr<swift::DiagnosticConsumer, std::__1::default_delete<swift::DiagnosticConsumer>> (swift::InputFile const&)>) + 0
7 swift-frontend 0x0000000106872820 llvm::report_fatal_error(llvm::Twine const&, bool) + 280
8 swift-frontend 0x0000000106872708 llvm::report_fatal_error(llvm::Twine const&, bool) + 0
9 swift-frontend 0x00000001018a3bd4 llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0
10 swift-frontend 0x000000010663a420 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224
11 swift-frontend 0x0000000101899040 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module
6786
*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 6200
12 swift-frontend 0x000000010189a2f8 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2352
13 swift-frontend 0x00000001018a1520 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156
14 swift-frontend 0x00000001018a1478 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12
15 libsystem_pthread.dylib 0x00000001975c82e4 _pthread_start + 136
16 libsystem_pthread.dylib 0x00000001975c30fc thread_start + 8
Expected behavior
No crash
Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labelsThis issue needs more specific labels