* [Bug runtime/19560] New: flight recorder mode intermittently fails
@ 2016-02-03 15:11 dsmith at redhat dot com
2016-02-10 19:08 ` [Bug runtime/19560] " dsmith at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-02-03 15:11 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=19560
Bug ID: 19560
Summary: flight recorder mode intermittently fails
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
Target Milestone: ---
While doing some regression testing, I noticed that the
systemtap.base/flightrec4.exp test case is failing intermittently.
The test is supposed to start up stap in the background, writing to a file
called flightrec4.out.0. The test case then sends 3 USR2 signals to stapio, to
make stapio switch output to flightrec4.out.1, flightrec4.out.2,
flightrec4.out.3. When the test fails, the output gets sent instead to:
flightrec4.out.0, flightrec4.out.1, flightrec4.out.NUM, flightrec4.out.NUM+1,
where NUM is a large number like 54681. Sometimes stapio seems to exit before
creating the last output file.
At first I thought the problem might be with the test case itself, but after
updating it I've found that isn't the case.
The failures happen quite randomly, I get about 1 failure per 10 test case
runs.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/19560] flight recorder mode intermittently fails
2016-02-03 15:11 [Bug runtime/19560] New: flight recorder mode intermittently fails dsmith at redhat dot com
@ 2016-02-10 19:08 ` dsmith at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-02-10 19:08 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=19560
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit dc6bf1e. Sometimes the thread handling the signals would also
be the reader thread. So, the code ended up sending a signal to itself.
--
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-02-10 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 15:11 [Bug runtime/19560] New: flight recorder mode intermittently fails dsmith at redhat dot com
2016-02-10 19:08 ` [Bug runtime/19560] " dsmith 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).