Skip to content

Impeller macOS app cannot load glyphs - "Break on 'ImpellerValidationBreak' to inspect point of failure: Could not create valid atlas." #155186

@jmagman

Description

@jmagman

Steps to reproduce

$ flutter create macimp
$ cd macimp

Open macos/Runner.Info.plist and add FLTEnableImpeller = YES

$ flutter run -d macos

This does not reproduce on iOS.

Expected results

Normal counter app

Actual results

empty_glyphs_mac_app

[ERROR:flutter/impeller/typographer/lazy_glyph_atlas.cc(85)] Break on 'ImpellerValidationBreak' to inspect point of failure: Could not create valid atlas.
[ERROR:flutter/impeller/entity/contents/text_contents.cc(107)] Break on 'ImpellerValidationBreak' to inspect point of failure: Cannot render glyphs without prepared atlas.

Bisected to 2fb154f.

Also note (not sure if any of this is relevant):

  1. I'm on macOS Sequoia release candidate (theoretically one of the last betas before the full release).
  2. My machine is in Chinese because I am trying to reproduce a different issue. I rebooted into English and it still reproduces.

Logs

Logs
[ERROR:flutter/impeller/typographer/lazy_glyph_atlas.cc(85)] Break on 'ImpellerValidationBreak' to inspect point of failure: Could not create valid atlas.
[ERROR:flutter/impeller/entity/contents/text_contents.cc(107)] Break on 'ImpellerValidationBreak' to inspect point of failure: Cannot render glyphs without prepared atlas.

Flutter Doctor output

Doctor output
$ flutter doctor -v
[!] Flutter (Channel [user-branch], 3.26.0-1.0.pre.70, on macOS 15.0 24A335 darwin-arm64, locale zh-Hans-US)
    ! Flutter version 3.26.0-1.0.pre.70 on channel [user-branch] at /Users/magder/Projects/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 2fb154f820 (3 days ago), 2024-09-10 20:26:07 -0400
    • Engine revision 60c15bc0f4
    • Dart version 3.6.0 (build 3.6.0-236.0.dev)
    • DevTools version 2.39.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/magder/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/magder/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Users/magder/Applications/Xcode-16_RC.app/Contents/Developer
    • Build 16A242
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Community Edition (version 2022.3.3)
    • IntelliJ at /Users/magder/Library/Application Support/JetBrains/IntelliJCE_Base2022.3/IntelliJ IDEA CE.app
    • Flutter plugin version 77.1.1
    • Dart plugin version 223.8977

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

[✓] Connected device (5 available)
    • Purple 14 (mobile)              • 00008110-0009588C2651401E • ios            • iOS 18.0 22A5350a
    • iPad Pro 11 (mobile)            • 00008103-001C78640A07001E • ios            • iOS 17.3 21D50
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.0 24A335 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.0 24A335 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 128.0.6613.138

[✓] Network resources
    • All expected network resources are available.

Metadata

Metadata

Assignees

Labels

e: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.platform-macBuilding on or for macOS specificallyteam-engineOwned by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions