flutter_tts
flutter_tts copied to clipboard
App crashed at SwiftFlutterTtsPlugin.swift line 2147483647
🐛 Bug Report
I got this report from Firebase Crashlytics
![image](https://user-images.githubusercontent.com/35203503/164046607-1ba467b0-7ff2-49fa-9424-9b5ff5ad7a37.png)
Version: 3.3.3
Platform:
- [x] :iphone: iOS
- [ ] :robot: Android
@meowofficial do you have any other logs you could provide? I can't determine why it crashed based off your screenshot.
@dlutton no, that's all I have
@dlutton
SwiftFlutterTtsPlugin.swift line 2147483647 @objc SwiftFlutterTtsPlugin.__ivar_destroyer
Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000061adb021edc8
Crashed: com.apple.main-thread
0 Flutter 0x41b9c (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
1 Flutter 0x3d3ca4 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
2 Flutter 0x2fbbf0 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
3 Flutter 0x2ff1bc (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
4 CoreFoundation 0xaf168 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
5 CoreFoundation 0x33144 __CFRunLoopDoTimer + 1064
6 CoreFoundation 0x2d8f0 __CFRunLoopDoTimers + 320
7 CoreFoundation 0xbfa0 __CFRunLoopRun + 1936
8 CoreFoundation 0x1f6b8 CFRunLoopRunSpecific + 600
9 TextToSpeechBundleSupport 0x1c010 -[TTSSpeechServerInstance dealloc] + 116
10 TextToSpeech 0xf888 TTSSpeechUnitTestingMode + 10200
11 libAXSpeechManager.dylib 0xb310 -[AXSpeechManager .cxx_destruct] + 140
12 libobjc.A.dylib 0x82f0 object_cxxDestructFromClass(objc_object*, objc_class*) + 116
13 libobjc.A.dylib 0x5144 objc_destructInstance + 80
14 libobjc.A.dylib 0xe9b4 _objc_rootDealloc + 80
15 libAXSpeechManager.dylib 0x3d9c -[AXSpeechManager dealloc] + 152
16 libobjc.A.dylib 0x2b61c _object_remove_associations + 612
17 libobjc.A.dylib 0x5154 objc_destructInstance + 96
18 libobjc.A.dylib 0xe9b4 _objc_rootDealloc + 80
19 AXSpeechImplementation 0x2adc -[AVSpeechSynthesizer(Implementation) dealloc] + 336
20 Runner 0x137134 @objc SwiftFlutterTtsPlugin.__ivar_destroyer + 4301271348 (SwiftFlutterTtsPlugin.swift:4301271348)
21 libobjc.A.dylib 0x82f0 object_cxxDestructFromClass(objc_object*, objc_class*) + 116
22 libobjc.A.dylib 0x5144 objc_destructInstance + 80
23 libobjc.A.dylib 0xe9b4 _objc_rootDealloc + 80
24 libsystem_blocks.dylib 0x1804 _Block_release + 192
25 Flutter 0x142b4 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
26 libsystem_blocks.dylib 0x1804 _Block_release + 192
27 Flutter 0x3a7ac (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
28 Flutter 0x3a7f8 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
29 Flutter 0x42ec4 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
30 Flutter 0x4186c (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
31 Flutter 0x3dd228 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
32 Flutter 0x3dcbac (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
33 Flutter 0x13df8 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
34 Flutter 0xff44 (Missing UUID d24b4305a5d8348c8a0909c859505f3a)
35 CoreFoundation 0x2b324 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
36 CoreFoundation 0xc7ac4 ___CFXRegistrationPost_block_invoke + 52
37 CoreFoundation 0x9acc0 _CFXRegistrationPost + 456
38 CoreFoundation 0x4139c _CFXNotificationPost + 728
39 Foundation 0x1a704 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
40 UIKitCore 0xf59d28 -[UIApplication _terminateWithStatus:] + 300
41 UIKitCore 0x635d20 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128
42 UIKitCore 0x82b528 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224
43 UIKitCore 0xf5606c -[UIApplication workspaceShouldExit:withTransitionContext:] + 224
44 FrontBoardServices 0x4efec __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 80
45 FrontBoardServices 0xa308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
46 FrontBoardServices 0x4ef84 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 132
47 libdispatch.dylib 0x3a2c _dispatch_client_callout + 20
48 libdispatch.dylib 0x74e0 _dispatch_block_invoke_direct + 264
49 FrontBoardServices 0xbc70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
50 FrontBoardServices 0xb040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220
51 FrontBoardServices 0xf700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
52 CoreFoundation 0xbbf04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
53 CoreFoundation 0xccc90 __CFRunLoopDoSource0 + 208
54 CoreFoundation 0x6184 __CFRunLoopDoSources0 + 268
55 CoreFoundation 0xbb4c __CFRunLoopRun + 828
56 CoreFoundation 0x1f6b8 CFRunLoopRunSpecific + 600
57 GraphicsServices 0x1374 GSEventRunModal + 164
58 UIKitCore 0x513e88 -[UIApplication _run] + 1100
59 UIKitCore 0x2955ec UIApplicationMain + 364
60 Runner 0x77b0 main + 9 (AppDelegate.swift:9)
61 ??? 0x1032e9ce4 (Missing)
Thank you @AbdOoSaed , are you using await flutterTts.awaitSpeakCompletion(true);
or await flutterTts.awaitSynthCompletion(true);
?
https://github.com/flutter/flutter/issues/117523
@dlutton