You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo deny check repeatedly seemed to hang "indefinitely" because I kept Ctrl-C'ing the process before it could hit the 10-minute mark. I had tried enabling the TRACE log messages, but it didn't give any clear reason why it seemed to be hanging. While I was cloning the repo and adding several more trace messages to figure out where and why it could be hanging, a background process finally hit the 10-minute mark and gave the exact error message I was looking for (ie: that a lockfile from a crashed instance was still lingering).
I think the proper fix is to actually properly hook gix's interrupt handler so interrupts cause the lockfile to be deleted before the process exits/is aborted.
cargo-deny check & pkill cargo-deny to create the lockfile (yes, that single & is on purpose, because we want to put cargo-deny to the background to kill it, it's not a typo for &&)
confirm the lockfile exists at $HOME/.cargo/advisory-dbs/github.cargo-deny.lock
cargo-deny check will hang now
cargo-deny version
cargo-deny 0.14.1
What OS were you running cargo-deny on?
MacOS
Additional context
Keywords for searchability: hangs, hanging, freeze, frozen, no output, stuck, doesn't exit
The text was updated successfully, but these errors were encountered:
Describe the bug
To reproduce
cargo-deny check & pkill cargo-deny
to create the lockfile (yes, that single&
is on purpose, because we want to putcargo-deny
to the background to kill it, it's not a typo for&&
)$HOME/.cargo/advisory-dbs/github.cargo-deny.lock
cargo-deny check
will hang nowcargo-deny version
cargo-deny 0.14.1
What OS were you running cargo-deny on?
MacOS
Additional context
Keywords for searchability: hangs, hanging, freeze, frozen, no output, stuck, doesn't exit
The text was updated successfully, but these errors were encountered: