Skip to content

App crashes on application close #373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
provokateurin opened this issue Mar 16, 2020 · 0 comments
Closed

App crashes on application close #373

provokateurin opened this issue Mar 16, 2020 · 0 comments
Labels
bug Something isn't working embedder Issue concerns the embedder package GLFW

Comments

@provokateurin
Copy link
Member

Hover doctor

hover: Running on linux
hover: Docker installed: true
hover: Sharing flutter version
Flutter 1.14.6 • channel beta • https://github.com/flutter/flutter
Framework • revision fabeb2a16f (7 weeks ago) • 2020-01-28 07:56:51 -0800
Engine • revision c4229bfbba
Tools • Dart 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/c4229bfbba
hover: Finding out the C compiler version
gcc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hover: Sharing the content of go.mod
module go_flutter_test/go

go 1.13

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

//replace github.com/go-flutter-desktop/go-flutter => /home/jld3103/GolandProjects/go-flutter
hover: Sharing the content of hover.yaml
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
docker: false
hover: Sharing the content of go/cmd
go/cmd/main.go  go/cmd/options.go

Error output

Using hover run to run my application, I get the following
error:

hover: Using engine from cache
hover: Cleaning the build directory
hover: Bundling flutter app
hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled
hover: Build finished, starting app...
hover: Running go_flutter_test in debug mode
flutter: Observatory listening on http://127.0.0.1:50300/6vJf_EYpfRA=/
go-flutter: calculated pixelRatio limited to a minimum of 1.0. metrics: {"dpi":90.21564482029598,"monitorWidthMm":473,"monitorWidthSc":1680,"mscpi":90.21564482029598,"pixelRatio":0.5638477801268499,"ppsc":1,"windowWidthPx":800,"windowWidthSc":800}
go-flutter: no handler found for channel flutter/isolate
Syncing files to device Flutter test device...                          
(This is taking an unexpectedly long time.)       ⣽go-flutter: closing application
(This is taking an unexpectedly long time.)       ⣻fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f8b1f508280 pc=0x7f8b1f508280]

runtime stack:
runtime.throw(0x60f4e3, 0x2a)
        /usr/lib/go/src/runtime/panic.go:1112 +0x72
runtime.sigpanic()
        /usr/lib/go/src/runtime/signal_unix.go:671 +0x46a

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x57b200, 0xc0000ddb20, 0x611f80)
        /usr/lib/go/src/runtime/cgocall.go:133 +0x5b fp=0xc0000ddaf0 sp=0xc0000ddab8 pc=0x427cbb
github.com/go-gl/glfw/v3.2/glfw._Cfunc_glfwTerminate()
        _cgo_gotypes.go:1990 +0x41 fp=0xc0000ddb20 sp=0xc0000ddaf0 pc=0x538091
github.com/go-gl/glfw/v3.2/glfw.Terminate()
        /home/jld3103/go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw.go:50 +0x25 fp=0xc0000ddb30 sp=0xc0000ddb20 pc=0x539bd5
github.com/go-flutter-desktop/go-flutter.(*Application).Run(0xc00009c000, 0x0, 0x0)
        /home/jld3103/go/pkg/mod/github.com/go-flutter-desktop/[email protected]/application.go:351 +0x101f fp=0xc0000ddec0 sp=0xc0000ddb30 pc=0x56157f
github.com/go-flutter-desktop/go-flutter.Run(0xc00000e0a0, 0x3, 0x4, 0x3, 0xc000047f68)
        /home/jld3103/go/pkg/mod/github.com/go-flutter-desktop/[email protected]/application.go:27 +0x4d fp=0xc0000ddef0 sp=0xc0000ddec0 pc=0x55febd
main.main()
        /home/jld3103/IdeaProjects/go_flutter_test/go/cmd/main.go:24 +0x188 fp=0xc0000ddf88 sp=0xc0000ddef0 pc=0x56b4f8
runtime.main()
        /usr/lib/go/src/runtime/proc.go:203 +0x212 fp=0xc0000ddfe0 sp=0xc0000ddf88 pc=0x458a12
runtime.goexit()
        /usr/lib/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0000ddfe8 sp=0xc0000ddfe0 pc=0x483821
Lost connection to device.                                      
Syncing files to device Flutter test device...                  (This is taking an unexpectedly long time.)       ⢿hover: App 'go_flutter_test' exited with error: exit status 2

After switching from Ubuntu to Arch I get this error every time I close the app either using the window manager or Ctrl+c.

@pchampio pchampio added the bug Something isn't working label Mar 16, 2020
@pchampio pchampio added embedder Issue concerns the embedder package GLFW labels Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working embedder Issue concerns the embedder package GLFW
Development

No branches or pull requests

2 participants