Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201029161348.GA2947641@port70.net>
Date: Thu, 29 Oct 2020 17:13:48 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: Milan P. Stanić <mps@...anta.net>
Cc: musl@...ts.openwall.com
Subject: Re: [PATCH v2] MT fork

* Milan P. Stanić <mps@...anta.net> [2020-10-29 00:06:10 +0100]:
> On Wed, 2020-10-28 at 14:56, Rich Felker wrote:
> > On Tue, Oct 27, 2020 at 05:17:35PM -0400, Rich Felker wrote:
> > > > > 
> > > > > Will follow up with draft patch for testing.
> > > > 
> > > > Patch attached. It should suffice for testing and review of whether
> > > > there are any locks/state I overlooked. It could possibly be made less
> > > > ugly too.
> > > > [...]
> > > 
> > > Another bug:
> > > [...]
> > 
> > And an updated version of the patch with both previously reported bugs
> > fixed, for the purpose of users/distros wanting to test without
> > manually fixing up the patch. Attached.
>  
> Applied this patch on top of current musl master, build it on Alpine and
> installed.
> 
> Tested by building ruby lang. Works fine.
> Also tested building zig lang, works fine.
> But crystal lang builds fine, but running it hangs. strace shows:
> -------------
> [pid  5573] futex(0x7efc50fba9e4, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
> [pid  5568] futex(0x7efc5118f984, FUTEX_REQUEUE_PRIVATE, 0, 1, 0x7efc514b67a4) = 1
> [pid  5568] futex(0x7efc514b67a4, FUTEX_WAKE_PRIVATE, 1) = 1
> [pid  5571] <... futex resumed>)        = 0
> [pid  5568] futex(0x7efc511099e4, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
> [pid  5571] futex(0x7efc510409e4, FUTEX_WAIT_PRIVATE, 2, NULL
> -------------
> where it hangs.

try to attach gdb to the process that hang and do

thread apply all bt

(make sure musl-dbg is installed)

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.