Skip to content

Spurious assertion failure from boost::condition_variable when exiting #2214

@daira

Description

@daira

Running zcashd while the proving key was downloading in the background (just to see what would happen):

Thank you for running a Zcash node!
You're helping to strengthen the network and contributing to a social good :)

In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/index.html>.

Since starting this node 2 seconds ago:
- You have validated no transactions.

Messages:
Error: Cannot find the Zcash network parameters in the following directory:
"/home/daira/.zcash-params"
Please run 'zcash-fetch-params' or './zcutil/fetch-params.sh' and then restart.

Init message: Loading block index...

[Press Ctrl+C to exit] [Set 'showmetrics=0' to hide]
zcashd: /home/daira/zecc/zcash/depends/x86_64-unknown-linux-gnu/share/../include/boost/thread/pthread/condition_variable_fwd.hpp:102: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Aborted

Expected behaviour: zcashd prints everything but the assertion from boost::condition_variable, and then exits.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions