Skip to content

Intermittent crash in installTapOnBus() #19

Description

@mjmsmith

I've gotten crash reports for a few different devices running iOS 18. The top of the backtrace looks like this:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: MyApp [3858]

Last Exception Backtrace:
0   CoreFoundation                0x1991e25fc __exceptionPreprocess + 164 (NSException.m:249)
1   libobjc.A.dylib               	0x19675d244 objc_exception_throw + 88 (objc-exception.mm:356)
2   CoreFoundation                0x19932f6e0 +[NSException raise:format:] + 128 (NSException.m:0)
3   AVFAudio                      	0x1b3e5d4d8 AUGraphNodeBaseV3::CreateRecordingTap(unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 752 (AVAEGraphNode.mm:834)
4   AVFAudio                      	0x1b3f0c624 AVAudioEngineImpl::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 1196 (AVAudioEngine.mm:1534)
5   AVFAudio                      	0x1b3ee1fa0 -[AVAudioNode installTapOnBus:bufferSize:format:block:] + 564 (AVAudioNode.mm:186)
6   MyApp                         	0x102cb4560 SpeechRecognizer.startRecording() + 1004 (SpeechRecognizer.swift:90)
7   MyApp                         	0x102cb2748 SwiftSpeech.Session.startRecording() + 300

It's very much intermittent. Recording/recognition mostly works without a problem on these devices.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions