Skip to content

Conversation

@ywkaras
Copy link
Contributor

@ywkaras ywkaras commented Jun 4, 2024

No description provided.

@ywkaras ywkaras self-assigned this Jun 4, 2024
@ywkaras ywkaras requested review from bryancall and cmcfarlen June 4, 2024 21:39
@ywkaras ywkaras added Debug Support for system debugging Crash labels Jun 4, 2024
@ywkaras ywkaras added this to the 10.1.0 milestone Jun 4, 2024
Copy link
Contributor

@cmcfarlen cmcfarlen left a comment

Choose a reason for hiding this comment

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

Nice one!


debug_assert(res.second);
// It is important that debug_tag_activated() is NOT called while the ra object exists, and the registry mutex is
// locked. There is a mutex in the C/C++ runtime that both dlopen() and _cxa_thread_atexit() lock while running.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 Good comment update here and good idea moving this outside of the lock as a solution to the deadlock.

@ywkaras ywkaras merged commit b4dcdec into apache:master Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Crash Debug Support for system debugging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants