Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Assertion fault in region_runtime_clear_from_tail() #121

Closed
Karolina002 opened this issue Feb 14, 2022 · 0 comments
Closed

Assertion fault in region_runtime_clear_from_tail() #121

Karolina002 opened this issue Feb 14, 2022 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@Karolina002
Copy link

ISSUE:

assertion fault in region_runtime_clear_from_tail()

The bug reproduction:

struct pmemstream_region invalid_region = {.offset = ALIGN_DOWN(UINT64_MAX, sizeof(span_bytes))};
struct pmemstream_region_runtime *rtm = NULL;
ret = pmemstream_region_runtime_initialize(stream, invalid_region, &rtm);

How often bug is revealed:

always

Actual behavior:

 __GI___assert_fail ("region_runtime_get_state_acquire(region_runtime) == REGION_RUNTIME_STATE_DIRTY")
region_runtime_clear_from_tail () at pmemstream/src/region.c:238
region_runtime_initialize_clear_locked () at pmemstream/src/region.c:273
pmemstream_region_runtime_initialize () at pmemstream/src/libpmemstream.c:212
invalid_region_test () at pmemstream/tests/api_c/region_create.c:65
main () at pmemstream/tests/api_c/region_create.c:88
@Karolina002 Karolina002 added the Type: Bug Something isn't working label Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant