[Bug 257419] lang/rust: panic on armv7 at 'capacity overflow', library/alloc/src/raw_vec.rs:546:5

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Sep 2021 00:32:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257419

--- Comment #21 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Jan Beich from comment #4)

So far every example that I've seen in the ongpoing bulk -a I've
got in process is doing (via an example: cargo-c):

|   `-- /usr/bin/make -C /usr/ports/devel/cargo-c build
|     `-- /usr/local/bin/cargo build --manifest-path
/wrkdirs/usr/ports/devel/cargo-c/work/cargo-c-0.9.2+cargo-0.55/C
|       `-- /usr/local/bin/rustc --crate-name im_rc --edition=2018 

There can be multiple cargo subprocess instead of just one /usr/local/bin/rustc
.

The process getting the huge CPU time is the one running /usr/local/bin/cargo .
For example:

342:31.37 /usr/local/bin/cargo . . .
 33:21.39 /usr/local/bin/rustc . . .

Given the (effectively unbounded?) number of messages about pthread_peekjoin_np
that seem to be accumulating in the log files, the problem may be tied to cargo
vs. its subprocesses.

-- 
You are receiving this mail because:
You are on the CC list for the bug.