Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
chashmap
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • chashmap
  • Issues
  • #4

Closed
Open
Opened Aug 07, 2019 by Spencer Judge@Sushisource

Overflowing Add during `insert`?

Hello - have run into this panic a few times and unfortunately I'm totally unable to narrow down a repro but I wanted to call it to your attention in any case. If I get any better information I will update this ticket. Thanks for your work on this crate!

---- client_tests::some_test stdout ----
thread 'xxx' panicked at 'attempt to add with overflow', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:955:19
stack backtrace:
   0:     0x5652428d9d33 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
                               at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1:     0x5652428d560b - std::sys_common::backtrace::_print::h49a82ae9552e35c7
                               at src/libstd/sys_common/backtrace.rs:71
   2:     0x5652428d8a26 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
                               at src/libstd/sys_common/backtrace.rs:59
                               at src/libstd/panicking.rs:197
   3:     0x5652428d874e - std::panicking::default_hook::he4af6af4ac7fef7b
                               at src/libstd/panicking.rs:208
   4:     0x5652428d912f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
                               at src/libstd/panicking.rs:474
   5:     0x5652428d8cb1 - std::panicking::continue_panic_fmt::ha6d6ae144369025b
                               at src/libstd/panicking.rs:381
   6:     0x5652428d8b95 - rust_begin_unwind
                               at src/libstd/panicking.rs:308
   7:     0x5652428ee8bc - core::panicking::panic_fmt::hc4f83bfed80aeabd
                               at src/libcore/panicking.rs:85
   8:     0x5652428ee7fb - core::panicking::panic::h62fdcfa056e70982
                               at src/libcore/panicking.rs:49
   9:     0x5652423ee204 - chashmap::CHashMap<K,V>::expand::he7a23d818ea1d4af
                               at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:955
  10:     0x5652423ee3c7 - chashmap::CHashMap<K,V>::insert::h1f25a247704603f4
                               at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.2.2/src/lib.rs:806
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/chashmap#4