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

Program terminated with signal 8, Arithmetic exception(div zero) #129

Closed
liwei-link opened this issue Jul 17, 2017 · 2 comments
Closed

Comments

@liwei-link
Copy link

liwei-link commented Jul 17, 2017

when I HASH_ADD_STR(), the program terminated with zero-div in HASH_EXPAND_BUCKETS
image
#define UTHASH_VERSION 2.0.2

@Quuxplusone
Copy link
Collaborator

  • Can you provide a complete, compileable example?
    • If not, can you reproduce the crash at all?
      • If so, what are the values of ideal_chain_maxlen, _he_newbkt->count, tbl->num_buckets, and tbl->nonideal_items at the time of the crash?
  • (Approximately) how many inserts did you do before the crash? (If the answer is more than a billion, I consider this not-a-bug, sorry; unless you have a specific patch in mind.)

@Quuxplusone
Copy link
Collaborator

Closing as "cannot reproduce"; feel free to reopen this issue if it can be reproduced.

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