pmem / pmemstream

Other
9 stars 13 forks source link

Crash inconsistency in region allocation #253

Open karczex opened 2 years ago

karczex commented 2 years ago

ISSUE: Crash inconsistency in region allocation

Environment Information

Please provide a reproduction of the bug:

https://github.com/karczex/pmemstream/blob/recovery_on_recovery_test_2TC/tests/integrity/append_to_new_region_pmreorder.cpp

How often bug is revealed:

always

Details

Pmreorder test fails due to slist invariant violation in the scenario:

  1. Crash stream (via pmreorder) during data insertion to regions (Allocate regions first, than start appending data.)
  2. After next start of application allocate new region and append data to it
  3. allocate next region

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No) Maybe

Requested priority: (Showstopper, High, Medium, Low) High