Skip to content

Conversation

@zombiezen
Copy link
Contributor

  • Capture would stop at "created by function" lines
  • Capture was expecting two blank lines between goroutines, whereas goroutines only have one blank line between them.
  • Capture would stop when given a panic started by a signal (like a nil panic)
  • Frame matching was only checking for an identifier character followed by an opening paren. Updated to be more precise.
  • The substring panic: could start a Go capture even in the middle of a word.

This may still fail in cases where the panic includes a runtime stack (the Go runtime itself crashes), but Russ and others deemed this a far enough edge case to not dwell on.

- Capture would stop at "created by function" lines
- Capture was expecting two blank lines between goroutines, whereas
  goroutines only have one blank line between them.
- Capture would stop when given a panic started by a signal (like a nil
  panic)
- Frame matching was only checking for an identifier character followed
  by an opening paren.  Updated to be more precise.
- The substring "panic:" could start a Go capture even in the middle of
  a word.

This may still fail in cases where the panic includes a runtime stack
(the Go runtime itself crashes), but Russ and others deemed this a far
enough edge case to not dwell on.
@zombiezen
Copy link
Contributor Author

/cc @cybrcodr @adams-sarah @shantuo

@zombiezen
Copy link
Contributor Author

@igorpeshansky PTAL

Copy link
Contributor

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

Thanks for the fix!

@igorpeshansky igorpeshansky merged commit 8d2249e into GoogleCloudPlatform:master Oct 25, 2017
@igorpeshansky
Copy link
Contributor

@qingling128, mind tagging and releasing the gem?

@s-mang
Copy link

s-mang commented Oct 25, 2017

🎉 🎉

@qingling128
Copy link
Contributor

Sure thing! Tagged and released as v0.0.8

@igorpeshansky igorpeshansky mentioned this pull request Nov 7, 2017
zombiezen added a commit to zombiezen/k8s-stackdriver that referenced this pull request Jan 11, 2018
zombiezen added a commit to zombiezen/k8s-stackdriver that referenced this pull request Jan 12, 2018
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.

4 participants