|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2339 Details Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2339.
Report 2339 Actions
Problem Report Number 2339 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1205 Raised 2004-02-24 05:04 Updated 2004-03-02 16:49 Published 2004-03-02 16:49 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSRT version 5.2.5 Test Identification rt.os/ioprim/ftruncate test2 Specification Base Definitions Issue 6 Location in Spec none Problem Summary line optimized out by compiler Problem Text in ftruncate.c line 236
int *iaddr;
and lines 344,345
if (sigsetjmp(env,1) == 0)
i = *iaddr;
because i is never used again, optimizing compilers will remove lines
344 and 345. Need to add volatile to line 236
volatile int *iaddr;Test Output
************************************************************************
/tset/rt.os/ioprim/ftruncate/T.ftruncate 2 Failed
Test Description:
If _POSIX_SHARED_MEMORY_OBJECTS and _POSIX_MEMORY_PROTECTION are
defined or the implementation supports the ftruncate() function as
defined in System Interfaces and Headers, Issue 5:
On a call to ftruncate() when fildes refers to a shared memory
object and the effect of the call is to decrease the size of the
shared memory object and whole pages beyond the new end were
previously mapped, the whole pages beyond the new end shall be
discarded and subsequent references to them shall result in
generation of a SIGBUS signal.
Test Information:
Did not get SIGBUS
************************************************************************Review Information
Review Type TSMA Review Start Date 2004-02-24 05:04 Last Updated 2004-02-24 17:48 Completed 2004-02-24 17:48 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2004-02-24 17:48 Last Updated 2004-02-27 01:01 Completed 2004-02-27 01:01 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion This PR is accepted as representing a fault in the test suite
Problem Reporting System Options:
- View Report 2339
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority