This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/5218] New: Failed to detach staprun when it attached a running script
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 24 Oct 2007 20:53:36 -0000
- Subject: [Bug runtime/5218] New: Failed to detach staprun when it attached a running script
- Reply-to: sourceware-bugzilla at sourceware dot org
staprun unloads a script instead of detaching from it if the staprun was
attached to the script.
You can check it as follows:
1. make a script
$ stap -m foo -e 'probe begin{;}' -p4
2. launch it.
$ staprun -L foo.ko
3. attach.
$ staprun -A foo
4. send SIGQUIT
^4
5. check whether the script is loaded
$ lsmod | grep foo
AFAICS, the 'initialized' global variable in stapio is not initialized
correctly when '-A' option is given.
Thanks,
--
Summary: Failed to detach staprun when it attached a running
script
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5218
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.