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 runtime/5218] New: Failed to detach staprun when it attached a running script


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.


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