Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
caller of func called by goroutine is goexit #41423
What version of Go are you using (
This is caused by inlining. I don’t believe there is a bug here.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:
I don't think this has anything directly to do with inlining. It's just that in
The caller of the function
If you want to know where a goroutine was spawned from, that information is available in the output of
@randall77 thanks for your detail explanation!
What I want to do is to create a helper function to track caller in log without any injection code. After investigation, I did find
It could be better to have a new function to get the spawner.