Skip to content

[ERROR:flutter/shell/platform/windows/flutter_windows_view.cc(603)] Reached unreachable code. #141855

@TENX-S

Description

@TENX-S

Steps to reproduce

  1. flutter create --platforms=windows demo4
  2. flutter run -d windows
  3. resizing the window.
  4. program crashed

Expected results

program not crashed.

Actual results

program crashed

Code sample

Just use flutter default example

Screenshots or Video

bug.mp4

Logs

flutter run -d windows
Launching lib\main.dart on Windows in debug mode...
Building Windows application...                                     5.4s
✓  Built build\windows\x64\runner\Debug\demo4.exe.
Syncing files to device Windows...                                  33ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Windows is available at: http://127.0.0.1:4634/j4gJP0JqOVs=/
The Flutter DevTools debugger and profiler on Windows is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:4634/j4gJP0JqOVs=/
[ERROR:flutter/shell/platform/windows/flutter_windows_view.cc(603)] Reached unreachable code.
Lost connection to device.

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.19.0-8.0.pre.47, on Microsoft Windows [Version 10.0.22631.3007], locale en-US)
    • Flutter version 3.19.0-8.0.pre.47 on channel master at D:\Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 46bbf4029a (11 hours ago), 2024-01-18 20:09:13 -0500
    • Engine revision 90be25d8aa
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Ares\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: D:\Programs\JetBrains\Toolbox\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.8.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
    • Visual Studio Enterprise 2022 version 17.8.34408.163
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.1)
    • Android Studio at D:\Programs\JetBrains\Toolbox\Android Studio
    • 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-b2043.56-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at D:\Programs\JetBrains\Toolbox\IntelliJ IDEA Ultimate
    • Flutter plugin version 77.0.1
    • Dart plugin version 233.13135.65

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

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3007]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 119.0.6045.124
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.133

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

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

a: desktopRunning on desktopc: crashStack traces logged to the consolec: regressionIt was better in the past than it is nowe: OS-version specificAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.found in release: 3.19Found to occur in 3.19has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-windowsOwned by the Windows platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions