This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/13158] rename_module.exp leaving module behind
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 07 Sep 2011 13:43:35 +0000
- Subject: [Bug testsuite/13158] rename_module.exp leaving module behind
- Auto-submitted: auto-generated
- References: <bug-13158-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13158
--- Comment #2 from David Smith <dsmith at redhat dot com> 2011-09-07 13:43:35 UTC ---
(In reply to comment #1)
> It is the second test. I get the same (even when commenting out the first and
> third test). But I am unable to replicate it outside the test harness.
I've improved the test case, making it more robust, but I think as written it
has discovered a real problem.
I finally got a reproducer outside the test harness:
# lsmod | fgrep stap
# staprun ~/.systemtap/cache/c2/stap_c216255bba9c8e0942596f8aa9732125_677.ko &
\
> killall staprun; killall stapio
[1] 20214
stapio: no process found
[1]+ Terminated staprun
~/.systemtap/cach/c2/stap_c216255bba9c8e0942596f8aa9732125_677.ko
# lsmod | fgrep stap
stap_c216255bba9c8e0942596f8aa9732125_677 34009 0
It appears that if you kill staprun/stapio before the module has a chance to
print (the script was a simple "probe begin { printf("hello\n") }'), this bug
can happen.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.