[Bug runtime/17393] java.exp: ERROR: Cannot attach to module control channel
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Mar 21 22:13:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=17393
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from David Smith <dsmith at redhat dot com> ---
It looks like what is going on here is that the java support code adds
synthetic begin and end probes that install and delete the java probes. When
the end probe happens, the system() function is run to delete the java probes.
Unfortunately, the control channel and relayfs file descriptors are passed down
to the child process, and if it is still running when the module tries to exit,
removing the module will fail. If the control channel is still open, you'll get
EAGAIN. If the relayfs file descriptors are still open, you'll get EBUSY.
Fixed in commit 9010bbb by making sure all file descriptors are closed when
needed and marked close-on-exec.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list