Skip to content

Flutter 3.32.8 - iOS - FlutterError Exception: Image upload failed due to loss of GPU access #173269

@leikeke

Description

@leikeke

Steps to reproduce

My Flutter version is 3.27.4, and my iOS app, developed purely for Flutter, has been in the background for extended periods of time, perhaps several hours, and then hot-started back to the foreground.

Expected results

I was hoping everything would work fine.

Actual results

However, most images loaded from Boundary appear white. My Flutter version is 3.27.4, and after upgrading to 3.32.6, the images turn purple. This issue persists. I also found output code in the Flutter source code. Is there a solution? How have other pure Flutter apps resolved this issue? The app has requested background operation.

Code sample

Code sample
FlutterError Exception: Image upload failed due to loss of GPU access

Screenshots or Video

Screenshots / Video demonstration Image

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
flutter doctor -v
[✓] Flutter (Channel stable, 3.32.8, on macOS 15.1.1 24B91 darwin-arm64, locale zh-Hans-CN) [466ms]
    • Flutter version 3.32.8 on channel stable at /opt/homebrew/Caskroom/flutter/3.16.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision edada7c56e (11 days ago), 2025-07-25 14:08:03 +0000
    • Engine revision ef0cd00091
    • Dart version 3.8.1
    • DevTools version 2.45.1

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc4) [2.6s]
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-36, build-tools 36.0.0-rc4
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0) [964ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.16.2

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

[✓] Android Studio (version 2024.2) [10ms]
    • 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 21.0.4+-12422083-b607.1)

[✓] VS Code (version 1.102.3) [9ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.116.0

[!] Proxy Configuration [9ms]
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (5 available) [6.4s]
    • MI 8 (mobile)                   • 7d5f519f                  • android-arm64  • Android 10 (API
      29)
    • jing的iPhone (wireless) (mobile) • • ios            • iOS 18.0 22A3354
    • iPhone (mobile)            • • ios            • iOS 16.1.1 20B101
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.1.1 24B91
      darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome
      138.0.7204.184

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions