HDFGroup / HDFGroup/hcl

Data sizes larger than 4063 bytes cause crash when using Thallium

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

To reproduce, change the `array_size` and `size_of_request` to `4096` in `unordered_map_test.cpp` and use the Thallium TCP RPC layer. It crashes on the 32nd call to `map->Get` with the following stack trace:
```
unordered_map_test: /home/chogan/sw/mercury/src/na/na_ofi.c:2587: na_ofi_op_id_addref: Assertion `hg_atomic_get32(&na_ofi_op_id->noo_refcount)' failed.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash by setting array_size and size_of_request to 4096 in unordered_map_test.cpp and running the Thallium TCP RPC layer. Start with the map->Get call and the assertion at na/na_ofi.c:2587, then verify that repeated calls no longer crash at the 32nd invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.