|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1344 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 1344.
Report 1344 Actions
Problem Report Number 1344 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0626 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-06-26 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.1 Test Identification base/execl 2 Problem Summary TSD4U.00191 This test may fail on implementations where the child does not have enough time to set up the signal handler. Problem Text
This is a problem of missing synchonisation between parent and child
process. The parent process forks a child, that executes program 'check'.
Program check initializes a signal routine for SIGINT.
The parent sleeps 2 seconds and then sends the interrupt character.
On our slow machines fork/exec and setup of the SIGINT handler sometimes
takes longer than these 2 seconds. This results in 'Child
terminated due to signal 2'.
There should be a kind of synchonisation between parent and child processes.
The same is true for
fexecl 2
fexecle 2
fexeclp 2
fexecv 2
fexecve 2
fexecvp 2Test Output
15|0 1.10 1|TCM Start
400|0 2 1 12:16:15|IC Start
200|0 1 12:16:15|TP Start
520|0 1 400 1 1|SPEC1170TESTSUITE CASE 2
520|0 1 400 1 2|On a successful call to int execl(const
520|0 1 400 1 3|char *path, const char *arg0, .../*, (char *)0 */) the
520|0 1 400 1 4|new process shall inherit its controlling terminal
520|0 1 400 1 5|from the calling process image.
520|0 1 401 1 1|PREP: Open communication pipe for exec process
520|0 1 402 1 1|PREP: Open master side of pseudo terminal
520|0 1 402 1 2|PREP: Create session
520|0 1 402 1 3|PREP: Open slave side as controlling terminal
520|0 1 402 1 4|PREP: Connect exec-ed process' pipe to stdout
520|0 1 404 1 1|PREP: Check slave is controlling terminal
520|0 1 404 1 2|PREP: Construct exec path
520|0 1 404 1 3|PREP: Issue execl
520|0 1 402 2 1|PREP: Ignore SIGINT
520|0 1 402 2 2|PREP: Send interrupt character to controlling terminal
520|0 1 402 2 3|PREP: Wait for exec-ed process to exit
520|0 1 402 2 4|ERROR: Child terminated due to signal 2
520|0 1 401 2 1|CLEANUP: Close pipe
220|0 1 2 12:16:20|UNRESOLVED
410|0 2 1 12:16:20|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Note that this recommendation only applies for execl, test 2, since
that is the only journal provided.
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 1344
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority