[Bug 1065] New: T.sigconcept{37} cause T.sigconcept{41} to fail

[email protected]
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>
Isolating T.sigconcept{41} by running a single test case works fine. However, if
we run the whole T.sigconept, T.sigconcept{41} will fail.  We have tried to
narrow down the failure and have found that the failure was due to T.sigconcept{37}.

The Test Suite expectation is that the SIGINT interrupts the pause() call. When
that one returns, calls alarm(0) and returns from interrupt() routine and ch_t41
in that case calls kill (getpid (), SIGKILL).

      ret = write(loop_fildes, (char *)&chr, 1);
      err = errno;
         if (ret == 1)
            (void) pause();

We believe that the uage of the pause in this case is not appropriate.  It needs
to block the signals it cares about and then use sigsuspend.


============
400|531 41 1 03:18:30|IC Start
200|531 41 03:18:30|TP Start
520|531 41 00023600 2 1|child process terminated incorrectly
520|531 41 00023600 2 2|expected action: process terminated - signal 9
520|531 41 00023600 2 3|observed action: process still active
520|531 41 00024150 1 1|unexpected signal 15 (SIGTERM) received
520|531 41 00023600 4 1|child process terminated incorrectly
520|531 41 00023600 4 2|expected action: process terminated - signal 9
520|531 41 00023600 4 3|observed action: process still active
520|531 41 00024154 1 1|unexpected signal 15 (SIGTERM) received
520|531 41 00023600 5 1|path tracing error: path counter 3, expected 5
220|531 41 2 03:18:58|UNRESOLVED
410|531 41 1 03:18:58|IC End   
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.