Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [sebastian@anne examples]$ LD_LIBRARY_PATH=$LD_CONFIG_PATH:/usr/local/lib/ ./image
- image create photo bg
- button .b -text "Try again!" -command {channel <- "update"}
- canvas .c -width 640 -height 480 -highlightthickness 0
- .c create image 0 0 -anchor nw -image bg -tags mybg
- .c lower mybg
- pack .b .c -expand true
- panic: runtime error: invalid memory address or nil pointer dereference
- [signal 0xb code=0x1 addr=0x50 pc=0x7fbc92134af1]
- goroutine 1 [syscall]:
- github%2ecom/nsf/gothic._Cfunc_Tk_MainLoop(0x7fbc8f9dd700, 0x40101c)
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/_cgo_defun.c:210 +0x2f
- github%2ecom/nsf/gothic.(*Interpreter).MainLoop(0xf8401a0000, 0x7fbc928fbf98)
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/interpreter.cgo1.go:-300 +0x31
- main.main()
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:59 +0x1bb
- goroutine 2 [syscall]:
- github%2ecom/nsf/gothic._Cfunc_Tk_FindPhoto(0x3fb27b0, 0x41feba0)
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/_cgo_defun.c:130 +0x2f
- github%2ecom/nsf/gothic.(*Interpreter).UploadImage(0xf8401a0000, 0x4959fc, 0x676200000002, 0xf84002d4e0, 0x0, ...)
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/interpreter.cgo1.go:-295 +0x60
- main.dispatch(0xf840001aa0, 0x0)
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:31 +0xc5
- created by main.main
- /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:48 +0xd9
Add Comment
Please, Sign In to add comment