roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.06k stars 213 forks source link

Print backtrace on SIGQUIT #566

Open gavv opened 1 year ago

gavv commented 1 year ago

Update CrashHandler to die gracefully (print backtrace and abort) on SIGQUIT.

https://github.com/roc-streaming/roc-toolkit/blob/develop/src/internal_modules/roc_core/target_posix/roc_core/crash_handler.cpp

Ensure that when you run roc-send or roc-recv on Linux and press control + \, the program aborts with backtrace.

Currently it will print backtrace of only one thread, but #565 will fix it.

MicJagger commented 4 months ago

I would like to work on this issue

gavv commented 4 months ago

@MicJagger You're welcome!

gavv commented 2 months ago

@MicJagger Hi, do you still have plans on this?

MicJagger commented 2 months ago

Sorry, I won't be able to finish the issue. You can reassign this to someone else.

gavv commented 2 months ago

@MicJagger no worries, thanks for quick reply.

jeshwanthreddy13 commented 2 months ago

@gavv, can I pick this also? As I would need 'SIGQUIT' to die gracefully for #565

gavv commented 2 months ago

Sure, thank you