• Heschi Kreinick's avatar
    runtime: fix use of wrong g in gentraceback · c9986d14
    Heschi Kreinick authored
    gentraceback gets the currently running g to do some sanity checks, but
    should use gp everywhere to do its actual work. Some noncritical checks
    later accidentally used g instead of gp. This seems like it could be a
    problem in many different contexts, but I noticed in Windows profiling,
    where profilem calls gentraceback on a goroutine from a different
    thread.
    
    Change-Id: I3da27a43e833b257f6411ee6893bdece45a9323f
    Reviewed-on: https://go-review.googlesource.com/128895
    Run-TryBot: Heschi Kreinick <heschi@google.com>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    c9986d14
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...