1. 23 Jan, 2018 1 commit
  2. 22 Jan, 2018 5 commits
    • Austin Clements's avatar
      runtime: print hexdump on traceback failure · dbd8f3d7
      Austin Clements authored
      Currently, if anything goes wrong when printing a traceback, we simply
      cut off the traceback without any further diagnostics. Unfortunately,
      right now, we have a few issues that are difficult to debug because
      the traceback simply cuts off (#21431, #23484).
      
      This is an attempt to improve the debuggability of traceback failure
      by printing a diagnostic message plus a hex dump around the failed
      traceback frame when something goes wrong.
      
      The failures look like:
      
      goroutine 5 [running]:
      runtime: unexpected return pc for main.badLR2 called from 0xbad
      stack: frame={sp:0xc42004dfa8, fp:0xc42004dfc8} stack=[0xc42004d800,0xc42004e000)
      000000c42004dea8:  0000000000000001  0000000000000001
      000000c42004deb8:  000000c42004ded8  000000c42004ded8
      000000c42004dec8:  0000000000427eea <runtime.dopanic+74>  000000c42004ded8
      000000c42004ded8:  000000000044df70 <runtime.dopanic.func1+0>  000000c420001080
      000000c42004dee8:  0000000000427b21 <runtime.gopanic+961>  000000c42004df08
      000000c42004def8:  000000c42004df98  0000000000427b21 <runtime.gopanic+961>
      000000c42004df08:  0000000000000000  0000000000000000
      000000c42004df18:  0000000000000000  0000000000000000
      000000c42004df28:  0000000000000000  0000000000000000
      000000c42004df38:  0000000000000000  000000c420001080
      000000c42004df48:  0000000000000000  0000000000000000
      000000c42004df58:  0000000000000000  0000000000000000
      000000c42004df68:  000000c4200010a0  0000000000000000
      000000c42004df78:  00000000004c6400  00000000005031d0
      000000c42004df88:  0000000000000000  0000000000000000
      000000c42004df98:  000000c42004dfb8  00000000004ae7d9 <main.badLR2+73>
      000000c42004dfa8: <00000000004c6400  00000000005031d0
      000000c42004dfb8:  000000c42004dfd0 !0000000000000bad
      000000c42004dfc8: >0000000000000000  0000000000000000
      000000c42004dfd8:  0000000000451821 <runtime.goexit+1>  0000000000000000
      000000c42004dfe8:  0000000000000000  0000000000000000
      000000c42004dff8:  0000000000000000
      main.badLR2(0x0)
      	/go/src/runtime/testdata/testprog/badtraceback.go:42 +0x49
      
      For #21431, #23484.
      
      Change-Id: I8718fc76ced81adb0b4b0b4f2293f3219ca80786
      Reviewed-on: https://go-review.googlesource.com/89016
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarCherry Zhang <cherryyz@google.com>
      dbd8f3d7
    • Andrew Bonventre's avatar
      doc: update 1.9.3 release date · 2923b209
      Andrew Bonventre authored
      Change-Id: I689ccfb8452a170629425dc97da503b28766c6f9
      Reviewed-on: https://go-review.googlesource.com/89035Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      2923b209
    • Russ Cox's avatar
      doc/go1.10: address final TODOs · 21a460d3
      Russ Cox authored
      Change-Id: Id71c1ccb584fb308f1615c0ed1255cc8b44bf675
      Reviewed-on: https://go-review.googlesource.com/88256
      Run-TryBot: Russ Cox <rsc@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      21a460d3
    • Elias Naur's avatar
      cmd/vendor/github.com/google/pprof/internal/driver: skip read only dir error on Android · 40ea396c
      Elias Naur authored
      On an android/amd64 emulator, $HOME points to / which is not writable.
      Ignore the error in the pprof driver test.
      
      With this, androidtest.sh on android/amd64 and android/386 passes.
      
      Upstream pull request https://github.com/google/pprof/pull/295.
      
      Change-Id: If919d7f44530a977fd044631ad01bac87d32deaa
      Reviewed-on: https://go-review.googlesource.com/88817
      Run-TryBot: Elias Naur <elias.naur@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarHyang-Ah Hana Kim <hyangah@gmail.com>
      40ea396c
    • Russ Cox's avatar
      cmd/go: add go help cache · 0133b5df
      Russ Cox authored
      Change-Id: I14eeda85f279d1082ea9f2ac590b848ac13b1daa
      Reviewed-on: https://go-review.googlesource.com/87023
      Run-TryBot: Russ Cox <rsc@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarRob Pike <r@golang.org>
      0133b5df
  3. 21 Jan, 2018 1 commit
  4. 20 Jan, 2018 3 commits
  5. 19 Jan, 2018 2 commits
  6. 18 Jan, 2018 1 commit
  7. 17 Jan, 2018 5 commits
  8. 16 Jan, 2018 4 commits
  9. 15 Jan, 2018 3 commits
  10. 14 Jan, 2018 1 commit
  11. 12 Jan, 2018 2 commits
  12. 11 Jan, 2018 9 commits
  13. 10 Jan, 2018 3 commits