|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2119 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 2119.
Report 2119 Actions
Problem Report Number 2119 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1084 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_mutex_setprioceiling 3 Problem Summary TSD5TH.00077 The mutex ma is uninitialized, and its priority ceiling is set to a random value from the stack. The test passes if the mutex is initialized correctly: 304a305,312 > rval = pthread_mutexattr_setprioce... Problem Text
The mutex ma is uninitialized, and its priority ceiling is set to a random value from
the stack. The test passes if the mutex is initialized correctly:
304a305,312
> rval = pthread_mutexattr_setprioceiling( &ma, priomin );
> if ( rval != 0 )
> {
> vsth_surprise("pthread_mutexattr_setprotocol", 0, rval, errors);
> (void) pthread_mutexattr_destroy( &ma );
> return;
> }
>Test Output
The test causes a thread panic and hangs without producing results:
libthread panic: _thread_setschedparam_main() fails (PID: 525 LWP 1)
stacktrace:
dfa4adf1
dfa4aed9
dfa52852
8.0553e+06
8.0551e+06
806021a
805cfe5
805cd7e
805cc69
8055c01
8054bb4
0
200|0 3 15:49:34|TP Start
520|0 3 00000525 1 1|If _POSIX_THREAD_PRIO_PROTECT is defined
520|0 3 00000525 1 2|and the implementation detects that the priority requested
by
520|0 3 00000525 1 3|prioceiling is out of range:
520|0 3 00000525 1 4|a call to pthread_mutex_setprioceiling(mutex, prioceiling,
old_ceiling)
520|0 3 00000525 1 5|shall fail and return EINVAL without changing the priority
ceiling.
520|0 3 00000525 1 6|Posix Ref: Component PTHREAD_MUTEX_SETPRIOCEILING
520|0 3 00000525 1 7|Assertion 9945-1:1996 13.6.2.4-3(C)
(journal file stops here)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 2119
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority