Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Insert fails with std::overflow_error again #117

@slavenf

Description

@slavenf

Hello.

I have encountered std::overflow_error again.

I am using robin hood version 3.10.0.

This time I cannot create test case. I hope you can give me guidelines to find source of problem. I am working with robin_hood::unordered_flat_set<int32_t>. My application is working with 200 containers and 10 million elements in total, so I cannot find good way to create test example. It takes about 5 minutes of number crunching before application crashes while trying to insert that specific integer into that specific container.

My application is basically doing this:

  • Create 200 containers.
  • Do work with all containers (container::insert, container::erase, container::clear). This work takes about 5 minutes.
  • At some moment, application has to process some problematic container.
  • Problematic container contains some elements.
  • I know what are new elements that must be inserted into problematic container.
  • Problematic container is cleared before insertion.
  • New elements are inserted into problematic container one-by-one. Insertion fails with std::overflow_error after some number.

Exception is not thrown if I recreate standalone test case with same elements.

Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions