NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54192: lang/rust build error



On Wed, Oct 16, 2019 at 03:50:01PM +0000, coypu%sdf.org@localhost wrote:
> The following reply was made to PR toolchain/54192; it has been noted by GNATS.
> 
> From: coypu%sdf.org@localhost
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/54192: lang/rust build error
> Date: Wed, 16 Oct 2019 15:48:08 +0000
> 
>  I ran the patch and had it continuously build cbindgen. It eventually
> got stuck.

It can still race against exclusive locks in other threads and there is
no safe way to prevent that short of intercepting fork() in rtld, which
creates its own set of problems. But that doesn't seem to be the problem
here.

>  $ for cargopid in `pgrep cargo`; do gdb -q -p $cargopid -ex "thread apply all bt" -ex q -batch; done
>  [Switching to LWP 3 of process 5283]
>  0x00007f7e2300c3ba in ___lwp_park60 () from /usr/libexec/ld.elf_so
>  
>  Thread 1 (LWP 3 of process 5283):

What's the parent and what's the child here? Because as stack trace of
the child this looks unholy.

Joerg


Home | Main Index | Thread Index | Old Index