strace, dmesg, syslog did not provide any useful information.
Investigation with gdb shows the cmsg_sender will stuck in an infinity loop when parsing arguments in cs_parse_args().
while ((o = getopt(argc, argv, "46sS:p:m:M:d:tf:F:c:C:l:L:H:")) != -1)
The "char o" is the culprit here, should be an int instead.
Otherwise it will get stuck as char(-1) is 255 on these riscv instances, it will never match the -1 here.
Discussion upstream: /lore.kernel<email address hidden>/t/
https:/
strace, dmesg, syslog did not provide any useful information.
Investigation with gdb shows the cmsg_sender will stuck in an infinity loop when parsing arguments in cs_parse_args().
while ((o = getopt(argc, argv, "46sS:p: m:M:d:tf: F:c:C:l: L:H:")) != -1)
The "char o" is the culprit here, should be an int instead.
Otherwise it will get stuck as char(-1) is 255 on these riscv instances, it will never match the -1 here.