|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2120 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 2120.
Report 2120 Actions
Problem Report Number 2120 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1085 Raised 1999-12-23 08:00 Updated 2003-03-13 08:00 Published 1999-12-24 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.1.4 Test Identification PTHR.os/all/pthread_cond_init 3 Problem Summary TSD5TH.00078 The attr can contain a random value because it is an automatic variable on the stack If it is zeroed or placed on the heap the test succeeds; tset/PTHR.os/all/pthread_cond_init/pthread_cond_init.c > s... Problem Text
The attr can contain a random value because it is an automatic variable on the stack
If it is zeroed or placed on the heap the test succeeds;
tset/PTHR.os/all/pthread_cond_init/pthread_cond_init.c
> static pthread_cond_t t3_cv;
> static pthread_condattr_t t3_cvattr;
>
841,843d843
< pthread_cond_t cv;
< pthread_condattr_t cvattr;
<
845c845
< rval = pthread_cond_init( &cv, &cvattr );
---
> rval = pthread_cond_init( &t3_cv, &t3_cvattr );
The test also prints incorrect messages:
855c855
< tet_printf("VSTH_CV_EINVAL is set to %s", p);
---
> tet_printf("VSTH_UCVAO_EINVAL is set to %s", p);
861c861
< vsth_badconfig("VSTH_CV_EINVAL", &errors);
---
> vsth_badconfig("VSTH_UCVAO_EINVAL", &errors);Test Output
200|0 3 16:15:25|TP Start
520|0 3 00000537 1 1|If the implementation detects that the attributes object
520|0 3 00000537 1 2|specified by attr is invalid:
520|0 3 00000537 1 3|a call to pthread_cond_init(cond, attr) shall fail
520|0 3 00000537 1 4|and return EINVAL without modifying the state of the
520|0 3 00000537 1 5|condition variable.
520|0 3 00000537 1 6|Posix Ref: Component PTHREAD_COND_INIT
520|0 3 00000537 1 7|Assertion 9945-1:1996 11.4.2.3, 9945-1:1996 11.4.2.4-3(C)
510|0|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV)Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A test suite deficiency is recommended
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 2120
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority