|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0143 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 0143.
Report 0143 Actions
Problem Report Number 0143 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0143 Raised 1994-05-17 08:00 Updated 2003-03-13 08:00 Published 1994-05-31 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification ANSI.os/genuts/realloc 2,4 Problem Summary TSD4.143 First of all, tests' sources have an initial comment: "If there are alignment problems, these tests will no doubt cause signals rather than the nice error message at the end" In our case, we have the... Problem Text
First of all, tests' sources have an initial comment:
"If there are alignment problems, these tests will no doubt cause
signals rather than the nice error message at the end"
In our case, we have the "nice error message" for type float, but no
signals.
Now, the test for type float is performed as follows (line 341):
*(float *)ptr = xfloat;
if (++*(float *)ptr != xfloat+1)
(void) strcat(buf, "float ");
The result of this test is based on a comparison for equal on two
floating point expressions: but if xfloat+1 is evaluated as double,
and compared with (double)(*(float*)ptr) a different rounding is
enough to create a spurious failure.Test Output
************************************************************************
/tset/ANSI.os/genuts/realloc/T.realloc 2 Failed
Test Information:
pointer returned by realloc(NULL, 6) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 10) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 15) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 21) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 28) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 36) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 45) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 55) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 66) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 78) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 91) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 105) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 120) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 136) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 153) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 171) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 190) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 210) was not aligned correctly for
the following types:
float
************************************************************************
************************************************************************
/tset/ANSI.os/genuts/realloc/T.realloc 4 Failed
Test Information:
pointer returned by realloc(NULL, 4) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 7) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 11) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 16) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 22) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 29) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 37) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 46) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 56) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 67) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 79) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 92) was not aligned correctly for the
following types:
float
pointer returned by realloc(NULL, 106) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 121) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 137) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 154) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 172) was not aligned correctly for
the following types:
float
pointer returned by realloc(NULL, 191) was not aligned correctly for
the following types:
float
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is accepted that this is a test suite fault and it is recommended that
a test suite deficiency be granted.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0143
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority