Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. [root@150-95-173-241 processlog]# go run org_main.go -logdir=/root/log ./test.sh
  2. /root/log
  3. panic: runtime error: invalid memory address or nil pointer dereference
  4. [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x498f3d]
  5.  
  6. goroutine 1 [running]:
  7. fmt.Fprintln(0x0, 0x0, 0xc00007af48, 0x1, 0x1, 0x0, 0x0, 0x0)
  8. /usr/local/go/src/fmt/print.go:266 +0x5d
  9. main.main()
  10. /root/go/src/processlog/org_main.go:76 +0x349
  11. exit status 2
  12. [root@150-95-173-241 processlog]#
  13. [root@150-95-173-241 processlog]# go run org_main.go ./test.sh -logdir=/root/log
  14.  
  15. exit status 0
  16. wall clock time=1.895041ms system time=1.681ms user time=0s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement