Opened 4 years ago

Closed 2 years ago

#16649 closed bug (invalid)

MMAP: Out of Memory error instead of EOVERFLOW result during PTS test

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

Description (last modified by cocobean)

Open POSIX Test Suite fails MMAP 31-1 test with Out of Memory result instead of expected EOVERFLOW result. The test is failing on Haiku R1B2 x86 (+123).

The mmap() function shall fail if:
 [EOVERFLOW] The file is a regular file and the value of off
 plus len exceeds the offset maximum established in the open
 file description associated with fildes.

 Note: This error condition came to the standard with large
       file extension and cannot be triggered without it.

       So in order to trigger this we need 32 bit architecture
       and largefile support turned on

.

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

Change History (3)

comment:1 by cocobean, 4 years ago

Description: modified (diff)

comment:2 by cocobean, 2 years ago

Please close this ticket. Test failed on Linux.

comment:3 by waddlesplash, 2 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.