NeedsFixhelp wanted
Métriques du dépôt
- Stars
- (133 883 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version)?
$> go version
go version go1.6 linux/amd64
- What operating system and processor architecture are you using (
go env)?
$> go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
- What did you do?
$> go get -t -u golang.org/x/exp/shiny/...
$> cd $GOPATH/src/golang/x/exp/shiny/example/basic
$> go build main.go
$> ./main
- What did you expect to see? a window with 3 rounded squares.
- What did you see instead?
an empty window (with whatever was displayed behind that window, captured into that window but not refreshed) and the following error:
$> ./main
2016/04/04 13:47:06 x11driver: xproto.WaitForEvent: BadAccess {NiceName: Access, Sequence: 17, BadValue: 92274692, MinorOpcode: 1, MajorOpcode: 130}
2016/04/04 13:47:06 x11driver: xproto.WaitForEvent: BadBadSeg {NiceName: BadSeg, Sequence: 21, BadValue: 92274691, MinorOpcode: 3, MajorOpcode: 130}
The "interesting" thing is that the pointer-painting example from xgbutil works correctly.
So it presumably is some configuration issue on the x11driver end.
(I tried replacing xgb.NewConn() with xgbutil.NewConn() and adapt a bit, to no avail)