gitmalong

Results 54 comments of gitmalong

Thanks I will give that a try. For tokio::sync::RwLock the `tokio-console` crate can be used. Think my issue is not related to this library so I gonna close the issue.

Could something like this be integrated into Dashmap for debugging purposes? https://lib.rs/crates/no_deadlocks

> Hey, so this can be a bit tricky. Usually I just fire up lmdb and dump the backtraces of every thread when they happen and go through their callstacks....

I wanted to give https://github.com/BurtonQin/lockbud a try but it does not work on Mac OS (https://github.com/BurtonQin/lockbud). Which approach do you normally take to get the backtraces of each thread?

I ran `(lldb) thread backtrace all` and probably found the dead lock call that I also figured out through my logs. However I can't find another lock that blocks. ```bash...

Hi @xacrimon . In https://github.com/xacrimon/dashmap/issues/79 @notgull says > I think "don't hold a lock across a `.await`" should be documented. Might this be the root cause of my issue cause...

Reproducer ```rust #[tokio::test] async fn dashmap_async_test() { struct CanAsyncSave {}; impl CanAsyncSave { pub async fn save(&mut self) { tokio::time::sleep(Duration::from_millis(1)).await; } } let dm: Arc = Default::default(); let dm_clone =...

I have a similar issue which fails to serialize a tagged enum variant if the tag attribute is not the FIRST field in the json.