Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 25 Sep 2018 17:38:13 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Cc: Rabbitstack <rabbitstack7@...il.com>
Subject: Re: setrlimit hangs the process

* Rich Felker <dalias@...c.org> [2018-09-25 11:13:36 -0400]:
> The trace here shows a thread, tid 9285, the main thread, not
> responding to the broadcast signals that are necessary to stop all
> threads for the purpose of changing resource limits, uids/gids/etc.

ah i didnt know this is used for setrlimit too.

that explains what goes wrong.

> I'm guessing some part of the Go runtime has bypassed libc and blocked
> libc-internal signals in the main thread. A full strace rather than a
> truncated one like the above would show this happening. If you can
> produce one that doesn't expose private data that would be helpful; if
> not, perhaps it's possible to write a minimal Go program that
> reproduces the issue and strace it instead.
> 
> 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.