|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2096 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 2096.
Report 2096 Actions
Problem Report Number 2096 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0603 Raised 1999-11-10 08:00 Updated 2003-03-13 08:00 Published null 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_create 2 Problem Summary PG5TH.00010 This test calls a non-async-safe function (pthread_exit) in an asynchronously cancellable thread. The test creates a child thread. The child thread changes its cancellability type to asynchronous. Aft... Problem Text
This test calls a non-async-safe function (pthread_exit) in an
asynchronously cancellable thread.
The test creates a child thread. The child thread changes its
cancellability type to asynchronous. After cancelling itself
it calls pthread_exit, which is not an async-safe function.
Calling a non-async-safe function with async-cancellation
enabled might have enexpected consequences.
There is no reason to call pthread-exit in this test, except
to pass a value back to the parent thread. This call can be
removed without affecting the the way the test functions with
respect to testing the assertion.Test Output
400|114 2 1 18:23:07|IC Start
200|114 2 18:23:07|TP Start
520|114 2 000287747 1 1|The cancellation type of all newly created threads,
520|114 2 000287747 1 2|including the thread in which main() is first invoked,
520|114 2 000287747 1 3|is PTHREAD_CANCEL_DEFERRED.
520|114 2 000287747 1 4|Posix Ref: Component PTHREAD_CREATE
520|114 2 000287747 1 5|Assertion 18.1.1-2(A)
520|114 2 000287747 1 6|Thread exitval, expected -1, got 0
220|114 2 2 18:23:07|UNRESOLVED
410|114 2 1 18:23:07|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is a known problem addressed in Patch 2. The customer
should apply patch two as the official workaround.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused. The Patch 2 fixes the problem.
Problem Reporting System Options:
- View Report 2096
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority