flutter
flutter copied to clipboard
[webview_flutter] Crash when hot reload in iOS
What package does this bug report belong to?
webview_flutter [All versions including latest version)
What target platforms are you seeing this bug on?
iOS [ Physical Device instead of Simulator]
Have you already upgraded your packages?
Yes
Dependency versions
name: webviewbug
description: "A new Flutter project."
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ^3.8.1
dependencies:
flutter:
sdk: flutter
webview_flutter: ^4.13.0
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
url: "https://pub.dev"
source: hosted
version: "2.13.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
characters:
dependency: transitive
description:
name: characters
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
url: "https://pub.dev"
source: hosted
version: "1.4.0"
clock:
dependency: transitive
description:
name: clock
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
url: "https://pub.dev"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
name: collection
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
url: "https://pub.dev"
source: hosted
version: "1.19.1"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
url: "https://pub.dev"
source: hosted
version: "1.0.8"
fake_async:
dependency: transitive
description:
name: fake_async
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
url: "https://pub.dev"
source: hosted
version: "1.3.3"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
url: "https://pub.dev"
source: hosted
version: "10.0.9"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
url: "https://pub.dev"
source: hosted
version: "3.0.9"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7
url: "https://pub.dev"
source: hosted
version: "5.1.1"
matcher:
dependency: transitive
description:
name: matcher
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
url: "https://pub.dev"
source: hosted
version: "0.12.17"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
url: "https://pub.dev"
source: hosted
version: "1.16.0"
path:
dependency: transitive
description:
name: path
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
source_span:
dependency: transitive
description:
name: source_span
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
url: "https://pub.dev"
source: hosted
version: "1.10.1"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
version: "1.12.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
url: "https://pub.dev"
source: hosted
version: "1.4.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
url: "https://pub.dev"
source: hosted
version: "1.2.2"
test_api:
dependency: transitive
description:
name: test_api
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
url: "https://pub.dev"
source: hosted
version: "0.7.4"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02
url: "https://pub.dev"
source: hosted
version: "15.0.0"
webview_flutter:
dependency: "direct main"
description:
name: webview_flutter
sha256: c3e4fe614b1c814950ad07186007eff2f2e5dd2935eba7b9a9a1af8e5885f1ba
url: "https://pub.dev"
source: hosted
version: "4.13.0"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: f6e6afef6e234801da77170f7a1847ded8450778caf2fe13979d140484be3678
url: "https://pub.dev"
source: hosted
version: "4.7.0"
webview_flutter_platform_interface:
dependency: transitive
description:
name: webview_flutter_platform_interface
sha256: f0dc2dc3a2b1e3a6abdd6801b9355ebfeb3b8f6cde6b9dc7c9235909c4a1f147
url: "https://pub.dev"
source: hosted
version: "2.13.1"
webview_flutter_wkwebview:
dependency: transitive
description:
name: webview_flutter_wkwebview
sha256: a3d461fe3467014e05f3ac4962e5fdde2a4bf44c561cb53e9ae5c586600fdbc3
url: "https://pub.dev"
source: hosted
version: "3.22.0"
sdks:
dart: ">=3.8.1 <4.0.0"
flutter: ">=3.27.0"
Steps to reproduce
We use addJavaScriptChannel to communicate between JS and flutter. And the whole flutter app is likely to crash in iOS native side when there are messages sent from javascript side.
A minimal reproducible code is attached at code sample part. In the reproducible code, I created a loop to send JS channel messages every 5 milliseconds.
<script>
let i = 0;
function showToast() {
Toaster.postMessage('Hello! ' + i++);
setTimeout(showToast, 5);
}
showToast();
</script>
You can launch the app. Then press Hot Reload button in Flutter IDE. Repeat Hot Reload multiple times, then the issue will happen.
I guess the root cause is because, when we reload a flutter app, flutter disposes the corresponding webview controller. However, the native webview page is not disposed. And when there is a JS message, then the swift code crashes.
Expected results
The app does not crash when hot reload.
Actual results
The app occasionally crashes when hot reload.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() => runApp(const MaterialApp(home: WebViewExample()));
const String kLocalExamplePage = '''
<!DOCTYPE html>
<html lang="en">
<head>
<title>Load file or HTML string example</title>
</head>
<body>
<h1>Local demo page</h1>
<p>
This is an example page used to demonstrate how to load a local file or HTML
string using the <a href="https://pub.dev/packages/webview_flutter">Flutter
webview</a> plugin.
</p>
<script>
let i = 0;
function showToast() {
Toaster.postMessage('Hello! ' + i++);
setTimeout(showToast, 5);
}
showToast();
</script>
</body>
</html>
''';
class WebViewExample extends StatefulWidget {
const WebViewExample({super.key});
@override
State<WebViewExample> createState() => _WebViewExampleState();
}
class _WebViewExampleState extends State<WebViewExample> {
late final WebViewController controller;
@override
void initState() {
super.initState();
controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..addJavaScriptChannel(
'Toaster',
onMessageReceived: (JavaScriptMessage message) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(message.message)));
},
)
..loadHtmlString(kLocalExamplePage);
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Flutter WebView example')),
body: WebViewWidget(controller: controller),
);
}
}
Screenshots or Videos
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Runner(84730,0x20bde0100) malloc: xzm: failed to initialize deferred reclamation buffer [2] (null)
flutter: The Dart VM service is listening on http://127.0.0.1:49607/HVNG-1oMLUk=/
webview_flutter_wkwebview/ProxyAPIRegistrar.swift:73: Fatal error: webview_flutter_wkwebview.PigeonError: Error returned from calling WKScriptMessageHandler.didReceiveScriptMessage: Optional("Unable to establish connection on channel: \'dev.flutter.pigeon.webview_flutter_wkwebview.WKScriptMessageHandler.didReceiveScriptMessage\'.")
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.3, on macOS 15.4.1 24E263 darwin-arm64, locale
en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.101.0)
[✓] VS Code (version 1.99.1)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for iMeng. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!
~@bparrishMines , @stuartmorgan-g, @tirth-patel-nc Please help to check this issue. Please let me know if you can or can not reproduce the issue.~
Please don't ping people like that. We have a triage process, and this issue isn't an emergency that needs to bypass it.
I was able to replicate the reported behavior running on iOS and upon hot-restarting the app. After very first hot-restart the reported behavior occurs, as opposed to hot-reload as mentioned by OP. The crash doesn't occur while hot-reloading, so updated the issue title. Xcode shows below log in the console:
-- LLDB integration loaded --
FlutterView implements focusItemsInRect: - caching for linear focus movement is limited as long as this view is on screen.
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
flutter: The Dart VM service is listening on http://127.0.0.1:56344/W4wotz0HxVI=/
Failed to send CA Event for app launch measurements for ca_event_type: 0 event_name: com.apple.app_launch_measurement.FirstFramePresentationMetric
Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics
Could not create a sandbox extension for '/var/containers/Bundle/Application/60329B69-401B-4EEE-92C2-06372742E08B/Runner.app'
webview_flutter_wkwebview/ProxyAPIRegistrar.swift:73: Fatal error: webview_flutter_wkwebview.PigeonError: Error returned from calling WKScriptMessageHandler.didReceiveScriptMessage: Optional("Unable to establish connection on channel: \'dev.flutter.pigeon.webview_flutter_wkwebview.WKScriptMessageHandler.didReceiveScriptMessage\'.")
The issue is also replicable on iOS simulator, wherein hot-restarting quits the app and generates below error log.
simulator error log
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: CADD506A-EDD8-496E-9E99-99A94D91B90C
CrashReporter Key: 61D12090-CD56-B877-7B8C-9C3A0B4CF7D4
Hardware Model: MacBookPro16,2
Process: Runner [9812]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/6DB15AAB-9A5A-4758-BC9D-316C98627651/data/Containers/Bundle/Application/1F3F6B07-D0CB-4586-9E95-D594D72989BC/Runner.app/Runner
Identifier: com.example.webviewIssue
Version: 1.0.0 (1)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [8398]
Coalition: com.apple.CoreSimulator.SimDevice.6DB15AAB-9A5A-4758-BC9D-316C98627651 [4502]
Responsible Process: SimulatorTrampoline [1866]
Date/Time: 2025-06-16 16:01:10.6334 +0530
Launch Time: 2025-06-16 16:00:59.5966 +0530
OS Version: macOS 15.5 (24F74)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: exc handler [9812]
Triggered by Thread: 0
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libswiftCore.dylib 0x7ff8173c341f _assertionFailure(_:_:file:line:flags:) + 351
1 libswiftCore.dylib 0x7ff8173c3655 assertionFailure(_:file:line:) + 69
2 webview_flutter_wkwebview 0x108ec111a ProxyAPIRegistrar.assertFlutterMethodFailure(_:methodName:) + 138 (ProxyAPIRegistrar.swift:73)
3 webview_flutter_wkwebview 0x108ec16b7 closure #1 in closure #1 in ProxyAPIRegistrar.dispatchOnMainThread(execute:) + 71 (ProxyAPIRegistrar.swift:86)
4 webview_flutter_wkwebview 0x108ec3953 closure #1 in closure #1 in ScriptMessageHandlerImpl.userContentController(_:didReceive:) + 211 (ScriptMessageHandlerProxyAPIDelegate.swift:25)
5 webview_flutter_wkwebview 0x108f1f64f closure #1 in PigeonApiWKScriptMessageHandler.didReceiveScriptMessage(pigeonInstance:controller:message:completion:) + 447 (WebKitLibrary.g.swift:4133)
6 webview_flutter_wkwebview 0x108ed58a7 thunk for @escaping @callee_guaranteed (@in_guaranteed Any?) -> () + 151
7 Flutter 0x10f33cf9c __48-[FlutterBasicMessageChannel sendMessage:reply:]_block_invoke + 79
8 Flutter 0x10ee425e9 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 163
9 Flutter 0x10ee485d8 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 26
10 CoreFoundation 0x7ff80043012a __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
11 CoreFoundation 0x7ff80042fcb7 __CFRunLoopDoTimer + 801
12 CoreFoundation 0x7ff80042f43b __CFRunLoopDoTimers + 243
13 CoreFoundation 0x7ff800429b2b __CFRunLoopRun + 2265
14 CoreFoundation 0x7ff800428e11 CFRunLoopRunSpecific + 550
15 GraphicsServices 0x7ff811d2b0cb GSEventRunModal + 137
16 UIKitCore 0x7ff8064a5840 -[UIApplication _run] + 875
17 UIKitCore 0x7ff8064aa781 UIApplicationMain + 123
18 UIKitCore 0x7ff805413c33 0x7ff80519b000 + 2591795
19 Runner.debug.dylib 0x108a9e5cb static UIApplicationDelegate.main() + 123
20 Runner.debug.dylib 0x108a9e547 static AppDelegate.$main() + 39
21 Runner.debug.dylib 0x108a9e638 __debug_main_executable_dylib_entry_point + 24 (AppDelegate.swift:5)
22 ??? 0x108c1d478 ???
23 dyld 0x10bd90530 start + 3056
Thread 1:
0 libsystem_pthread.dylib 0x108b34834 start_wqthread + 0
Thread 2:: com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x108ceab4a mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x108cf9704 mach_msg2_internal + 83
2 libsystem_kernel.dylib 0x108cf1bc3 mach_msg_overwrite + 574
3 libsystem_kernel.dylib 0x108ceae3b mach_msg + 19
4 CoreFoundation 0x7ff80042f23f __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff8004297c3 __CFRunLoopRun + 1393
6 CoreFoundation 0x7ff800428e11 CFRunLoopRunSpecific + 550
7 Foundation 0x7ff800fc3983 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
8 Foundation 0x7ff800fc3bf9 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
9 UIKitCore 0x7ff80658c710 -[UIEventFetcher threadMain] + 518
10 Foundation 0x7ff800fee6f4 __NSThread__start__ + 1007
11 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
12 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 3:
0 libsystem_pthread.dylib 0x108b34834 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x108b34834 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x108b34834 start_wqthread + 0
Thread 6:: io.flutter.1.raster
0 libsystem_kernel.dylib 0x108ceab4a mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x108cf9704 mach_msg2_internal + 83
2 libsystem_kernel.dylib 0x108cf1bc3 mach_msg_overwrite + 574
3 libsystem_kernel.dylib 0x108ceae3b mach_msg + 19
4 CoreFoundation 0x7ff80042f23f __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff8004297c3 __CFRunLoopRun + 1393
6 CoreFoundation 0x7ff800428e11 CFRunLoopRunSpecific + 550
7 Flutter 0x10ee48715 fml::MessageLoopDarwin::Run() + 65
8 Flutter 0x10ee42500 fml::MessageLoopImpl::DoRun() + 22
9 Flutter 0x10ee475b7 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135
10 Flutter 0x10ee4731b fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 27
11 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
12 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 7:: io.flutter.1.io
0 libsystem_kernel.dylib 0x108ceab4a mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x108cf9704 mach_msg2_internal + 83
2 libsystem_kernel.dylib 0x108cf1bc3 mach_msg_overwrite + 574
3 libsystem_kernel.dylib 0x108ceae3b mach_msg + 19
4 CoreFoundation 0x7ff80042f23f __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff8004297c3 __CFRunLoopRun + 1393
6 CoreFoundation 0x7ff800428e11 CFRunLoopRunSpecific + 550
7 Flutter 0x10ee48715 fml::MessageLoopDarwin::Run() + 65
8 Flutter 0x10ee42500 fml::MessageLoopImpl::DoRun() + 22
9 Flutter 0x10ee475b7 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135
10 Flutter 0x10ee4731b fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 27
11 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
12 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 8:: io.flutter.1.profiler
0 libsystem_kernel.dylib 0x108ceab4a mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x108cf9704 mach_msg2_internal + 83
2 libsystem_kernel.dylib 0x108cf1bc3 mach_msg_overwrite + 574
3 libsystem_kernel.dylib 0x108ceae3b mach_msg + 19
4 CoreFoundation 0x7ff80042f23f __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff8004297c3 __CFRunLoopRun + 1393
6 CoreFoundation 0x7ff800428e11 CFRunLoopRunSpecific + 550
7 Flutter 0x10ee48715 fml::MessageLoopDarwin::Run() + 65
8 Flutter 0x10ee42500 fml::MessageLoopImpl::DoRun() + 22
9 Flutter 0x10ee475b7 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135
10 Flutter 0x10ee4731b fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 27
11 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
12 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 9:: io.worker.1
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 Flutter 0x10ee1fc8c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 18
3 Flutter 0x10ee3ee33 fml::ConcurrentMessageLoop::WorkerMain() + 167
4 Flutter 0x10ee3f685 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 233
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 10:: io.worker.2
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 Flutter 0x10ee1fc8c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 18
3 Flutter 0x10ee3ee33 fml::ConcurrentMessageLoop::WorkerMain() + 167
4 Flutter 0x10ee3f685 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 233
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 11:: io.worker.3
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 Flutter 0x10ee1fc8c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 18
3 Flutter 0x10ee3ee33 fml::ConcurrentMessageLoop::WorkerMain() + 167
4 Flutter 0x10ee3f685 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 233
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 12:: io.worker.4
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 Flutter 0x10ee1fc8c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 18
3 Flutter 0x10ee3ee33 fml::ConcurrentMessageLoop::WorkerMain() + 167
4 Flutter 0x10ee3f685 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 233
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 13:: dart:io EventHandler
0 libsystem_kernel.dylib 0x108cef822 kevent + 10
1 Flutter 0x10f2f9a78 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 312
2 Flutter 0x10f315bc3 dart::bin::ThreadStart(void*) + 83
3 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
4 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 14:: Dart Profiler ThreadInterrupter
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 Flutter 0x10f362ecf dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 143
3 Flutter 0x10f4d4da2 dart::ThreadInterrupter::ThreadMain(unsigned long) + 322
4 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 15:: Dart Profiler SampleBlockProcessor
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b392ad _pthread_cond_wait + 1039
2 Flutter 0x10f362ebe dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 126
3 Flutter 0x10f48bcae dart::SampleBlockProcessor::ThreadMain(unsigned long) + 270
4 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
5 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
6 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 16:: DartWorker
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b392ad _pthread_cond_wait + 1039
2 Flutter 0x10f362ebe dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 126
3 Flutter 0x10f4d5c88 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 600
4 Flutter 0x10f4d5dd3 dart::ThreadPool::Worker::Main(unsigned long) + 115
5 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
6 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
7 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 17:: DartWorker
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b392ad _pthread_cond_wait + 1039
2 Flutter 0x10f362ebe dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 126
3 Flutter 0x10f3c756d dart::MutatorThreadPool::OnEnterIdleLocked(dart::MutexLocker*, dart::ThreadPool::Worker*) + 253
4 Flutter 0x10f4d5aa0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 112
5 Flutter 0x10f4d5dd3 dart::ThreadPool::Worker::Main(unsigned long) + 115
6 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
7 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
8 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 18:: DartWorker
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b392ad _pthread_cond_wait + 1039
2 Flutter 0x10f362ebe dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 126
3 Flutter 0x10f4d5c88 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 600
4 Flutter 0x10f4d5dd3 dart::ThreadPool::Worker::Main(unsigned long) + 115
5 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
6 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
7 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 19:: JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b3927a _pthread_cond_wait + 988
2 JavaScriptCore 0x7ff81bd20547 scavenger_thread_main + 1607
3 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
4 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 20:: DartWorker
0 libsystem_kernel.dylib 0x108ced6f6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x108b392ad _pthread_cond_wait + 1039
2 Flutter 0x10f362ebe dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 126
3 Flutter 0x10f4d5c88 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 600
4 Flutter 0x10f4d5dd3 dart::ThreadPool::Worker::Main(unsigned long) + 115
5 Flutter 0x10f4869de dart::ThreadStart(void*) + 206
6 libsystem_pthread.dylib 0x108b38df1 _pthread_start + 99
7 libsystem_pthread.dylib 0x108b34857 thread_start + 15
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000200000003 rbx: 0x00007ff817849e34 rcx: 0xfffffffe00000000 rdx: 0x0000000000000003
rdi: 0x00000001091201e8 rsi: 0x0000000000000103 rbp: 0x00007ff7b7487800 rsp: 0x00007ff7b7487760
r8: 0x0000000000000000 r9: 0x000000010b800000 r10: 0x0000000000000069 r11: 0x000000010b804700
r12: 0x0000000108f5d270 r13: 0x000000000000010a r14: 0x00000001091201e0 r15: 0x000000000000000b
rip: 0x00007ff8173c341f rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 6
Error Code: 0x00000000
Trap Number: 6
Binary Images:
0x10bd8a000 - 0x10be24fff dyld (*) <3771ea6a-0fe5-3b63-961d-c09e01d5e680> /usr/lib/dyld
0x108a75000 - 0x108a78fff com.example.webviewIssue (1.0.0) <da6278e5-eafd-3dc0-a24c-c4b53945da41> /Users/USER/Library/Developer/CoreSimulator/Devices/6DB15AAB-9A5A-4758-BC9D-316C98627651/data/Containers/Bundle/Application/1F3F6B07-D0CB-4586-9E95-D594D72989BC/Runner.app/Runner
0x108a9c000 - 0x108aa3fff Runner.debug.dylib (*) <41707420-e8c1-3b5e-b82b-809214ae2bb0> /Users/USER/Library/Developer/CoreSimulator/Devices/6DB15AAB-9A5A-4758-BC9D-316C98627651/data/Containers/Bundle/Application/1F3F6B07-D0CB-4586-9E95-D594D72989BC/Runner.app/Runner.debug.dylib
0x108eaf000 - 0x108f6dfff org.cocoapods.webview-flutter-wkwebview (0.0.1) <e7fec3f6-b2e2-301b-bf54-e8f6f86c622d> /Users/USER/Library/Developer/CoreSimulator/Devices/6DB15AAB-9A5A-4758-BC9D-316C98627651/data/Containers/Bundle/Application/1F3F6B07-D0CB-4586-9E95-D594D72989BC/Runner.app/Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview
0x10edb8000 - 0x110ff8fff io.flutter.flutter (1.0) <4c4c4421-5555-3144-a16c-6280ad44413c> /Users/USER/Library/Developer/CoreSimulator/Devices/6DB15AAB-9A5A-4758-BC9D-316C98627651/data/Containers/Bundle/Application/1F3F6B07-D0CB-4586-9E95-D594D72989BC/Runner.app/Frameworks/Flutter.framework/Flutter
0x108a83000 - 0x108a8cfff libsystem_platform.dylib (*) <1fb5adb0-059e-3369-9c63-abde93e91499> /usr/lib/system/libsystem_platform.dylib
0x108cea000 - 0x108d26fff libsystem_kernel.dylib (*) <dab10aa4-8afa-3d02-9cde-6023554ac858> /usr/lib/system/libsystem_kernel.dylib
0x108b33000 - 0x108b3efff libsystem_pthread.dylib (*) <a6d1f05a-0743-31b7-9fe2-268f06ccd51a> /usr/lib/system/libsystem_pthread.dylib
0x108bc4000 - 0x108bd0fff libobjc-trampolines.dylib (*) <28a81a16-8442-39ce-b8ac-a414f3f42894> /Volumes/VOLUME/*/libobjc-trampolines.dylib
0x7ff817396000 - 0x7ff817881ff5 libswiftCore.dylib (*) <7d05013b-8b99-3b94-bb56-9933569f5925> /Volumes/VOLUME/*/libswiftCore.dylib
0x7ff80039f000 - 0x7ff80071bffa com.apple.CoreFoundation (6.9) <e2ec0ca2-818c-3ff4-b01c-c8b288577398> /Volumes/VOLUME/*/CoreFoundation.framework/CoreFoundation
0x7ff811d28000 - 0x7ff811d2fffa com.apple.GraphicsServices (1.0) <e219f3a2-1dc5-3948-86f5-ecf076e2c10e> /Volumes/VOLUME/*/GraphicsServices.framework/GraphicsServices
0x7ff80519b000 - 0x7ff8073dbff2 com.apple.UIKitCore (1.0) <dc1b25e9-1ce4-3db1-8c4e-a06e5d41d356> /Volumes/VOLUME/*/UIKitCore.framework/UIKitCore
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x7ff800796000 - 0x7ff801491ff8 com.apple.Foundation (6.9) <ca5964a3-6077-3081-a1f4-a905f0f9938b> /Volumes/VOLUME/*/Foundation.framework/Foundation
0x7ff81a386000 - 0x7ff81bf65f77 com.apple.JavaScriptCore (8620) <43a3af67-9e2b-31c7-aae8-f3597ef42f25> /Volumes/VOLUME/*/JavaScriptCore.framework/JavaScriptCore
EOF
-----------
Full Report
-----------
{"app_name":"Runner","timestamp":"2025-06-16 16:01:15.00 +0530","app_version":"1.0.0","slice_uuid":"da6278e5-eafd-3dc0-a24c-c4b53945da41","build_version":"1","platform":7,"bundleID":"com.example.webviewIssue","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.5 (24F74)","roots_installed":0,"name":"Runner","incident_id":"CADD506A-EDD8-496E-9E99-99A94D91B90C"}
{
"uptime" : 19000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,2",
"coalitionID" : 4502,
"osVersion" : {
"train" : "macOS 15.5",
"build" : "24F74",
"releaseType" : "User"
},
"captureTime" : "2025-06-16 16:01:10.6334 +0530",
"codeSigningMonitor" : 0,
"incident" : "CADD506A-EDD8-496E-9E99-99A94D91B90C",
"pid" : 9812,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2025-06-16 16:00:59.5966 +0530",
"procStartAbsTime" : 19132456778165,
"procExitAbsTime" : 19143479725058,
"procName" : "Runner",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/6DB15AAB-9A5A-4758-BC9D-316C98627651\/data\/Containers\/Bundle\/Application\/1F3F6B07-D0CB-4586-9E95-D594D72989BC\/Runner.app\/Runner",
"bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.webviewIssue"},
"storeInfo" : {"deviceIdentifierForVendor":"910FEFD4-1054-5B42-B50D-724F415D5F8A","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 8398,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.6DB15AAB-9A5A-4758-BC9D-316C98627651",
"crashReporterKey" : "61D12090-CD56-B877-7B8C-9C3A0B4CF7D4",
"appleIntelligenceStatus" : {"state":"unavailable","reasons":["selectedLanguageDoesNotMatchSelectedSiriLanguage","deviceNotCapable"]},
"responsiblePid" : 1866,
"responsibleProc" : "SimulatorTrampoline",
"codeSigningID" : "com.example.webviewIssue",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570425857,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"codeSigningAuxiliaryInfo" : 0,
"bootSessionUUID" : "AA2D6151-ED06-431C-BF56-4034D5F5211F",
"wakeTime" : 3993,
"bridgeVersion" : {"build":"22P5072","train":"9.5"},
"sleepWakeUUID" : "2391B0B8-68EE-4BAD-A019-E0556261E2E4",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
"termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":9812},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":262933,"instructionState":{"instructionStream":{"bytes":[158,0,0,0,72,184,0,0,0,0,0,0,0,16,73,133,197,15,132,127,1,0,0,72,255,200,76,137,247,72,33,199,72,131,199,32,72,184,255,255,255,255,255,255,0,0,73,33,197,72,131,236,8,68,15,182,193,76,137,238,76,137,226,72,139,77,16,73,137,217,139,69,40,80,255,117,32,65,87,232,29,14,0,0,72,131,196,32,76,137,247,232,209,56,54,0,15,11,72,131,236,8,72,141,5,100,110,72,0,72,141,61,1,106,72,0,72,141,13,22,109,72,0,190,11,0,0,0,65,184,57,0,0,0,186,2,0,0,0,65,185,2,0,0,0,106,0,104,148,0,0,0,106,2,106,24,80,232,63,2,0,0,76,137,246,72,193,238,56,131,230,15,72,184,255,255,255,255,255,255,255,0,76,33,240,76,137,109,192,72,137,69],"offset":96}},"threadState":{"r13":{"value":266},"rax":{"value":8589934595},"rflags":{"value":66118},"cpu":{"value":6},"r14":{"value":4447142368},"rsi":{"value":259},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":3},"r10":{"value":105},"r9":{"value":4487905280},"r15":{"value":11},"rbx":{"value":140703523184180},"trap":{"value":6},"err":{"value":0},"r11":{"value":4487923456},"rip":{"value":140703518438431,"matchesCrashFrame":1},"rbp":{"value":140701908629504},"rsp":{"value":140701908629344},"r12":{"value":4445295216},"rcx":{"value":18446744065119617024},"flavor":"x86_THREAD_STATE","rdi":{"value":4447142376}},"queue":"com.apple.main-thread","frames":[{"imageOffset":185375,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":351,"imageIndex":9},{"imageOffset":185941,"symbol":"assertionFailure(_:file:line:)","symbolLocation":69,"imageIndex":9},{"imageOffset":74010,"sourceLine":73,"sourceFile":"ProxyAPIRegistrar.swift","symbol":"ProxyAPIRegistrar.assertFlutterMethodFailure(_:methodName:)","imageIndex":3,"symbolLocation":138},{"imageOffset":75447,"sourceLine":86,"sourceFile":"ProxyAPIRegistrar.swift","symbol":"closure #1 in closure #1 in ProxyAPIRegistrar.dispatchOnMainThread(execute:)","imageIndex":3,"symbolLocation":71},{"imageOffset":84307,"sourceLine":25,"sourceFile":"ScriptMessageHandlerProxyAPIDelegate.swift","symbol":"closure #1 in closure #1 in ScriptMessageHandlerImpl.userContentController(_:didReceive:)","imageIndex":3,"symbolLocation":211},{"imageOffset":460367,"sourceLine":4133,"sourceFile":"WebKitLibrary.g.swift","symbol":"closure #1 in PigeonApiWKScriptMessageHandler.didReceiveScriptMessage(pigeonInstance:controller:message:completion:)","imageIndex":3,"symbolLocation":447},{"imageOffset":157863,"sourceFile":"\/<compiler-generated>","symbol":"thunk for @escaping @callee_guaranteed (@in_guaranteed Any?) -> ()","symbolLocation":151,"imageIndex":3},{"imageOffset":5787548,"symbol":"__48-[FlutterBasicMessageChannel sendMessage:reply:]_block_invoke","symbolLocation":79,"imageIndex":4},{"imageOffset":566761,"symbol":"fml::MessageLoopImpl::FlushTasks(fml::FlushType)","symbolLocation":163,"imageIndex":4},{"imageOffset":591320,"symbol":"fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)","symbolLocation":26,"imageIndex":4},{"imageOffset":594218,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__","symbolLocation":20,"imageIndex":10},{"imageOffset":593079,"symbol":"__CFRunLoopDoTimer","symbolLocation":801,"imageIndex":10},{"imageOffset":590907,"symbol":"__CFRunLoopDoTimers","symbolLocation":243,"imageIndex":10},{"imageOffset":568107,"symbol":"__CFRunLoopRun","symbolLocation":2265,"imageIndex":10},{"imageOffset":564753,"symbol":"CFRunLoopRunSpecific","symbolLocation":550,"imageIndex":10},{"imageOffset":12491,"symbol":"GSEventRunModal","symbolLocation":137,"imageIndex":11},{"imageOffset":19966016,"symbol":"-[UIApplication _run]","symbolLocation":875,"imageIndex":12},{"imageOffset":19986305,"symbol":"UIApplicationMain","symbolLocation":123,"imageIndex":12},{"imageOffset":2591795,"imageIndex":12},{"imageOffset":9675,"sourceFile":"\/<compiler-generated>","symbol":"static UIApplicationDelegate.main()","symbolLocation":123,"imageIndex":2},{"imageOffset":9543,"sourceFile":"\/<compiler-generated>","symbol":"static AppDelegate.$main()","symbolLocation":39,"imageIndex":2},{"imageOffset":9784,"sourceLine":5,"sourceFile":"AppDelegate.swift","symbol":"__debug_main_executable_dylib_entry_point","imageIndex":2,"symbolLocation":24},{"imageOffset":4441887864,"imageIndex":13},{"imageOffset":25904,"symbol":"start","symbolLocation":3056,"imageIndex":0}]},{"id":262971,"frames":[{"imageOffset":6196,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":3331},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145446035456},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145446558584},"rbx":{"value":123145446559744},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":4440934452},"rbp":{"value":0},"rsp":{"value":123145446559744},"r12":{"value":5193734},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145446559744}}},{"id":262974,"name":"com.apple.uikit.eventfetch-thread","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":46192373268480},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":46192373268480},"r9":{"value":46192373268480},"r15":{"value":2},"rbx":{"value":123145448164736},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":4442729290},"rbp":{"value":123145448164576},"rsp":{"value":123145448164472},"r12":{"value":46192373268480},"rcx":{"value":123145448164472},"flavor":"x86_THREAD_STATE","rdi":{"value":123145448164736}},"frames":[{"imageOffset":2890,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63236,"symbol":"mach_msg2_internal","symbolLocation":83,"imageIndex":6},{"imageOffset":31683,"symbol":"mach_msg_overwrite","symbolLocation":574,"imageIndex":6},{"imageOffset":3643,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":590399,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":567235,"symbol":"__CFRunLoopRun","symbolLocation":1393,"imageIndex":10},{"imageOffset":564753,"symbol":"CFRunLoopRunSpecific","symbolLocation":550,"imageIndex":10},{"imageOffset":8575363,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":14},{"imageOffset":8575993,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":14},{"imageOffset":20911888,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":518,"imageIndex":12},{"imageOffset":8750836,"symbol":"__NSThread__start__","symbolLocation":1007,"imageIndex":14},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262975,"frames":[{"imageOffset":6196,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":12803},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145448181760},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145448704888},"rbx":{"value":123145448706048},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":4440934452},"rbp":{"value":0},"rsp":{"value":123145448706048},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145448706048}}},{"id":262976,"frames":[{"imageOffset":6196,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":16899},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145448718336},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145449241464},"rbx":{"value":123145449242624},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":4440934452},"rbp":{"value":0},"rsp":{"value":123145449242624},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145449242624}}},{"id":262977,"frames":[{"imageOffset":6196,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":17411},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145449254912},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145449778040},"rbx":{"value":123145449779200},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":4440934452},"rbp":{"value":0},"rsp":{"value":123145449779200},"r12":{"value":5193734},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145449779200}}},{"id":262992,"name":"io.flutter.1.raster","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":103366977912832},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":103366977912832},"r9":{"value":103366977912832},"r15":{"value":2},"rbx":{"value":123145451884544},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":4442729290},"rbp":{"value":123145451884384},"rsp":{"value":123145451884280},"r12":{"value":103366977912832},"rcx":{"value":123145451884280},"flavor":"x86_THREAD_STATE","rdi":{"value":123145451884544}},"frames":[{"imageOffset":2890,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63236,"symbol":"mach_msg2_internal","symbolLocation":83,"imageIndex":6},{"imageOffset":31683,"symbol":"mach_msg_overwrite","symbolLocation":574,"imageIndex":6},{"imageOffset":3643,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":590399,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":567235,"symbol":"__CFRunLoopRun","symbolLocation":1393,"imageIndex":10},{"imageOffset":564753,"symbol":"CFRunLoopRunSpecific","symbolLocation":550,"imageIndex":10},{"imageOffset":591637,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":4},{"imageOffset":566528,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":4},{"imageOffset":587191,"symbol":"std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()()","symbolLocation":135,"imageIndex":4},{"imageOffset":586523,"symbol":"fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*)","symbolLocation":27,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262993,"name":"io.flutter.1.io","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":124257698840576},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":124257698840576},"r9":{"value":124257698840576},"r15":{"value":2},"rbx":{"value":123145453993984},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":4442729290},"rbp":{"value":123145453993824},"rsp":{"value":123145453993720},"r12":{"value":124257698840576},"rcx":{"value":123145453993720},"flavor":"x86_THREAD_STATE","rdi":{"value":123145453993984}},"frames":[{"imageOffset":2890,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63236,"symbol":"mach_msg2_internal","symbolLocation":83,"imageIndex":6},{"imageOffset":31683,"symbol":"mach_msg_overwrite","symbolLocation":574,"imageIndex":6},{"imageOffset":3643,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":590399,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":567235,"symbol":"__CFRunLoopRun","symbolLocation":1393,"imageIndex":10},{"imageOffset":564753,"symbol":"CFRunLoopRunSpecific","symbolLocation":550,"imageIndex":10},{"imageOffset":591637,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":4},{"imageOffset":566528,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":4},{"imageOffset":587191,"symbol":"std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()()","symbolLocation":135,"imageIndex":4},{"imageOffset":586523,"symbol":"fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*)","symbolLocation":27,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262994,"name":"io.flutter.1.profiler","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":115461605818368},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":115461605818368},"r9":{"value":115461605818368},"r15":{"value":2},"rbx":{"value":123145456103424},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":4442729290},"rbp":{"value":123145456103264},"rsp":{"value":123145456103160},"r12":{"value":115461605818368},"rcx":{"value":123145456103160},"flavor":"x86_THREAD_STATE","rdi":{"value":123145456103424}},"frames":[{"imageOffset":2890,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63236,"symbol":"mach_msg2_internal","symbolLocation":83,"imageIndex":6},{"imageOffset":31683,"symbol":"mach_msg_overwrite","symbolLocation":574,"imageIndex":6},{"imageOffset":3643,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":590399,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":567235,"symbol":"__CFRunLoopRun","symbolLocation":1393,"imageIndex":10},{"imageOffset":564753,"symbol":"CFRunLoopRunSpecific","symbolLocation":550,"imageIndex":10},{"imageOffset":591637,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":4},{"imageOffset":566528,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":4},{"imageOffset":587191,"symbol":"std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()()","symbolLocation":135,"imageIndex":4},{"imageOffset":586523,"symbol":"fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*)","symbolLocation":27,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262995,"name":"io.worker.1","threadState":{"r13":{"value":4402341479680},"rax":{"value":4},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":4448086568},"rsi":{"value":4402341479680},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":1024},"r10":{"value":0},"r9":{"value":160},"r15":{"value":1024},"rbx":{"value":123145456644096},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145456643648},"rsp":{"value":123145456643496},"r12":{"value":123145456643520},"rcx":{"value":123145456643496},"flavor":"x86_THREAD_STATE","rdi":{"value":4448086568}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":425100,"symbol":"std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&)","symbolLocation":18,"imageIndex":4},{"imageOffset":552499,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":167,"imageIndex":4},{"imageOffset":554629,"symbol":"void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*)","symbolLocation":233,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262996,"name":"io.worker.2","threadState":{"r13":{"value":4398046512896},"rax":{"value":4},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":4448086568},"rsi":{"value":4398046512896},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":1024},"r10":{"value":0},"r9":{"value":160},"r15":{"value":1024},"rbx":{"value":123145457180672},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145457180224},"rsp":{"value":123145457180072},"r12":{"value":123145457180096},"rcx":{"value":123145457180072},"flavor":"x86_THREAD_STATE","rdi":{"value":4448086568}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":425100,"symbol":"std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&)","symbolLocation":18,"imageIndex":4},{"imageOffset":552499,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":167,"imageIndex":4},{"imageOffset":554629,"symbol":"void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*)","symbolLocation":233,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262997,"name":"io.worker.3","threadState":{"r13":{"value":4398046512640},"rax":{"value":4},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":4448086568},"rsi":{"value":4398046512640},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":1024},"r10":{"value":0},"r9":{"value":160},"r15":{"value":1024},"rbx":{"value":123145457717248},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145457716800},"rsp":{"value":123145457716648},"r12":{"value":123145457716672},"rcx":{"value":123145457716648},"flavor":"x86_THREAD_STATE","rdi":{"value":4448086568}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":425100,"symbol":"std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&)","symbolLocation":18,"imageIndex":4},{"imageOffset":552499,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":167,"imageIndex":4},{"imageOffset":554629,"symbol":"void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*)","symbolLocation":233,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262998,"name":"io.worker.4","threadState":{"r13":{"value":4398046513152},"rax":{"value":260},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":4448086568},"rsi":{"value":4398046513152},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":1024},"r10":{"value":0},"r9":{"value":160},"r15":{"value":1024},"rbx":{"value":123145458253824},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145458253376},"rsp":{"value":123145458253224},"r12":{"value":123145458253248},"rcx":{"value":123145458253224},"flavor":"x86_THREAD_STATE","rdi":{"value":4448086568}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":425100,"symbol":"std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&)","symbolLocation":18,"imageIndex":4},{"imageOffset":552499,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":167,"imageIndex":4},{"imageOffset":554629,"symbol":"void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*)","symbolLocation":233,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":262999,"name":"dart:io EventHandler","threadState":{"r13":{"value":123145459313984},"rax":{"value":4},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":105553156135608},"rsi":{"value":0},"r8":{"value":16},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":123145459313984},"r9":{"value":123145459312928},"r15":{"value":109911},"rbx":{"value":105553156135584},"trap":{"value":133},"err":{"value":33554795},"r11":{"value":582},"rip":{"value":4442748962},"rbp":{"value":123145459314544},"rsp":{"value":123145459312920},"r12":{"value":123145459312928},"rcx":{"value":123145459312920},"flavor":"x86_THREAD_STATE","rdi":{"value":7}},"frames":[{"imageOffset":22562,"symbol":"kevent","symbolLocation":10,"imageIndex":6},{"imageOffset":5511800,"symbol":"dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)","symbolLocation":312,"imageIndex":4},{"imageOffset":5626819,"symbol":"dart::bin::ThreadStart(void*)","symbolLocation":83,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263001,"name":"Dart Profiler ThreadInterrupter","threadState":{"r13":{"value":5247973295564288},"rax":{"value":260},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":105553162424136},"rsi":{"value":5247973295564288},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":1220096},"r10":{"value":0},"r9":{"value":160},"r15":{"value":1220096},"rbx":{"value":123145460375552},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145460374240},"rsp":{"value":123145460374088},"r12":{"value":123145460374112},"rcx":{"value":123145460374088},"flavor":"x86_THREAD_STATE","rdi":{"value":105553162424136}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":5942991,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":143,"imageIndex":4},{"imageOffset":7458210,"symbol":"dart::ThreadInterrupter::ThreadMain(unsigned long)","symbolLocation":322,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263002,"name":"Dart Profiler SampleBlockProcessor","threadState":{"r13":{"value":111054969398784},"rax":{"value":260},"rflags":{"value":663},"cpu":{"value":0},"r14":{"value":105553162424776},"rsi":{"value":111054969398784},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":256},"r10":{"value":0},"r9":{"value":160},"r15":{"value":256},"rbx":{"value":26112},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":663},"rip":{"value":4442740470},"rbp":{"value":123145461435056},"rsp":{"value":123145461434904},"r12":{"value":105553162424704},"rcx":{"value":123145461434904},"flavor":"x86_THREAD_STATE","rdi":{"value":105553162424776}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25261,"symbol":"_pthread_cond_wait","symbolLocation":1039,"imageIndex":7},{"imageOffset":5942974,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":126,"imageIndex":4},{"imageOffset":7158958,"symbol":"dart::SampleBlockProcessor::ThreadMain(unsigned long)","symbolLocation":270,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263003,"name":"DartWorker","threadState":{"r13":{"value":127547643819264},"rax":{"value":260},"rflags":{"value":663},"cpu":{"value":0},"r14":{"value":105553156231632},"rsi":{"value":127547643819264},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":29696},"r10":{"value":0},"r9":{"value":160},"r15":{"value":29696},"rbx":{"value":29952},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":663},"rip":{"value":4442740470},"rbp":{"value":123145462495856},"rsp":{"value":123145462495704},"r12":{"value":4451230232},"rcx":{"value":123145462495704},"flavor":"x86_THREAD_STATE","rdi":{"value":105553156231632}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25261,"symbol":"_pthread_cond_wait","symbolLocation":1039,"imageIndex":7},{"imageOffset":5942974,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":126,"imageIndex":4},{"imageOffset":7462024,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":600,"imageIndex":4},{"imageOffset":7462355,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":115,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263027,"name":"DartWorker","threadState":{"r13":{"value":240797341506560},"rax":{"value":260},"rflags":{"value":663},"cpu":{"value":0},"r14":{"value":105553156214672},"rsi":{"value":240797341506560},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":56064},"r10":{"value":0},"r9":{"value":160},"r15":{"value":56064},"rbx":{"value":56320},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":663},"rip":{"value":4442740470},"rbp":{"value":123145464617504},"rsp":{"value":123145464617352},"r12":{"value":4450185592},"rcx":{"value":123145464617352},"flavor":"x86_THREAD_STATE","rdi":{"value":105553156214672}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25261,"symbol":"_pthread_cond_wait","symbolLocation":1039,"imageIndex":7},{"imageOffset":5942974,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":126,"imageIndex":4},{"imageOffset":6354285,"symbol":"dart::MutatorThreadPool::OnEnterIdleLocked(dart::MutexLocker*, dart::ThreadPool::Worker*)","symbolLocation":253,"imageIndex":4},{"imageOffset":7461536,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":112,"imageIndex":4},{"imageOffset":7462355,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":115,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263031,"name":"DartWorker","threadState":{"r13":{"value":101159364746496},"rax":{"value":260},"rflags":{"value":663},"cpu":{"value":0},"r14":{"value":105553156184976},"rsi":{"value":101159364746496},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":23552},"r10":{"value":0},"r9":{"value":160},"r15":{"value":23552},"rbx":{"value":23808},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":663},"rip":{"value":4442740470},"rbp":{"value":123145465678448},"rsp":{"value":123145465678296},"r12":{"value":4451230232},"rcx":{"value":123145465678296},"flavor":"x86_THREAD_STATE","rdi":{"value":105553156184976}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25261,"symbol":"_pthread_cond_wait","symbolLocation":1039,"imageIndex":7},{"imageOffset":5942974,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":126,"imageIndex":4},{"imageOffset":7462024,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":600,"imageIndex":4},{"imageOffset":7462355,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":115,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263246,"name":"JavaScriptCore libpas scavenger","threadState":{"r13":{"value":63775969393408},"rax":{"value":260},"rflags":{"value":583},"cpu":{"value":0},"r14":{"value":4836092032},"rsi":{"value":63775969393408},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":160},"r15":{"value":0},"rbx":{"value":123145466216448},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":582},"rip":{"value":4442740470},"rbp":{"value":123145466216240},"rsp":{"value":123145466216088},"r12":{"value":123145466216112},"rcx":{"value":123145466216088},"flavor":"x86_THREAD_STATE","rdi":{"value":4836092032}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25210,"symbol":"_pthread_cond_wait","symbolLocation":988,"imageIndex":7},{"imageOffset":26846535,"symbol":"scavenger_thread_main","symbolLocation":1607,"imageIndex":15},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":263339,"name":"DartWorker","threadState":{"r13":{"value":47283294972928},"rax":{"value":260},"rflags":{"value":663},"cpu":{"value":0},"r14":{"value":105553156215536},"rsi":{"value":47283294972928},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":11008},"r10":{"value":0},"r9":{"value":160},"r15":{"value":11008},"rbx":{"value":11264},"trap":{"value":133},"err":{"value":33554737},"r11":{"value":663},"rip":{"value":4442740470},"rbp":{"value":123145467275888},"rsp":{"value":123145467275736},"r12":{"value":4451230232},"rcx":{"value":123145467275736},"flavor":"x86_THREAD_STATE","rdi":{"value":105553156215536}},"frames":[{"imageOffset":14070,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":25261,"symbol":"_pthread_cond_wait","symbolLocation":1039,"imageIndex":7},{"imageOffset":5942974,"symbol":"dart::ConditionVariable::WaitMicros(dart::Mutex*, long long)","symbolLocation":126,"imageIndex":4},{"imageOffset":7462024,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":600,"imageIndex":4},{"imageOffset":7462355,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":115,"imageIndex":4},{"imageOffset":7137758,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":4},{"imageOffset":24049,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":6231,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4493713408,
"size" : 634880,
"uuid" : "3771ea6a-0fe5-3b63-961d-c09e01d5e680",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4440150016,
"CFBundleShortVersionString" : "1.0.0",
"CFBundleIdentifier" : "com.example.webviewIssue",
"size" : 16384,
"uuid" : "da6278e5-eafd-3dc0-a24c-c4b53945da41",
"path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/6DB15AAB-9A5A-4758-BC9D-316C98627651\/data\/Containers\/Bundle\/Application\/1F3F6B07-D0CB-4586-9E95-D594D72989BC\/Runner.app\/Runner",
"name" : "Runner",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4440309760,
"size" : 32768,
"uuid" : "41707420-e8c1-3b5e-b82b-809214ae2bb0",
"path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/6DB15AAB-9A5A-4758-BC9D-316C98627651\/data\/Containers\/Bundle\/Application\/1F3F6B07-D0CB-4586-9E95-D594D72989BC\/Runner.app\/Runner.debug.dylib",
"name" : "Runner.debug.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4444581888,
"CFBundleShortVersionString" : "0.0.1",
"CFBundleIdentifier" : "org.cocoapods.webview-flutter-wkwebview",
"size" : 782336,
"uuid" : "e7fec3f6-b2e2-301b-bf54-e8f6f86c622d",
"path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/6DB15AAB-9A5A-4758-BC9D-316C98627651\/data\/Containers\/Bundle\/Application\/1F3F6B07-D0CB-4586-9E95-D594D72989BC\/Runner.app\/Frameworks\/webview_flutter_wkwebview.framework\/webview_flutter_wkwebview",
"name" : "webview_flutter_wkwebview",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4544233472,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "io.flutter.flutter",
"size" : 35917824,
"uuid" : "4c4c4421-5555-3144-a16c-6280ad44413c",
"path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/6DB15AAB-9A5A-4758-BC9D-316C98627651\/data\/Containers\/Bundle\/Application\/1F3F6B07-D0CB-4586-9E95-D594D72989BC\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
"name" : "Flutter",
"CFBundleVersion" : "1.0"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4440207360,
"size" : 40960,
"uuid" : "1fb5adb0-059e-3369-9c63-abde93e91499",
"path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
"name" : "libsystem_platform.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4442726400,
"size" : 249856,
"uuid" : "dab10aa4-8afa-3d02-9cde-6023554ac858",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4440928256,
"size" : 49152,
"uuid" : "a6d1f05a-0743-31b7-9fe2-268f06ccd51a",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4441522176,
"size" : 53248,
"uuid" : "28a81a16-8442-39ce-b8ac-a414f3f42894",
"path" : "\/Volumes\/VOLUME\/*\/libobjc-trampolines.dylib",
"name" : "libobjc-trampolines.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703518253056,
"size" : 5160950,
"uuid" : "7d05013b-8b99-3b94-bb56-9933569f5925",
"path" : "\/Volumes\/VOLUME\/*\/libswiftCore.dylib",
"name" : "libswiftCore.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703132413952,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 3657723,
"uuid" : "e2ec0ca2-818c-3ff4-b01c-c8b288577398",
"path" : "\/Volumes\/VOLUME\/*\/CoreFoundation.framework\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "3208"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703427624960,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.GraphicsServices",
"size" : 32763,
"uuid" : "e219f3a2-1dc5-3948-86f5-ecf076e2c10e",
"path" : "\/Volumes\/VOLUME\/*\/GraphicsServices.framework\/GraphicsServices",
"name" : "GraphicsServices",
"CFBundleVersion" : "1.0"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703214186496,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.UIKitCore",
"size" : 35917811,
"uuid" : "dc1b25e9-1ce4-3db1-8c4e-a06e5d41d356",
"path" : "\/Volumes\/VOLUME\/*\/UIKitCore.framework\/UIKitCore",
"name" : "UIKitCore",
"CFBundleVersion" : "8220.1.104"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703136571392,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.Foundation",
"size" : 13615097,
"uuid" : "ca5964a3-6077-3081-a1f4-a905f0f9938b",
"path" : "\/Volumes\/VOLUME\/*\/Foundation.framework\/Foundation",
"name" : "Foundation",
"CFBundleVersion" : "3208"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703568519168,
"CFBundleShortVersionString" : "8620",
"CFBundleIdentifier" : "com.apple.JavaScriptCore",
"size" : 29228920,
"uuid" : "43a3af67-9e2b-31c7-aae8-f3597ef42f25",
"path" : "\/Volumes\/VOLUME\/*\/JavaScriptCore.framework\/JavaScriptCore",
"name" : "JavaScriptCore",
"CFBundleVersion" : "8620.1.16.10.11"
}
],
"sharedCache" : {
"base" : 140703128616960,
"size" : 21474836480,
"uuid" : "4e809102-a44a-3cb9-9457-c5238f06e0aa"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=899.3M resident=0K(0%) swapped_out_or_unallocated=899.3M(100%)\nWritable regions: Total=5.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=5.9G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 80K 5 \nFoundation 16K 1 \nIOSurface 23.0M 7 \nJS JIT generated code 1.0G 3 \nKernel Alloc Once 8K 1 \nMALLOC 601.2M 50 \nMALLOC guard page 32K 8 \nSTACK GUARD 56.1M 21 \nStack 26.2M 22 \nVM_ALLOCATE 213.7M 218 \nVM_ALLOCATE (reserved) 3.9G 1 reserved VM address space (unallocated)\nWebKit Malloc 192.0M 5 \n__DATA 20.2M 512 \n__DATA_CONST 53.3M 525 \n__DATA_DIRTY 39K 15 \n__FONT_DATA 2352 1 \n__LINKEDIT 203.5M 11 \n__OBJC_RO 77.0M 1 \n__OBJC_RW 2703K 1 \n__TEXT 695.8M 542 \n__TPRO_CONST 8K 2 \ndyld private memory 28.3G 25 \nmapped file 89.2M 32 \nshared memory 24K 3 \n=========== ======= ======= \nTOTAL 35.4G 2013 \nTOTAL, minus reserved VM space 31.5G 2013 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"logWritingSignature" : "3425275547bfb9a561753619964e6e6122a5cea5",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6425c75e4327780c10cc4252",
"factorPackIds" : {
"SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
},
"deploymentId" : 240000004
},
{
"rolloutId" : "6297d96be2c9387df974efa4",
"factorPackIds" : {
},
"deploymentId" : 240000032
}
],
"experiments" : [
]
}
}
Model: MacBookPro16,2, BootROM 2075.120.2.0.0 (iBridge: 22.16.15072.0.0,0), 4 processors, Quad-Core Intel Core i5, 2 GHz, 16 GB, SMC
Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 26 2024 22:36:01 version 9.30.514.0.32.5.94 FWID 01-68d7ff80
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: iPhone
USB Device: USB31Bus
USB Device: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0
This seems related to an earlier fix: https://github.com/flutter/flutter/issues/162352.
This is most likely caused by the fact that plugins are not aware of a hot-restart: https://github.com/flutter/flutter/issues/10437. On hot restart, the Dart side and native side are temporarily out of sync, so any call from the native side would fail because it needs to wait to be notified by the Dart side that it should reset state.
I think the real question is whether the plugin should throw an assertion and crash the app. Alternatively, Flutter method call failures could just print the error instead.
Alternatively, Flutter method call failures could just print the error instead.
Can you print a warning message instead of crashing the whole app?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.