Skip to content
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

Crashing/Hanging when pressing "Edit" on toolbar #12

Open
glassmancody opened this issue Apr 18, 2020 · 0 comments
Open

Crashing/Hanging when pressing "Edit" on toolbar #12

glassmancody opened this issue Apr 18, 2020 · 0 comments

Comments

@glassmancody
Copy link

On Arch Linux 5.6.3 - gnome desktop. When you click the "Edit" in the toolbar the program will completely freeze up with no errors in terminal. This can be reproduced on my end every time by clicking the "Edit" button around 10 times. Sometimes it crashes with this.

Effective LogicalDPI now: 132  PhysicalDPI: 140.94798  Eff LogicalDPIScale: 0.9365157  ZoomFactor: 0.95652175
Effective LogicalDPI now: 126  PhysicalDPI: 140.94798  Eff LogicalDPIScale: 0.8939468  ZoomFactor: 0.9130435
Effective LogicalDPI now: 120  PhysicalDPI: 140.94798  Eff LogicalDPIScale: 0.8513779  ZoomFactor: 0.8695652
Effective LogicalDPI now: 114  PhysicalDPI: 140.94798  Eff LogicalDPIScale: 0.80880904  ZoomFactor: 0.82608694
GLFW: An invalid error was not accepted by the caller: FormatUnavailable: X11: Failed to convert selection to string
GLFW: Please report this bug in the Go package immediately.
panic: FormatUnavailable: X11: Failed to convert selection to string

goroutine 6 [running]:
github.com/go-gl/glfw/v3.3/glfw.acceptError(0x0, 0x0, 0x0, 0xb462d5, 0xc0008c6580)
	/home/oreilly/go/src/github.com/go-gl/glfw/v3.3/glfw/error.go:178 +0x201
github.com/go-gl/glfw/v3.3/glfw.panicError(...)
	/home/oreilly/go/src/github.com/go-gl/glfw/v3.3/glfw/error.go:185
github.com/go-gl/glfw/v3.3/glfw.PostEmptyEvent()
	/home/oreilly/go/src/github.com/go-gl/glfw/v3.3/glfw/window.go:1006 +0x38
github.com/goki/gi/oswin/driver/glos.(*appImpl).RunOnMain(0x28001a0, 0xc005871f80)
	/home/oreilly/go/src/github.com/goki/gi/oswin/driver/glos/app.go:103 +0x36
github.com/goki/gi/oswin/driver/glos.(*windowImpl).SetWinTexSubImage(0xc000093080, 0x9b, 0x2, 0x18616c0, 0xc0004b2c00, 0x9b, 0x2, 0xc6, 0x22, 0xc000fbf4f0, ...)
	/home/oreilly/go/src/github.com/goki/gi/oswin/driver/glos/window.go:272 +0x105
github.com/goki/gi/gi.(*Window).UploadVpRegion(0xc000be1000, 0xc0004e2000, 0x9b, 0x2, 0xc6, 0x22, 0x9b, 0x2, 0xc6, 0x22)
	/home/oreilly/go/src/github.com/goki/gi/gi/window.go:956 +0x43c
github.com/goki/gi/gi.(*Viewport2D).VpUploadRegion(0xc0004e2000, 0x9b, 0x2, 0xc6, 0x22, 0x9b, 0x2, 0xc6, 0x22)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:328 +0xeb
github.com/goki/gi/gi.(*Viewport2D).ReRender2DNode(0xc0004e2000, 0x18ef680, 0xc000d5ac80)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:376 +0x16b
github.com/goki/gi/gi.(*Viewport2D).UpdateNode(0xc0004e2000, 0x18ef680, 0xc000d5ac80)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:854 +0x1cf
github.com/goki/gi/gi.(*Viewport2D).UpdateNodes(0xc0004e2000)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:835 +0x1d7
github.com/goki/gi/gi.(*Viewport2D).NodeUpdated(0xc0004e2000, 0x18ef680, 0xc000d5ac80, 0x1, 0x1353160, 0xc005a2fee8)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:725 +0x166
github.com/goki/gi/gi.SignalViewport2D(0x18c5a00, 0xc0004e2000, 0x18bda80, 0xc000d5ac80, 0x1, 0x1353160, 0xc005a2fee8)
	/home/oreilly/go/src/github.com/goki/gi/gi/viewport.go:679 +0x134
github.com/goki/ki/ki.(*Signal).Emit(0xc000d5acd8, 0x18bda80, 0xc000d5ac80, 0x1, 0x1353160, 0xc005a2fee8)
	/home/oreilly/go/src/github.com/goki/ki/ki/signal.go:162 +0x1a5
github.com/goki/ki/ki.(*Node).UpdateEnd(0xc000d5ac80, 0x18bda01)
	/home/oreilly/go/src/github.com/goki/ki/ki/node.go:1915 +0x20a
github.com/goki/gi/gi.(*Action).ButtonRelease(0xc000d5ac80)
	/home/oreilly/go/src/github.com/goki/gi/gi/action.go:234 +0x1af
github.com/goki/gi/gi.(*ButtonBase).MouseEvent.func1(0x18bda80, 0xc000d5ac80, 0x18c6280, 0xc000be1000, 0x0, 0x14be260, 0xc00595e700)
	/home/oreilly/go/src/github.com/goki/gi/gi/buttons.go:438 +0xcd
github.com/goki/gi/gi.(*WinEventRecv).Call(0xc000fbfcf8, 0x18c6280, 0xc000be1000, 0x0, 0x14be260, 0xc00595e700)
	/home/oreilly/go/src/github.com/goki/gi/gi/events.go:116 +0x8c
github.com/goki/gi/gi.(*EventMgr).SendEventSignal(0xc000be1190, 0x1871300, 0xc00595e700, 0x1)
	/home/oreilly/go/src/github.com/goki/gi/gi/events.go:237 +0x54f
github.com/goki/gi/gi.(*Window).ProcessEvent(0xc000be1000, 0x1871300, 0xc00595e700)
	/home/oreilly/go/src/github.com/goki/gi/gi/window.go:1513 +0x79e
github.com/goki/gi/gi.(*Window).EventLoop(0xc000be1000)
	/home/oreilly/go/src/github.com/goki/gi/gi/window.go:1448 +0x36
github.com/goki/gi/gi.(*Window).StartEventLoop(0xc000be1000)
	/home/oreilly/go/src/github.com/goki/gi/gi/window.go:854 +0x6d
main.mainrun()
	/home/oreilly/go/src/github.com/CompCogNeuro/sims/ch3/face_categ/face_categ.go:824 +0x26e
main.main.func1()
	/home/oreilly/go/src/github.com/CompCogNeuro/sims/ch3/face_categ/face_categ.go:41 +0x20
github.com/goki/gi/gimain.Main.func1(0x18852c0, 0x28001a0)
	/home/oreilly/go/src/github.com/goki/gi/gimain/gimain.go:31 +0x24
github.com/goki/gi/oswin/driver/glos.Main.func1()
	/home/oreilly/go/src/github.com/goki/gi/oswin/driver/glos/app.go:87 +0x40
created by github.com/goki/gi/oswin/driver/glos.Main
	/home/oreilly/go/src/github.com/goki/gi/oswin/driver/glos/app.go:86 +0x87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant