On Thu, Oct 04, 2018 at 05:41:52PM +0200, Rabbitstack wrote:
> Please use the following link to download strace since daemon is refusing
> to deliver the mail.
>
> https://www.dropbox.com/s/syhbzxvijf7s4v1/agent.strace?dl=0
Here is the bug:
6208 rt_sigprocmask(SIG_SETMASK, ~[HUP INT QUIT ILL TRAP ABRT BUS FPE SEGV TERM STKFLT CHLD PROF SYS RTMIN RT_1], <unfinished ...>
Apparently Go has its own version of sigfillset, rather than calling
the libc one, and it's hard-coded the glibc values for which signals
are reserved for the implementation (just RTMIN and RT_1) rather than
honoring SIGRTMIN (which resolves at runtime via a function call),
which would exempt RT_2 from being blocked too.
It needs to be fixed on the Go side. I'll look at it later if nobody
else more familiar with Go gets to it sooner.
Rich