This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/13158] rename_module.exp leaving module behind


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]