This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10268] New: Cannot re-run script after failed run (module file not removed)
- From: "chwang at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Jun 2009 14:42:37 -0000
- Subject: [Bug runtime/10268] New: Cannot re-run script after failed run (module file not removed)
- Reply-to: sourceware-bugzilla at sourceware dot org
<<<<stap -V>>>>
SystemTap translator/driver (version 0.9.7/0.141 commit
release-0.9.7-215-g7492690 + changes)
Also occurs in version 0.9.7/0.141 non-git sources
<<<<Platform/OS>>>>
i686/Fedora 10
After some failed runs SystemTap does not end properly, making the script that
you failed on unusable until the SystemTap process is manually killed and the
module is removed.
Steps to reproduce:
I used callgraph.stp from
http://sourceware.org/systemtap/examples/keyword-index.html#CALLGRAPH.
1.
<<<<Failure because I don't have write permissions for target file>>>>
$ /home/yyz/chwang/Desktop/stap -o '/home/chwang/Desktop/wtf' -c
'/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial'
/home/chwang/Desktop/callgraph.stp
"process(\"/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial\").function(\"count\")"
ERROR: Couldn't open output file /home/chwang/Desktop/wtf: Permission denied
Error accessing systemtap module stap_ab9abab74364624017a2d3df233ae4b0_4434:
Operation not permitted
Pass 5: run failed. Try again with another '--vp 00001' option.
2.
<<<<Subsequent runs also fail>>>>
/home/yyz/chwang/Desktop/stap -c
'/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial'
/home/chwang/Desktop/callgraph.stp
"process(\"/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial\").function(\"count\")"
Error inserting module
'/tmp/stap3Xz4Xn/stap_ab9abab74364624017a2d3df233ae4b0_4434.ko': File exists
Retrying, after attempted removal of module
stap_ab9abab74364624017a2d3df233ae4b0_4434 (rc -1)
Error inserting module
'/tmp/stap3Xz4Xn/stap_ab9abab74364624017a2d3df233ae4b0_4434.ko': File exists
Pass 5: run failed. Try again with another '--vp 00001' option.
Other information:
<<<<ps aux | grep stap>>>>
root 3437 0.0 0.0 6128 200 pts/0 S 09:58 0:00
/usr/libexec/systemtap/stapio -o /home/chwang/Desktop/wtf -c
/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial -u
/tmp/stapyNxlJm/stap_8af332337458963ea9f69c7a3463cf39_5280.ko
root 4331 0.0 0.0 8188 264 pts/0 S 10:07 0:00
/usr/local/libexec/systemtap/stapio -o /home/chwang/Desktop/wtf -c
/home/chwang/runtime-EclipseApplication/factorial/Debug/factorial -u
/tmp/stapnrUzmw/stap_ab9abab74364624017a2d3df233ae4b0_4434.ko
User-side fix:
Killing these processes and deleting the modules allows me to continue running
probes.
--
Summary: Cannot re-run script after failed run (module file not
removed)
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P3
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: chwang at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10268
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.