libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

Possible atomic_persistent_aware_ptr_pmreorder failures with FullReorder engine

Open igchor opened this issue 1 year ago • 0 comments

ISSUE: Possible atomic_persistent_aware_ptr_pmreorder failures with FullReorder engine

Environment Information

  • libpmemobj-cpp version(s): master
  • PMDK (libpmemobj) package version(s): 1.10+
  • OS(es) version(s):
  • kernel version(s):
  • compiler, libraries, packaging and other related tools version(s):

Please provide a reproduction of the bug:

Set pmreorder engine to FullReorder in atomic_persistent_aware_ptr_pmreorder test

How often bug is revealed:

rare

Actual behavior:

Test fails

Expected behavior:

Test passes

Details

The test is concurrent and not fully deterministic. Right now, it is possible that markers from pmemcheck are crossed (between threads) which is not allowed.

This was fixed for _0 case here: https://github.com/pmem/libpmemobj-cpp/pull/1261 but the same problem might occur for other testcases

Additional information about Priority and Help Requested:

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

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

igchor avatar Jul 29 '22 12:07 igchor