Skip to content

Stack overflow when running cargo doc #40936

Closed
@flanfly

Description

@flanfly

Running cargo doc crashes with

thread 'rustc' has overflowed its stack
fatal runtime error: stack overflow
error: Could not document `panopticon`.
Build failed, waiting for other jobs to finish...
error: build failed

Steps to reproduce:

git clone https://github.com/das-labor/panopticon
cd panopticon
cargo doc

The last working ref is das-labor/panopticon@c460ecd

Meta

rustc --version --verbose:

rustc 1.16.0 (30cf806ef 2017-03-10)
binary: rustc
commit-hash: 30cf806ef8881c41821fbd43e5cf3699c5290c16
commit-date: 2017-03-10
host: x86_64-unknown-linux-gnu
release: 1.16.0
LLVM version: 3.9

Backtrace: N/A

A ulimit -s unlimited does not help. I tried with nightly but that crashes with an (unrelated?) error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions