Skip to content
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

proc: fix stacktraces on freebsd/amd64/go1.20 #3458

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

aarzilli
Copy link
Member

@aarzilli aarzilli commented Aug 8, 2023

TestStacktraceGoroutine failed intermittently on freebsd/amd64/go1.20
due to stacktraces being broken when doing a runtime.nanotime system
call.

pkg/proc/amd64_arch.go Outdated Show resolved Hide resolved
TestStacktraceGoroutine failed intermittently on freebsd/amd64/go1.20.

This happens because of two windows, in the scheduler (right after
parking a goroutine and just before resuming a parked goroutine) where
a thread is associated with a goroutine but running in the system stack
and there is no systemstack_switch frame to connect the two stacks.
Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@derekparker derekparker merged commit 281f392 into go-delve:master Aug 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants