Skip to content

Stack overflow on circular dependency #9073

Closed
@thibault-martinez

Description

@thibault-martinez

Problem

cargo check --release crashes with stack overflow.

thread 'main' has overflowed its stack
fatal runtime error: stack overflow

Steps

  1. git clone https://github.com/thibault-martinez/bee.git
  2. cd bee/
  3. git checkout cargo-stack-overflow
  4. cargo check --release

Notes

cargo 1.49.0 (d00d64df9 2020-12-05)

There is a circular dependency bee-tangle->bee-snapshot->bee-ledger->bee-tangle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions