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

cgo argument has Go pointer to Go pointer #31

Open
jmdkina opened this issue Jan 25, 2017 · 0 comments
Open

cgo argument has Go pointer to Go pointer #31

jmdkina opened this issue Jan 25, 2017 · 0 comments

Comments

@jmdkina
Copy link

jmdkina commented Jan 25, 2017

Excuse me if I can ask question here?
I use Qt5.7, go 1.7.1, have problem below.
Is it normal error or I make wrong way?

0.1.1
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 1 [running]:
panic(0x4e74e0, 0xc42000c310)
/opt/data/data/clearsoft/go/src/runtime/panic.go:500 +0x1a1
github.com/salviati/go-qt5/qt5._cgoCheckPointer0(0x7af040, 0x0, 0x0, 0x0, 0x7fbdb20d6000)
github.com/salviati/go-qt5/qt5/_obj/_cgo_gotypes.go:40 +0x59
github.com/salviati/go-qt5/qt5._drv(0x1, 0x1, 0x7af040, 0xc42000c300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/opt/data/data/proj/jkgo/src/github.com/salviati/go-qt5/qt5/cdrv.go:93 +0x5b
github.com/salviati/go-qt5/qt5.(*app).AppMain(0x7af040, 0x0)
/opt/data/data/proj/jkgo/src/github.com/salviati/go-qt5/qt5/uiobjs.go:1990 +0xb4
github.com/salviati/go-qt5/qt5.Main(0x520690, 0x1)
/opt/data/data/proj/jkgo/src/github.com/salviati/go-qt5/qt5/ui.go:22 +0x43
main.main()
/opt/data/data/proj/jkgo/src/github.com/salviati/go-qt5/examples/minimal.go:17 +0xaf
exit status 2

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