1. 11 Jul, 2015 2 commits
    • Elias Naur's avatar
      runtime: abort on fatal errors and panics in c-shared and c-archive modes · b3a8b057
      Elias Naur authored
      The default behaviour for fatal errors and runtime panics is to dump
      the goroutine stack traces and exit with code 2. However, when the process is
      owned by foreign code, it is suprising and inappropriate to suddenly exit
      the whole process, even on fatal errors. Instead, re-use the crash behaviour
      from GOTRACEBACK=crash and abort.
      
      The motivating use case is issue #11382, where an Android crash reporter
      is confused by an exiting process, but I believe the aborting behaviour
      is appropriate for all cases where Go does not own the process.
      
      The change is simple and contained and will enable reliable crash reporting
      for Android apps in Go 1.5, but I'll leave it to others to judge whether it
      is too late for Go 1.5.
      
      Fixes #11382
      
      Change-Id: I477328e1092f483591c99da1fbb8bc4411911785
      Reviewed-on: https://go-review.googlesource.com/12032Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      b3a8b057
    • Alex Brainman's avatar
      runtime: use AddVectoredContinueHandler on Windows XP amd64 · d5004ee6
      Alex Brainman authored
      Recent change (CL 10370) unexpectedly broke TestRaiseException on
      Windows XP amd64. I still do not know why. But reverting old
      CL 8165 fixes the problem.
      
      This effectively makes Windows XP amd64 use AddVectoredContinueHandler
      instead of SetUnhandledExceptionFilter for exception handling. That is
      what we do for all recent Windows versions too.
      
      Fixes #11481
      
      Change-Id: If2e8037711f05bf97e3c69f5a8d86af67c58f6fc
      Reviewed-on: https://go-review.googlesource.com/11888
      Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
      Reviewed-by: default avatarDaniel Theophanes <kardianos@gmail.com>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      d5004ee6
  2. 10 Jul, 2015 8 commits
  3. 09 Jul, 2015 8 commits
  4. 08 Jul, 2015 1 commit
  5. 07 Jul, 2015 10 commits
  6. 06 Jul, 2015 1 commit
  7. 05 Jul, 2015 2 commits
  8. 03 Jul, 2015 2 commits
  9. 02 Jul, 2015 6 commits