Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] panic when call RadixTree::try_remove #4

Open
yukkit opened this issue Oct 10, 2023 · 1 comment
Open

[bug] panic when call RadixTree::try_remove #4

yukkit opened this issue Oct 10, 2023 · 1 comment

Comments

@yukkit
Copy link

yukkit commented Oct 10, 2023

The application panicked (crashed).
Message:  assertion failed: self.children_hdr.is_data() || self.children_hdr.is_none()
Location: /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:894

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 13 frames hidden ⋮                              
  14: core::panicking::panic::h4dc156260df6cc2f
      at /rustc/696aaad58c57a589f6fb2ecff5bae2eec581cb71/library/core/src/panicking.rs:117
  15: radixdb::node::TreeNode<S>::canonicalize::h507cf8dc2d1e74f5
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:894
  16: radixdb::node::left_combine_with::ha809223ab3766bcc
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:2718
  17: radixdb::node::left_combine_children_with::haf4a3ef8ca761f3d
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:2752
  18: radixdb::node::left_combine_with::ha809223ab3766bcc
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:2708
  19: radixdb::node::left_combine_children_with::haf4a3ef8ca761f3d
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:2752
  20: radixdb::node::left_combine_with::ha809223ab3766bcc
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:2708
  21: radixdb::node::<impl radixdb::RadixTree<S>>::try_left_combine_with::h23565af36f6e5b9c
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:3734
  22: radixdb::node::<impl radixdb::RadixTree<S>>::try_remove::hf42c166de4dbad23
      at /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/radixdb-0.2.5/src/node/mod.rs:3535
  23: tskv::index::engine::IndexEngine::delete::hc53ba8d07cfe7f1b
      at /Users/yukkit/VCWorkspace/cnosdb/tskv/src/index/engine.rs:146
@rklaehn
Copy link
Contributor

rklaehn commented Oct 10, 2023

There is an invariant that was violated. Definitely a bug.

Can you try to come up with a small reproducer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants