Closed isundaylee closed 5 years ago
Does the problem go away when running with -s ?
I have been running it with -s
for a couple days and the problem hasn't been reproduced yet. So I'd say that it goes away with -s
.
Assumed fixed by 414f30f268ea7 (until we can support multiple threads)
I had a similar issue with #29 where
sparsebundlefs
hangs with 100% CPU usage. I did a little bit debugging, and found that there was an infinite cycle while iterating throughsparsebundle->open_files
. Relevant GDB transcript (note the cycle of bands1b0->1b1->...->1b0->1b1->...
):The infinite cycle causes the iteration loop in
sparsebundlefs.cpp
line 365-368 to go on indefinitely.Seems like this might be a multi-threading issue, since I believe
std::map
is not guaranteed to be thread-safe.