Repository navigation
Fix for Print backtrace on SIGQUIT #566 - #852
Open
jeshwanthreddy13 wants to merge 1 commit into
Open
jeshwanthreddy13 wants to merge 1 commit into
jeshwanthreddy13 wants to merge 1 commit into
Conversation
TESTING:
Testing done by sending SIGQUIT to 'roc-send' process. Printing the backtrace of the respective Thread/Process and aborting, working as expected.
Author
|
For issue #566 |
Author
|
Hi @gavv , can you review this PR and merge it? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TESTING:
Testing done by sending SIGQUIT to 'roc-send' process via kill command.
It is printing the backtrace of the respective Thread/Process and later aborting.
Working as expected.
[1] 23168
j-jeshwanth-reddy@Flex-2-14:
/01WORK/TMP/roc-toolkit$ ls /proc/23168/task//01WORK/TMP/roc-toolkit$ kill -QUIT 2317123168 23169 23170 23171 23172
j-jeshwanth-reddy@Flex-2-14:
ERROR: caught SIGQUIT
j-jeshwanth-reddy@Flex-2-14:~/01WORK/TMP/roc-toolkit$ #1: 0x5F4130E1EB6F _ZN3roc4core20print_backtrace_safeEv+0x1B
#2: 0x5F4130E1CF18 _ZN3roc4core14die_gracefullyEPKcb+0x8B
#3: 0x5F4130E1C9AB _ZN3roc4core12_GLOBAL__N_114signal_handlerEiP9siginfo_tPv+0x35
#4: 0x72E046445330 __sigaction+0x50
#5: 0x72E046498D71 __nptl_death_event+0x181
#6: 0x72E0464A4FB8 sem_unlink+0x168
#7: 0x5F4130E1E021 _ZN3roc4core9Semaphore4waitEv+0x2B
#8: 0x5F4130E1C08D _ZN3roc4core5Timer13wait_deadlineEv+0xFB
#9: 0x5F4130D24BF1 _ZN3roc3ctl16ControlTaskQueue3runEv+0x75
#10: 0x5F4130E1D82B _ZN3roc4core6Thread14thread_runner_EPv+0x27
#11: 0x72E04649CAA4 pthread_condattr_setpshared+0x684
#12: 0x72E046529C6C __clone+0x24C
[1]+ Aborted (core dumped) bin/x86_64-pc-linux-gnu/roc-send --source=rtp://127.0.0.1:10001