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

Occasional crash in speech_to_text #27

Closed
sowens-csd opened this issue Jan 26, 2020 · 0 comments
Closed

Occasional crash in speech_to_text #27

sowens-csd opened this issue Jan 26, 2020 · 0 comments
Assignees
Labels
bug Something isn't working iOS

Comments

@sowens-csd
Copy link
Contributor

An application was crashing with a sigabrt in speech_to_text occasionally. Sometimes when coming back into the foreground, sometimes while running. The stack trace pointed to the invokeFlutter method in speech_to_text. Looks like the parameters were incorrect in the case of a speechRecognizer availabilityDidChange callback.

#0 (null) in __exceptionPreprocess ()
#1 (null) in objc_exception_throw ()
#2 (null) in +[NSException raise:format:arguments:] ()
#3 (null) in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
#4 (null) in -[FlutterStandardWriter writeValue:] ()
#5 0x37553a in -[FlutterStandardMethodCodec encodeMethodCall:] ()
#6 0x3723f2 in -[FlutterMethodChannel invokeMethod:arguments:] ()
#7 0xc07ae6 in partial apply for closure #1 in SwiftSpeechToTextPlugin.invokeFlutter(_:arguments:) at /Users/.../speech_to_text/ios/Classes/SwiftSpeechToTextPlugin.swift:262
#8 (null) in thunk for @escaping @callee_guaranteed () -> () ()
#9 (null) in _dispatch_call_block_and_release ()
#10 (null) in _dispatch_client_callout ()
#11 (null) in _dispatch_main_queue_callback_4CF ()
#12 (null) in CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE ()
#13 (null) in __CFRunLoopRun ()
#14 (null) in CFRunLoopRunSpecific ()
#15 (null) in CFRunLoopRunInMode ()
#16 (null) in GSEventRunModal ()
#17 (null) in UIApplicationMain ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS
Projects
None yet
Development

No branches or pull requests

1 participant