Problem Report Number | 0010 (TSD.0007) |
---|---|
Submitter's Classification | Test Suite Problem (TSD) |
State | Resolved |
Resolution | Test Suite Deficiency (TSD) |
Raised | 2002-08-05 18:18 |
Updated | 2002-08-22 18:06 |
Published | 2002-08-22 18:06 |
Certification Program | Linux Standard Base Conformance Release 1.2 |
Test Suite | lsb-runtime IA32 version 1.2.1-1 |
Test Identification | /tset/LSB.os/mfiles/msync/T.msync |
Problem Summary | msync test may fail if memory is mapped unexpectedly |
Problem Text | Under certain circumstances, the msync 7 test may fail. The test strategy is: 1. mmap() 1 page 2. msync() 2 pages Should fail due to msync'ing unmapped memory. Due to Linux kernel's aggressive consolidation of mmaps, there's a chance (perhaps due to earlier code not properly managing maps? I don't have proof of this at present) that the msync () will pass due to the second page being mapped after all. Propose an alternate test strategy, which has been tested and shown to work on the failing implementation: 1. mmap() 3 pages 2. munmap() the middle page (addr + vsrt_pgsz) 3. msync() 3 pages In this circumstance we're *sure* an unmapped page is being referenced by the msync call. |
Test Output | 10|591 /tset/LSB.os/mfiles/msync_P/T.msync_P 15:40:34|TC Start, scenario ref 596-0 15|591 3.3-lite 9|TCM Start ... 400|591 7 1 15:40:59|IC Start 200|591 7 15:40:59|TP Start 520|591 7 00001768 1 1|msync() did not return -1, returned 0 220|591 7 1 15:40:59|FAIL 410|591 7 1 15:40:59|IC End |
Review Type | TSMA Review |
---|---|
Start Date | 2002-08-05 18:18 |
Last Updated | 2002-08-15 14:38 |
Completed | 2002-08-15 14:38 |
Status | Complete |
Review Recommendation | Test Suite Deficiency (TSD) |
Review Response | A test suite deficiency is recommended. Please note that the test case ID should be /tset/LSB.os/mfiles/msync_P/T.msync_P not what is currently specified (test journal output is ok) |
Review Type | SA Review |
---|---|
Start Date | 2002-08-15 13:38 |
Last Updated | 2002-08-22 13:09 |
Completed | 2002-08-22 13:09 |
Status | Complete |
Review Resolution | Test Suite Deficiency (TSD) |
Review Conclusion | SA concurrs with TSD. |
Copyright 2005, The Free Standards Group, All Rights Reserved