Guest User

Untitled

a guest
Feb 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. [sebastian@anne examples]$ LD_LIBRARY_PATH=$LD_CONFIG_PATH:/usr/local/lib/ ./image
  2. image create photo bg
  3.  
  4. button .b -text "Try again!" -command {channel <- "update"}
  5. canvas .c -width 640 -height 480 -highlightthickness 0
  6. .c create image 0 0 -anchor nw -image bg -tags mybg
  7. .c lower mybg
  8. pack .b .c -expand true
  9.  
  10. panic: runtime error: invalid memory address or nil pointer dereference
  11. [signal 0xb code=0x1 addr=0x50 pc=0x7fbc92134af1]
  12.  
  13. goroutine 1 [syscall]:
  14. github%2ecom/nsf/gothic._Cfunc_Tk_MainLoop(0x7fbc8f9dd700, 0x40101c)
  15. /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/_cgo_defun.c:210 +0x2f
  16. github%2ecom/nsf/gothic.(*Interpreter).MainLoop(0xf8401a0000, 0x7fbc928fbf98)
  17. /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/interpreter.cgo1.go:-300 +0x31
  18. main.main()
  19. /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:59 +0x1bb
  20.  
  21. goroutine 2 [syscall]:
  22. github%2ecom/nsf/gothic._Cfunc_Tk_FindPhoto(0x3fb27b0, 0x41feba0)
  23. /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/_cgo_defun.c:130 +0x2f
  24. github%2ecom/nsf/gothic.(*Interpreter).UploadImage(0xf8401a0000, 0x4959fc, 0x676200000002, 0xf84002d4e0, 0x0, ...)
  25. /home/sebastian/Development/Go/src/github.com/nsf/gothic/_obj/interpreter.cgo1.go:-295 +0x60
  26. main.dispatch(0xf840001aa0, 0x0)
  27. /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:31 +0xc5
  28. created by main.main
  29. /home/sebastian/Development/Go/src/github.com/nsf/gothic/examples/image.go:48 +0xd9
Add Comment
Please, Sign In to add comment