Opened 2 years ago

Closed 2 months ago

#18117 closed bug (fixed)

MMAP: KDL merging incompatible cache with VMAnonymousCache

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: R1/beta5
Component: System/POSIX Version: R1/Development
Keywords: mmap Cc:
Blocked By: Blocking:
Platform: All

Description

KDL occurs. Merging incompatible cache with VMAnonymousCache at 0x82d78430

Test Steps:

 * 1. Create a shared memory object.
 * 2. mmap the shared memory object into memory, setting MAP_PRIVATE.
 * 3. Modify the mapped memory.
 * 4. Fork a child process.
 * 5. Child process mmap the same shared memory object into memory.
 * 6. Check whether the change in step 3 is visible to the child.

Ref: https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/mmap/7-3.c

Tested on: Haiku hrev56627 x86

Attachments (1)

Haiku_MMAP_7_3_bug.jpg (3.0 MB ) - added by cocobean 2 years ago.
MMAP-7_3-openposix test on Haiku hrev56627 x86

Change History (4)

comment:1 by waddlesplash, 2 years ago

Screenshot of KDL, please.

by cocobean, 2 years ago

Attachment: Haiku_MMAP_7_3_bug.jpg added

MMAP-7_3-openposix test on Haiku hrev56627 x86

comment:2 by cocobean, 12 months ago

No change. Updated for Haiku R1B4 (hrev56768+93) x86_64.

comment:3 by waddlesplash, 2 months ago

Milestone: UnscheduledR1/beta5
Resolution: fixed
Status: newclosed

This is now fixed, presumably by the changes to RAMFS to prevent caches from being merged.

Note: See TracTickets for help on using tickets.