Skip to content

Comments

Use opaque pointers in tracing structs to prevent accidental derefs#4667

Merged
SeanTAllen merged 1 commit intoponylang:mainfrom
dipinhora:tracing_opaque_pointers
Mar 29, 2025
Merged

Use opaque pointers in tracing structs to prevent accidental derefs#4667
SeanTAllen merged 1 commit intoponylang:mainfrom
dipinhora:tracing_opaque_pointers

Conversation

@dipinhora
Copy link
Contributor

No description provided.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Mar 28, 2025
@SeanTAllen
Copy link
Member

This is for the flight recorder stuff only yes?

@dipinhora
Copy link
Contributor Author

This is for the flight recorder stuff only yes?

No, this applies to all uses of tracing events.. it would be bad if the normal background tracing thread tries to dereference an actor pointer after the actor has already been destroyed (whether running in flight recorder mode or not)..

@SeanTAllen SeanTAllen merged commit a77c13c into ponylang:main Mar 29, 2025
25 checks passed
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Mar 29, 2025
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.

3 participants