Hello, seems that the FreeBSD kernel wants the sigaction struct better initilized.
With attached patch the assertion does not happen in a test vm for me anymore. Kind regards, Bernhard
Description: Initialize sigaction struct Author: Bernhard Ãbelacker <bernha...@vr-web.de> Bug-Debian: https://bugs.debian.org/770005 Last-Update: <2014-11-18> --- mbuffer-20140310.orig/mbuffer.c +++ mbuffer-20140310/mbuffer.c @@ -2355,6 +2355,8 @@ int main(int argc, const char **argv) debugmsg("checking if we have a controlling terminal...\n"); sig.sa_handler = SIG_IGN; + sigemptyset(&sig.sa_mask); + sig.sa_flags = 0; err = sigaction(SIGTTIN,&sig,0); assert(err == 0); fl = fcntl(STDERR_FILENO,F_GETFL);