|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1063 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 1063.
Report 1063 Actions
Problem Report Number 1063 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0300 Raised 1970-01-01 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 VSRT version 5.0.1 Test Identification rt.os/semaphores/sem_post 2 Problem Summary PG4R.00004 These tests will fail on implementations where the size of an int is less than the size of a pointer. Problem Text
The following VSRT test cases are failing
rt.os/semaphores/sem_post/T.sem_post 2 Failed
rt.os/semaphores/sem_wait/T.sem_wait 2 Failed
rt.os/semaphores/sem_wait/T.sem_wait 3 Failed
because of the following use of a int address being passed as an argument
to pthread_join():
int err, retval;
pthread_join(thr_main, (void **)&retval)
The XSH5 synopsis for the function on page 628
int pthread_join(pthread_t thread, void **valid_ptr);
expects a value of pointer size for the resulting location for **valid_ptr.
The retval is declared to be an int instead of a pointer type. The current
implementation under test is executing with pointers being 64 bits long.
The result is memory being overwritten in unexpected ways with strange
and unexpected failures from the tests. Additional affected files are
./mqueue/mq_notify/mq_notify.c
./mqueue/mq_receive/mq_receive4.c
./mqueue/mq_send/mq_send5.c
./rtsignals/sigtimedwait/sigtimedwait.c
./rtsignals/sigwaitinfo/sigwaitinfo.c
./semaphores/sem_init/sem_init.c
./semaphores/sem_post/sem_post.c
./semaphores/sem_post/sem_post3.c
./semaphores/sem_post/sem_post4.c
./semaphores/sem_post/sem_post5.c
./semaphores/sem_post/sem_post6.c
./semaphores/sem_wait/sem_wait.c
./timers/nanosleep/nanosleep.cTest Output
10|0 /tset/rt.os/semaphores/sem_post/T.sem_post 09:39:42|TC Start, scenario
ref 1-0
200|0 1 09:39:43|TP Start
220|0 1 0 09:39:43|PASS
410|0 1 1 09:39:43|IC End
400|0 2 1 09:39:43|IC Start
200|0 2 09:39:43|TP Start
520|0 2 00001393 1 1|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 2|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 3|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 4|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 5|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 6|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 7|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 8|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 9|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 10|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 11|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 12|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 13|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 14|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 15|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 16|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 17|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 18|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 19|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 20|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 21|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 22|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 23|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 24|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 25|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 26|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 27|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 28|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 29|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 30|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 31|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 32|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 33|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 34|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 35|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 36|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 37|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 38|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 39|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 40|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 41|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 42|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 43|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 44|pthread_join() failed, errno = 3 (ESRCH)
520|0 2 00001393 1 45|pthread_join() failed, errno = 3 (ESRCH)
220|0 2 1 09:39:53|FAIL
410|0 2 1 09:39:53|IC End
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
Patch 5.0.1B provides a workaround for these failures. We
recommend that the submitter be required to apply this patch
prior to making a single branding run.
The patch will be available during the week beginning 13 April.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1063
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority