Problem Report Number |
0069 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0037 |
Raised |
2019-10-11 08:10 |
Updated |
2019-10-12 05:58 |
Published |
2019-10-12 05:58 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSTH-PSE version 5.5.15 |
Test Identification |
/tset/PTHR.os/thread/pthread_join/T.pthread_join 6
|
Specification |
IEEE Std 1003.13-2003 |
Problem Summary |
The defines of T6_cv and T6_mx not initialized before use in
pthread_join_exectests.c |
Problem Text |
In vsx0/tset/PTHR.os/thread/pthread_join/pthread_join_exectests.c
test file, thedefines of T6_cv and T6_mx are as follows:
pthread_cond_t T6_cv;
pthread_mutex_t T6_mx;
These are not initialized before using in t6_f2 and t6_f3.
This cause the following cases failed;
/tset/PTHR.os/thread/pthread_join/T.pthread_join 6 Failed |
Test Output |
********************************************************************
****
/tset/PTHR.os/thread/pthread_join/T.pthread_join 6
Failed
Test Description:
If the implementation detects deadlocks:
When a deadlock condition occurs, pthread_join(thread,
value_ptr)
returns EDEADLK.
Test Information:
Testing the pthread_self() deadlock case
Testing the deadly embrace case
The system does not support the PTHREAD_SCOPE_PROCESS scope,
using
PTHREAD_SCOPE_SYSTEM
The system does not support the PTHREAD_SCOPE_PROCESS scope,
using
PTHREAD_SCOPE_SYSTEM
pthread_join() for thread 1 returned 3
None of the pthread_join() calls returned EDEADLK
tet_fork, expected 0, got 2
Testing the deadly ring case
The system does not support the PTHREAD_SCOPE_PROCESS scope,
using
PTHREAD_SCOPE_SYSTEM
The system does not support the PTHREAD_SCOPE_PROCESS scope,
using
PTHREAD_SCOPE_SYSTEM
The system does not support the PTHREAD_SCOPE_PROCESS scope,
using
PTHREAD_SCOPE_SYSTEM
pthread_join() for thread 1 returned 3
pthread_join() for thread 2 returned 3
None of the pthread_join() calls returned EDEADLK
tet_fork, expected 0, got 2
|