public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/19873] New: staprun -o /NO/SUCH/FILE -c CMD   imperfect cleanup
@ 2016-03-27 18:41 fche at redhat dot com
  2016-03-27 18:47 ` [Bug runtime/19873] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2016-03-27 18:41 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19873

            Bug ID: 19873
           Summary: staprun -o /NO/SUCH/FILE -c CMD   imperfect cleanup
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

For test cases such as systemtap.examples/*/switchfiles*, the test case can
hang if the source tree is unwriteable.  The reason is that the -o OUTFILE
parameter refers to a file that can't be opened; thus a reader_thread in stapio
fails; at the same time, the CMD was being gradually executed in a child
process.  The child process didn't close all of its fds, so the parent
stapio/staprun-d couldn't clean up the stap module.  Plus the child process
could hang indefinitely if the parent didn't send it the SIGUSR1 to synchronize
STP_START target_pid passing.  Tangly wangly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/19873] staprun -o /NO/SUCH/FILE -c CMD   imperfect cleanup
  2016-03-27 18:41 [Bug runtime/19873] New: staprun -o /NO/SUCH/FILE -c CMD imperfect cleanup fche at redhat dot com
@ 2016-03-27 18:47 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2016-03-27 18:47 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19873

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit 90e6b60db3dd

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-27 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-27 18:41 [Bug runtime/19873] New: staprun -o /NO/SUCH/FILE -c CMD imperfect cleanup fche at redhat dot com
2016-03-27 18:47 ` [Bug runtime/19873] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).