mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #256] panicked at 'called Result::unwrap()
#111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AminurAlam on GitHub (Aug 24, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/256
this started happening after the update
installed dust from my package manager on termux
@bootandy commented on GitHub (Aug 24, 2022):
:-(.
Thanks for the info.
From the line you've provided it seems Rayon is having trouble getting the threads.
I'm doing a naked unwrap on that line so I'll change it to a log to stderr and handle the error.
@bootandy commented on GitHub (Aug 24, 2022):
https://github.com/rayon-rs/rayon/issues/694
@bootandy commented on GitHub (Aug 24, 2022):
Does this always happen or only sometimes? Is this machine a single core, is it under heavy load? Or is there anything odd about the machine you are running on? Thanks, @AminurAlam
@AminurAlam commented on GitHub (Aug 25, 2022):
this happens everytime, and i'm running on android 8.1 with 8 cores
@bootandy commented on GitHub (Aug 26, 2022):
@AminurAlam does the code here fix it? https://github.com/bootandy/dust/pull/259 ?
@WesleyAC commented on GitHub (Aug 28, 2022):
I'm seeing this every time on a single-cpu DigitalOcean droplet. If you can send me a binary version of #259, I'd be happy to try it out, @bootandy.
@AminurAlam commented on GitHub (Aug 28, 2022):
nope still broken

@bootandy commented on GitHub (Aug 29, 2022):
This seems to be something to do with the stack-size.
I increased the stack-size to handle the case where a directory has a huge number of sub-directories. However small boxes can't allocate that much memory to stack-size and so it blows up.
@bootandy commented on GitHub (Aug 29, 2022):
https://github.com/rayon-rs/rayon/issues/900
@bootandy commented on GitHub (Aug 29, 2022):
https://github.com/bootandy/dust/pull/261
This PR should fix it.
Branch: https://github.com/bootandy/dust/tree/fix_error_on_thread_creation5
@AminurAlam commented on GitHub (Aug 31, 2022):
yep, #261 is working
thanks for fixing the issue