-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: add test to ensure the correct line number is displayed when using TB.Helper with race detector #26995
Comments
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
@andybons just tested with go1.12beta1 and still the same:
|
@andybons go1.12beta2 seems to correct the problem:
As this bug is not mentioned in commits, I think its correction is a side effect of a recent change. Perhaps could one add a unit test to be sure it won't break again in the future? |
This was probably fixed as part of the series of traceback fixes I've been making (as part of mid-stack inlining). A test would be great. |
as golang/go#26995 is solved in go1.12 Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
as golang/go#26995 is solved in go1.12 Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
Change https://go.dev/cl/540016 mentions this issue: |
Fixes golang#26995 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-race,gotip-linux-386-longtest,gotip-windows-amd64-longtest Change-Id: If3b68002d205fe985a692b69f5d7e0d2f20a7bd6 Reviewed-on: https://go-review.googlesource.com/c/go/+/540016 TryBot-Bypass: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
Similar problem referenced in #21631
What version of Go are you using (
go version
)?go version go1.10.3 freebsd/amd64
go version go1.11rc1 freebsd/amd64
Does this issue reproduce with the latest release?
yes, but a little differently
What operating system and processor architecture are you using (
go env
)?What did you do?
testing_test.go
:Then
What did you expect to see?
(in fact the same output as without the
-race
flag.)What did you see instead?
With go1.10.3:
With go1.11rc1:
The text was updated successfully, but these errors were encountered: