PR0032.html

LSB Problem Report

Problem Report Number 0032 (TSD.0021)
Submitter's Classification Test Suite Problem (TSD)
State Resolved
Resolution Test Suite Deficiency (TSD)
Raised 2003-09-04 19:12
Updated 2003-09-11 06:15
Published 2003-09-11 06:15
Certification Program Linux Standard Base Conformance Release 1.3
Test Suite lsb-runtime IA32 version 1.3.6-3
Test Identification LSB.os/procprim/execl/T.exec{l,le,lp,v,ve,vp} 4
Specification Linux Standard Base Specification 1.3
Location in Spec Chapter 13
Problem Summary invalid timer after exec() check is not testable
Problem Text The test suite has a flaw in the test method to verify that
timers are deleted upon exec(). It converts the timer_t to
an unsigned long and passes that to the child on exec() on
the command line. If timer_t is a pointer, this will be an
invalid location in memory of the child after exec(). This
is similar to the untestable aspect of DIR* streams being
closed on exec().

As an aside, future standards do not require that
timer_delete() check the validity of a timer_t passed to it.
See POSIX.1-2001 technical corrigendum at
http://www.opengroup.org/austin/aardvark/finaltext/xshbug.txt
Test Output 200|763 4 18:30:02|TP Start
520|763 4 00016484 2 1|Child terminated due to signal 11
220|763 4 1 18:30:02|FAIL


/tset/LSB.os/procprim/execle/T.execle
200|764 4 18:30:13|TP Start
520|764 4 00016696 2 1|Child terminated due to signal 11
220|764 4 1 18:30:13|FAIL


/tset/LSB.os/procprim/execlp/T.execlp
200|765 4 01:07:39|TP Start
520|765 4 00016914 2 1|Child terminated due to signal 11
220|765 4 1 01:07:39|FAIL


/tset/LSB.os/procprim/execv/T.execv
200|766 4 01:07:50|TP Start
520|766 4 00017121 2 1|Child terminated due to signal 11
220|766 4 1 01:07:50|FAIL


/tset/LSB.os/procprim/execve/T.execve
200|767 4 01:08:02|TP Start
520|767 4 00017328 2 1|Child terminated due to signal 11
220|767 4 1 01:08:02|FAIL


/tset/LSB.os/procprim/execvp/T.execvp
200|768 4 01:08:14|TP Start
520|768 4 00017535 2 1|Child terminated due to signal 11
220|768 4 1 01:08:14|FAIL

Review Information

Review Type TSMA Review
Start Date 2003-09-04 19:12
Last Updated 2003-09-09 15:07
Completed 2003-09-09 15:07
Status Complete
Review Recommendation Test Suite Deficiency (TSD)
Review Response This is an agreed test suite deficiency since the
function timer_delete() is not required in the LSB 1.3
specification.

Review Type SA Review
Start Date 2003-09-09 14:07
Last Updated 2003-09-11 06:14
Completed 2003-09-11 06:14
Status Complete
Review Resolution Test Suite Deficiency (TSD)
Review Conclusion A test suite deficiency is granted.

 

Copyright 2005, The Free Standards Group, All Rights Reserved