Skip to content

"complex_layout" project will crash when scrolling if you use debug local engine #107622

@ColdPaleLight

Description

@ColdPaleLight

The current master channel will crash when running the complex layout if using the debug local engine.

Steps to reproduce

  1. cd flutter/dev/benchmarks/complex_layout
    https://github.com/flutter/flutter/tree/master/dev/benchmarks/complex_layout
  2. Compile android debug local engine
  3. flutter run --local-engine-src-path= your_path/engine/src --local-engine=android_debug_unopt
  4. Keep scrolling down, you will encounter this fatal crash
F/flutter (27639): [FATAL:flutter/flow/raster_cache.cc(38)] Check failed: std::abs(bounds.width() - image_->dimensions().width()) <= 1 && std::abs(bounds.height() - image_->dimensions().height()) <= 1.
flutter doctor -v
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1649, on macOS 12.2.1 21D62 darwin-arm (Rosetta), locale zh-Hans-CN)
    • Flutter version 3.1.0-0.0.pre.1649 on channel master at /Users/bytedance/Develop/upstream/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bf1049741d (2 hours ago), 2022-07-14 00:42:06 -0400
    • Engine revision eb4e184fa1
    • Dart version 2.18.0 (build 2.18.0-283.0.dev)
    • DevTools version 2.15.0
    • Pub download mirror https://dart-pub.byted.org
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/bytedance/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • 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 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • M2011K2C (mobile) • e717b6a0 • android-arm64  • Android 12 (API 31)
    • macOS (desktop)   • macos    • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm (Rosetta)
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions