[Bug 255339] logger(1): exited on signal 6 (core dumped): assertion in capability code (regression)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 May 2021 18:58:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255339
--- Comment #8 from Jung-uk Kim <jkim@FreeBSD.org> ---
It seems it is possible to trigger this assertion if I just close stdout.
% cat test_logger.c
#include <unistd.h>
int
main(void)
{
close(STDOUT_FILENO);
return (execl("/usr/bin/logger", "-t", "program", "test", NULL));
}
% cc -o test_logger test_logger.c
% ./test_logger
Assertion failed: (procfd > STDERR_FILENO), function service_clean, file
/usr/home/jkim/src/head/lib/libcasper/libcasper/service.c, line 394.
Broken pipe
--
You are receiving this mail because:
You are the assignee for the bug.