|
Message-ID: <20181004155302.GD17110@brightrain.aerifal.cx> Date: Thu, 4 Oct 2018 11:53:02 -0400 From: Rich Felker <dalias@...c.org> To: Rabbitstack <rabbitstack7@...il.com> Cc: musl@...ts.openwall.com Subject: Re: setrlimit hangs the process 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.