Skip to content

[profiler] Mach thread_info kernel call fails while trying to mach_msg_send. Error MACH_SEND_INVALID_DEST #63025

@awhitford

Description

@awhitford

Steps to Reproduce

Since upgrading to Flutter 1.20.0, when I flutter run my app using the iOS Simulator, I sometimes see 1 or more of this warning:

An Observatory debugger and profiler on iPhone 11 Pro Max is available at: http://127.0.0.1:49425/MFzU_2A99ig=/
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port

Expected results:

I expect no errors.

Actual results:

Logs
[✓] Flutter (Channel stable, 1.20.0, on Mac OS X 10.15.6 19G73, locale en-US)
    • Flutter version 1.20.0 at /Users/anthony/flutter
    • Framework revision 840c9205b3 (19 hours ago), 2020-08-04 20:55:12 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc4)
    • Android SDK at /Users/anthony/Library/Android/sdk
    • Platform android-R, build-tools 30.0.0-rc4
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (2 available)
    • iPhone 11 Pro Max (mobile)     • B7F2DF40-38F4-4D13-81B0-D47A17126D4F     • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6
      (simulator)
    • iPad (7th generation) (mobile) • 91CAF267-2193-4752-A4B2-E035A2B3FC87     • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6
      (simulator)

• No issues found!

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: error messageError messages from the Flutter frameworkc: regressionIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.engineflutter/engine related. See also e: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions