Skip to content

AUGraphNodeBaseV3::CreateRecordingTap crash? #352

@nmtitov

Description

@nmtitov

Hello, we see a lot of crashes in our app which we can't track down unfortunately.

We see AUGraphNodeBaseV3::CreateRecordingTap and AVAudioEngineImpl::InstallTapOnNode mentioned but we can't figure out what's wrong here. Our app just randomly failing during the record.

Similar issue is here: #261

Any ideas greatly appreciated.
Thank you!

Last Exception Backtrace:
0   CoreFoundation                	0x189a2721c __exceptionPreprocess + 164 (NSException.m:249)
1   libobjc.A.dylib               	0x186ec1abc objc_exception_throw + 88 (objc-exception.mm:356)
2   CoreFoundation                	0x189a85ea0 +[NSException raise:format:] + 128 (NSException.m:0)
3   AVFAudio                      	0x1a5371fb4 AUGraphNodeBaseV3::CreateRecordingTap(unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 748 (AVAEGraphNode.mm:834)
4   AVFAudio                      	0x1a5420e10 AVAudioEngineImpl::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 1196 (AVAudioEngine.mm:1534)
5   AVFAudio                      	0x1a53f68dc -[AVAudioNode installTapOnBus:bufferSize:format:block:] + 564 (AVAudioNode.mm:186)
6   WhisperKit                    	0x1033ac8f0 specialized AudioProcessor.setupEngine(inputDeviceID:) + 676 (AudioProcessor.swift:988)
7   WhisperKit                    	0x1033a69e4 AudioProcessor.setupEngine(inputDeviceID:) + 4 (/<compiler-generated>:0)
8   WhisperKit                    	0x1033a69e4 AudioProcessor.startRecordingLive(inputDeviceID:callback:) + 164 (AudioProcessor.swift:1022)
9   WhisperKit                    	0x1033a6934 protocol witness for AudioProcessing.startRecordingLive(inputDeviceID:callback:) in conformance AudioProcessor + 20 (/<compiler-generated>:0)
10  ConvoCatcherAI                	0x102e68ec4 closure #1 in WhisperKitView.startRecording() + 208 (WhisperKitView.swift:816)
11  ConvoCatcherAI                	0x102e08219 <deduplicated_symbol> + 1
12  ConvoCatcherAI                	0x102e72109 specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) + 1 (/<compiler-generated>:0)
13  ConvoCatcherAI                	0x102df73f1 <deduplicated_symbol> + 1
14  libswift_Concurrency.dylib    	0x1954f1241 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:537)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions