go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.85k stars 283 forks source link

App 'go_flutter' exited with error: exit status 0xc0000005 #647

Closed lozn00 closed 2 years ago

lozn00 commented 2 years ago

Hover doctor

PS C:\project\go_flutter> hover doctor

hover: Hover version v0.47.0 running on windows
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: Packaging darwin-dmg is not supported on windows
hover: To still package darwin-dmg on windows you need to run hover with the `--docker` flag.
hover: Packaging darwin-pkg is not supported on windows
hover: To still package darwin-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-appimage is not supported on windows
hover: To still package linux-appimage on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-deb is not supported on windows
hover: To still package linux-deb on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-pkg is not supported on windows
hover: To still package linux-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-rpm is not supported on windows
hover: To still package linux-rpm on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-snap is not supported on windows
hover: To still package linux-snap on windows you need to run hover with the `--docker` flag.
hover: To package windows-msi these tools are required: candle
hover: Install the WiX Toolset from https://wixtoolset.org/releases/
hover: To still package windows-msi without the required tools installed you need to run hover with the `--docker` flag.
hover: 
hover: Sharing flutter version
Flutter 2.13.0-0.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5293f3cd44 (6 hours ago) • 2022-04-27 12:37:50 -0700
Engine • revision 3096903c89
Tools • Dart 2.17.0 (build 2.17.0-266.7.beta) • DevTools 2.12.2
hover: Flutter engine commit: https://github.com/flutter/engine/commit/3096903c8923608d3c1ccf8058a29c31a2bfbc53
hover: Finding out the C compiler version
gcc (tdm64-1) 10.3.0
Copyright (c) 2020 Free Software Foundation, Inc.
hover: Sharing the content of go.mod
module go_flutter/go

go 1.18

require (
        github.com/go-flutter-desktop/go-flutter v0.44.0
        github.com/pkg/errors v0.9.1
)

require (
        github.com/Xuanwo/go-locale v1.1.0 // indirect
        github.com/go-gl/gl v0.0.0-20211025173605-bda47ffaa784 // indirect
        github.com/go-gl/glfw/v3.3/glfw v0.0.0-20211024062804-40e447a793be // indirect
        golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
        golang.org/x/text v0.3.7 // indirect
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: com.goflutter
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go\cmd\main.go  go\cmd\options.go
PS C:\project\go_flutter>

Error output

Using hover build [...] --XXX to build my application, I get the following error:

PS C:\project\go_flutter> hover run

hover: Using engine from cache
hover: Cleaning the build directory
hover: Bundling flutter app
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

 Building with sound null safety 

hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for windows
hover: Build finished, starting app...       
hover: Running go_flutter in debug_unopt mode
hover: App 'go_flutter' exited with error: exit status 0xc0000005
PS C:\project\go_flutter> 
pchampio commented 2 years ago

I cannot do much with this error code. Maybe if you are able to generate core dump or some additional trace log, we will be able to give you some pointers.

pchampio commented 2 years ago

should be fixed in v0.50.0