* [Bug bpf/23480] New: bpfinterp.cxx should respond to ^C
@ 2018-08-02 16:55 me at serhei dot io
2018-08-20 18:57 ` [Bug bpf/23480] " me at serhei dot io
0 siblings, 1 reply; 2+ messages in thread
From: me at serhei dot io @ 2018-08-02 16:55 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=23480
Bug ID: 23480
Summary: bpfinterp.cxx should respond to ^C
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bpf
Assignee: systemtap at sourceware dot org
Reporter: me at serhei dot io
Target Milestone: ---
# stap --bpf -v -e 'probe begin { for(;;) { printf("whoosh!") } }'
Cannot be interrupted with ^C, forcing the user to kill the process.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bpf/23480] bpfinterp.cxx should respond to ^C
2018-08-02 16:55 [Bug bpf/23480] New: bpfinterp.cxx should respond to ^C me at serhei dot io
@ 2018-08-20 18:57 ` me at serhei dot io
0 siblings, 0 replies; 2+ messages in thread
From: me at serhei dot io @ 2018-08-20 18:57 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=23480
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
Correction: this only happens when 'probe end { ... }' is being executed. That
is because the signal handler in stapbpf.cxx sets the exit flag, which has no
effect once the end probes are already running.
Fixed in commit 9d29349 by restoring signal handlers before running exit
probes, and having these handlers exit immediately rather than setting exit
status.
--
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:[~2018-08-20 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 16:55 [Bug bpf/23480] New: bpfinterp.cxx should respond to ^C me at serhei dot io
2018-08-20 18:57 ` [Bug bpf/23480] " me at serhei dot io
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).