Closed
Description
Steps to reproduce
- Generate fresh flutter project:
flutter create testproject
- Compile and run for windows:
flutter run -d windows --debug
- App crashes with only a windows native crash dump / device disconnected message in flutter terminal
Expected results
Should not crash
Actual results
A fresh flutter project crashes when building and running. Not sure whether it is because of the older hardware or not (does Flutter have specific GPU requirements for Desktop builds?). A part of the crash dump has been attached to the log section, extracted from WinDbg, I sadly do not know how to exactly parse/read them, or if the extracted part is enough to find the cause.
The main PC specs:
Microsoft Windows 11 Pro
CPU: AMD FX(tm)-4300 Quad-Core Processor, 3800 MHz
Integrated Graphics: ATI Radeon 3000 Graphics
Motherboard: GA-78LMT-USB3 R2
Code sample
Fresh flutter project. N/A
Code sample
[Paste your code here]
Screenshots or Video
N/A
Screenshots / Video demonstration
[Upload media here]
Logs
Crash Dump Logs
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for flutter_windows.dll
KEY_VALUES_STRING: 1
Key : AV.Type
Value: Execute
Key : Analysis.CPU.mSec
Value: 656
Key : Analysis.Elapsed.mSec
Value: 7682
Key : Analysis.IO.Other.Mb
Value: 5
Key : Analysis.IO.Read.Mb
Value: 1
Key : Analysis.IO.Write.Mb
Value: 34
Key : Analysis.Init.CPU.mSec
Value: 265
Key : Analysis.Init.Elapsed.mSec
Value: 10148
Key : Analysis.Memory.CommitPeak.Mb
Value: 120
Key : Analysis.Version.DbgEng
Value: 10.0.27793.1000
Key : Analysis.Version.Description
Value: 10.2410.02.02 amd64fre
Key : Analysis.Version.Ext
Value: 1.2410.2.2
Key : Failure.Bucket
Value: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE_c0000005_flutter_application_1.exe!unknown_error_in_process
Key : Failure.Exception.Code
Value: 0xffffffffc0000005
Key : Failure.Hash
Value: {42961f2d-cdfd-19bc-ffde-e579cd3d1e55}
Key : Faulting.IP.Type
Value: Null
Key : ProblemClass.Collapse.After.BUCKET_ID
Value: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE
Key : ProblemClass.Collapse.After.DEFAULT_BUCKET_ID
Value: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE
Key : ProblemClass.Collapse.After.PRIMARY_PROBLEM_CLASS
Value: SOFTWARE_NX_FAULT
Key : ProblemClass.Collapse.Before.BUCKET_ID
Value: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE
Key : ProblemClass.Collapse.Before.DEFAULT_BUCKET_ID
Value: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE
Key : ProblemClass.Collapse.Before.PRIMARY_PROBLEM_CLASS
Value: SOFTWARE_NX_FAULT
Key : Timeline.OS.Boot.DeltaSec
Value: 44
Key : Timeline.Process.Start.DeltaSec
Value: 4
Key : WER.OS.Branch
Value: ni_release
Key : WER.OS.Version
Value: 10.0.22621.1
Key : WER.Process.Version
Value: 1.0.0.1
FILE_IN_CAB: flutter_application_1.exe.1012.dmp
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=0000000000000000 rbx=0000000000000000 rcx=0000000000000000
rdx=0000000000000000 rsi=0000015a2347ca00 rdi=0000015a233f7eb0
rip=0000000000000000 rsp=0000002ffe0fea88 rbp=0000000000000001
r8=000000000000043c r9=00000000000002a9 r10=0000000000000003
r11=0000000000000000 r12=0000015a337c7f38 r13=0000015a338467f8
r14=0000015a23468650 r15=0000015a337c7f30
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
00000000`00000000 ?? ???
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000000000000
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000008
Parameter[1]: 0000000000000000
Attempt to execute non-executable address 0000000000000000
PROCESS_NAME: flutter_application_1.exe
EXECUTE_ADDRESS: 0
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
EXCEPTION_PARAMETER1: 0000000000000008
EXCEPTION_PARAMETER2: 0000000000000000
STACK_TEXT:
0000002f`fe0fea88 00007ffc`0f984f45 : 00000000`00000000 00000000`00000001 00000000`00000000 0000002f`fe0feb59 : 0x0
0000002f`fe0fea90 00007ffc`0f999a5b : 00000000`00000000 0000002f`00000000 0000015a`233b0dd0 0000015a`233b0f78 : flutter_windows!FlutterDesktopEngineRegisterPlatformViewType+0x3605
0000002f`fe0feb40 00007ffc`0fa4cdc3 : 0000002f`fe0fee50 00000000`00000001 0000015a`338467f8 00007ffc`109a310c : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x369b
0000002f`fe0feba0 00007ffc`0fa584ff : 0000015a`2af00ec8 0000015a`2af00e50 00000000`00000000 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xb6a03
0000002f`fe0fec20 00007ffc`0fa5601e : 0000015a`2c255500 00007ffc`00000000 0000002f`fe0fef08 00007ffc`4884d69a : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xc213f
0000002f`fe0fecc0 00007ffc`1002cc35 : 0000015a`00000000 0000015a`23280000 0000015a`27975100 0000002f`fe0ff0e0 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xbfc5e
0000002f`fe0fefb0 00007ffc`1002c276 : 0000015a`2a247dc8 00007ffc`10255fc8 00000000`0284217e 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x696875
0000002f`fe0ff1e0 00007ffc`1002a654 : 00000000`00031000 0000015a`2c100000 0000015a`2a247d50 00007ffc`10255fc8 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x695eb6
0000002f`fe0ff360 00007ffc`1002b500 : 0000015a`00000003 00000000`00000001 0000015a`2346e310 00007ffc`10689d1d : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x694294
0000002f`fe0ff500 00007ffc`1002e5b3 : 00007ffc`48810000 0000015a`2a247cf8 00000000`00000000 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x695140
0000002f`fe0ff640 00007ffc`1002e870 : 00000000`00000000 00007ffc`109428d7 0000ba93`19d27f98 0000002f`fe0ff8c8 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x6981f3
0000002f`fe0ff6d0 00007ffc`1002ad92 : 0000015a`2afcac50 00000000`00000000 0000002f`fe0ff8c8 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x6984b0
0000002f`fe0ff710 00007ffc`1002a9c8 : 00000000`00000000 00000000`00000010 00000000`00000000 00000000`00000001 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x6949d2
0000002f`fe0ff780 00007ffc`10040f81 : 0000002f`fe0ffa10 00007ffc`0f999316 0000015a`2aed4000 0000ba93`19d27008 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x694608
0000002f`fe0ff950 00007ffc`0f9c5a3c : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x6aabc1
0000002f`fe0ff9a0 00007ffc`0f9cfad6 : 0000002f`fe0ffab8 0000015a`00000000 0000002f`00000000 00000000`00000378 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x2f67c
0000002f`fe0ffa90 00007ffc`0f9c5953 : 0000002f`fe0ffc40 0000002f`fd57dcc0 0000ba93`19d273f8 0000015a`27971390 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x39716
0000002f`fe0ffbf0 00007ffc`0f9ca02c : 0000015a`23492520 00000000`00000001 00000000`00000000 00007ffc`4612976b : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x2f593
0000002f`fe0ffc20 00007ffc`0f9c9e38 : 00000000`00000000 0000015a`27982f10 00000000`00000000 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x33c6c
0000002f`fe0ffc70 00007ffc`1097b6a2 : 0000015a`23492520 00000000`00000000 00000000`00000000 00000000`00000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x33a78
0000002f`fe0ffca0 00007ffc`483b259d : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : flutter_windows!InternalFlutterGpu_Texture_AsImage+0x8aa1b2
0000002f`fe0ffcd0 00007ffc`4886af38 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
0000002f`fe0ffd00 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28
STACK_COMMAND: ~7s; .ecxr ; kb
SYMBOL_NAME: flutter_application_1.exe!unknown_error_in_process
MODULE_NAME: flutter_application_1
IMAGE_NAME: flutter_application_1.exe
FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_NULL_INVALID_POINTER_EXECUTE_c0000005_flutter_application_1.exe!unknown_error_in_process
OS_VERSION: 10.0.22621.1
BUILDLAB_STR: ni_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 1.0.0.1
FAILURE_ID_HASH: {42961f2d-cdfd-19bc-ffde-e579cd3d1e55}
Followup: MachineOwner
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.29.2, on Microsoft Windows [Version 10.0.22631.5039], locale de-DE) [573ms]
• Flutter version 3.29.2 on channel stable at C:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c236373904 (3 days ago), 2025-03-13 16:17:06 -0400
• Engine revision 18b71d647a
• Dart version 3.7.2
• DevTools version 2.42.3
[✓] Windows Version (11 Pro 64-Bit, 23H2, 2009) [4,1s]
[✗] Android toolchain - develop for Android devices [261ms]
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Chrome - develop for the web [209ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.13.3) [205ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.13.35828.75
• Windows 10 SDK version 10.0.26100.0
[!] Android Studio (not installed) [32ms]
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
[✓] VS Code (version 1.98.2) [32ms]
• VS Code at C:\Users\info\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.106.0
[✓] Connected device (3 available) [399ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.5039]
• Chrome (web) • chrome • web-javascript • Google Chrome 134.0.6998.89
• Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.112
[✓] Network resources [553ms]
• All expected network resources are available.