Skip to content

Fix for Print backtrace on SIGQUIT #566 - #852

Open
jeshwanthreddy13 wants to merge 1 commit into
roc-streaming:developfrom
jeshwanthreddy13:issue-566
Open

jeshwanthreddy13 wants to merge 1 commit into
roc-streaming:developfrom
jeshwanthreddy13:issue-566

Conversation

@jeshwanthreddy13

Copy link
Copy Markdown

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.

LOGS
----------

j-jeshwanth-reddy@Flex-2-14:~/01WORK/TMP/roc-toolkit$ bin/x86_64-pc-linux-gnu/roc-send --source=rtp://127.0.0.1:10001 &

[1] 23168
j-jeshwanth-reddy@Flex-2-14:/01WORK/TMP/roc-toolkit$ ls /proc/23168/task/
23168 23169 23170 23171 23172
j-jeshwanth-reddy@Flex-2-14:
/01WORK/TMP/roc-toolkit$ kill -QUIT 23171

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

TESTING:
        Testing done by sending SIGQUIT to 'roc-send' process. Printing the backtrace of the respective Thread/Process and aborting, working as expected.
@rocstreaming-bot rocstreaming-bot added the contrib PR not by a maintainer label Oct 3, 2026
@jeshwanthreddy13

Copy link
Copy Markdown
Author

For issue #566

@rocstreaming-bot rocstreaming-bot added the S-ready-for-review status: PR can be reviewed label Oct 3, 2026
@rocstreaming-bot rocstreaming-bot added S-ready-for-review status: PR can be reviewed and removed S-ready-for-review status: PR can be reviewed labels Oct 7, 2026
@jeshwanthreddy13

Copy link
Copy Markdown
Author

Hi @gavv , can you review this PR and merge it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contrib PR not by a maintainer S-ready-for-review status: PR can be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants