[Bug 257419] devel/rust-cbindgen: runaway build with infinite stack trace on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jul 2021 22:04:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257419

            Bug ID: 257419
           Summary: devel/rust-cbindgen: runaway build with infinite stack
                    trace on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: fuz@fuz.su
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org
 Attachment #226690 text/plain
         mime type:

Created attachment 226690
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226690&action=edit
devel/rust-cbindgen-0.19.0_2 build log on armv7

This port consistently fails to build in an armv7 FreeBSD 13.0 jail on an arm64
FreeBSD 13.0 host.  The symptom is always the same: after processing a number
of files, the compiler crashes with a “capacity overflow” and then panics again
during the generation of the backtrace.  This somehow leads to an infinite
backtrace (see attached log where I truncated this backtrace to the first 100
entries).

If left running, eventually Poudriere kills the port for being in a runaway
state, but not before generating several gigabytes of logs.

The attached log was generated on the quarterly branch, but I imagine it
applies to the main branch the same way.  Will test shortly.

-- 
You are receiving this mail because:
You are the assignee for the bug.