norisatir/go-gtk3 — Issue #2: go-gtk3 stopped working
Author: dersebi
Created: 2012-01-10 07:41:39+00:00
State: open

Something in my system must have been updated so that go-gtk3 does not work anymore. When starting the freshly compiled go-gtk3 demo on the current go weekly i get the following error:

$ ./demo
panic: runtime error: assignment to entry in nil map

goroutine 1 [running]:
github.com/norisatir/go-gtk3/gobject.RegisterGoType(0x40, 0x42856b, 0x42ccea, 0x4f6e6a)
go/src/pkg/github.com/norisatir/go-gtk3/gobject/_obj/closure.cgo1.go:722 +0x43
github.com/norisatir/go-gtk3/gobject.init·2()
go/src/pkg/github.com/norisatir/go-gtk3/gobject/_obj/closure.cgo1.go:37 +0x2d
github.com/norisatir/go-gtk3/gobject.init()
go/src/pkg/github.com/norisatir/go-gtk3/gobject/_obj/closure.cgo1.go:1164 +0x5e
github.com/norisatir/go-gtk3/pango.init()
go/src/pkg/github.com/norisatir/go-gtk3/pango/_obj/pango.cgo1.go:3 +0x45
main.init()
go/src/pkg/github.com/norisatir/go-gtk3/demo/demo.go:0 +0x3b

I was able to compile the same program on the 4th of January. I looked at my distributions update log (archlinux) but could not find an update to gtk3 or similar.