Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 10:28:41 +0300
From:      Dmitry Chagin <dchagin@heemeyer.club>
To:        Alex Arslan <ararslan@comcast.net>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Hang in futex wait with a Node.js binary in Linuxulator
Message-ID:  <YvyYqVQghwbj4CeU@heemeyer.club>
In-Reply-To: <16777BDC-22D3-4ACC-95E8-95933D587341@comcast.net>
References:  <16777BDC-22D3-4ACC-95E8-95933D587341@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 15, 2022 at 09:43:29PM -0700, Alex Arslan wrote:
> Hi folks,
> 
> I'm trying to run the Linux binary for Codecov's official coverage uploader (https://docs.codecov.com/docs/codecov-uploader <ihttps://docs.codecov.com/docs/codecov-uploader>) on FreeBSD via Linuxulator. It's a statically compiled Node.js application built with the Node.js package called pkg. The application's own verbose logging shows that it completes, but the process just hangs indefinitely, using 0 CPU and not letting go of its memory. With devel/linux-c7-strace, it appears it's getting stuck on:
> 
> futex(0x8427f1b70, FUTEX_WAIT_PRIVATE, 2, NULL
> 
> Too stuck to even finish printing the argument list or closing parenthesis, apparently! A Cirrus CI build log where I set the process to terminate via timeout is available at https://cirrus-ci.com/task/6610515924353024 <https://cirrus-ci.com/task/6610515924353024>; but it's actually reproducible for me locally with just
> 
> curl -O https://uploader.codecov.io/latest/linux/codecov
> chmod +x codecov
> ./codecov -h
> 
> Does anyone have any advice for how to debug this further?
>

hi, mostly by ktrace -di/kdump -HAR and see which uaddr wake-up missed,
which freebsd version you are used?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YvyYqVQghwbj4CeU>