-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
Log hpx threads on forced shutdown #6329
Labels
Milestone
Comments
@Pansysk75 Thanks! The termination handlers are here: hpx/libs/core/runtime_local/src/runtime_local.cpp Lines 65 to 174 in bc993dd
|
bors bot
pushed a commit
that referenced
this issue
Sep 10, 2023
6330: Adding basic logging to collective operations r=hkaiser a=hkaiser - flyby: fixing JeMalloc integration for dependent projects 6340: Log alive hpx threads on exit r=hkaiser a=Pansysk75 Adds logging when an HPX program is terminated suddenly (ie by a termination signal, addresses issue #6329). I'll leave it as draft until I make up my mind on whether I think it is actually a good idea Co-authored-by: Hartmut Kaiser <[email protected]> Co-authored-by: Panos Syskakis <[email protected]>
Issue resolved by PR #6340 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an HPX process hangs (usually because some hpx thread hasn't terminated properly), the process is often killed with a termination signal.
In such cases, logging information about any alive hpx threads would really help me in debugging, especially when an issue is hard to reproduce locally.
@hkaiser I can certainly add this if you also think it makes sense, only could you please point me to where exit signals are handled? Thanks!
The text was updated successfully, but these errors were encountered: