dermesser / leveldb-rs

A reimplementation of LevelDB in Rust (no bindings).
Other
515 stars 60 forks source link

stack overflow when recover database #15

Closed EYHN closed 2 years ago

EYHN commented 2 years ago

stack overflow when recover database.

Check the call stack and find that it has been recursively infinite from Display::fmt -> to_string.

https://github.com/dermesser/leveldb-rs/blob/abf543bc068bc04e6a1658330c55e881a6ee5277/src/error.rs#L48-L52