This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/16278] orphaned stapsh goes to 100% CPU after stap closing
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Sat, 30 Nov 2013 18:35:26 +0000
- Subject: [Bug runtime/16278] orphaned stapsh goes to 100% CPU after stap closing
- Auto-submitted: auto-generated
- References: <bug-16278-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16278
--- Comment #1 from Jonathan Lebon <jlebon at redhat dot com> ---
Fixed in commit 2200b70. The 100% CPU usage comes from busy-looping between
poll() and fgets(), where poll() was returning POLLIN to indicate EOF and we
were not checking feof() after the failed fgets().
--
You are receiving this mail because:
You are the assignee for the bug.