-
Notifications
You must be signed in to change notification settings - Fork 188
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
qt5.21 minwg error:panic: invalid memory address or nil pointer dereference #51
Comments
GCC env:F:\baiduyun\backup\gopath\src\gopkg.in\v0\qml\examples\customtype>gcc -v |
Thanks for the report. This looks like a dup from #19, which is now fixed. |
env:
F:\baiduyun\backup\gopath\src\gopkg.in\v0\qml\examples\customtype>go env
set GOARCH=386
set GOBIN=
set GOCHAR=8
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=F:\baiduyun\backup\gopath
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_386
set TERM=dumb
set CC=gcc
set GOGCCFLAGS=-g -O2 -m32 -mthreads
set CXX=g++
set CGO_ENABLED=1
error for all examples:
F:\baiduyun\backup\gopath\src\gopkg.in\v0\qml\examples\customtype>go run customt
ype.go
panic: invalid memory address or nil pointer dereference
fatal error: panic during malloc
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x41b8ea]
runtime stack:
runtime.panic(0x4f17c0, 0x66c56f)
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/r
untime/panic.c:233 +0x2b
runtime: unexpected return pc for runtime.sigpanic called from 0x749af4fc
goroutine 4 [syscall]:
runtime.cgocall(0x48b47b, 0x3d57c4)
C:/Users/ADMINI
1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/r1/AppData/Local/Temp/go-build364249083/gopkg.in/v0/qml/_untime/cgocall.c:149 +0x10c fp=0x3d57b8
gopkg.in/v0/qml._Cfunc_idleTimerInit(0x674090)
C:/Users/ADMINI
obj/_cgo_defun.c:229 +0x33 fp=0x3d57c4
gopkg.in/v0/qml.guiLoop()
F:/baiduyun/backup/gopath/src/gopkg.in/v0/qml/bridge.go:38 +0x41 fp=0x3d
57cc
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/r
untime/proc.c:1394 fp=0x3d57d0
created by gopkg.in/v0/qml.Init
F:/baiduyun/backup/gopath/src/gopkg.in/v0/qml/qml.go:44 +0x8c
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x6740cc)
C:/Users/ADMINI
1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/r1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/suntime/sema.goc:199 +0x33
sync.(*Mutex).Lock(0x6740c8)
C:/Users/ADMINI
ync/mutex.go:66 +0xcd
gopkg.in/v0/qml.Init(0x0)
F:/baiduyun/backup/gopath/src/gopkg.in/v0/qml/qml.go:45 +0x9c
main.run(0x1, 0xffffffff)
F:/baiduyun/backup/gopath/src/gopkg.in/v0/qml/examples/customtype/custom
type.go:30 +0x2a
main.main()
F:/baiduyun/backup/gopath/src/gopkg.in/v0/qml/examples/customtype/custom
type.go:10 +0x20
goroutine 3 [syscall]:
runtime.goexit()
C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease529514319/go/src/pkg/r
untime/proc.c:1394
exit status 2
F:\baiduyun\backup\gopath\src\gopkg.in\v0\qml\examples\customtype>
The text was updated successfully, but these errors were encountered: