This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/10991] New: freeze on x86_64 for most scripts
- From: "sphink at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 20 Nov 2009 01:36:07 -0000
- Subject: [Bug kprobes/10991] New: freeze on x86_64 for most scripts
- Reply-to: sourceware-bugzilla at sourceware dot org
I am running a preemptive x86_64 kernel (pretty much just the CentOS 5.3 kernel
with preemption enabled). Most systemtap scripts hang the machine. I have also
tried running it from within a VirtualBox VM, and get similar results.
The version I am using on actual hardware and in the VM is
systemtap-0.9.7-5.el5. Within the VM, I have also compiled the snapshot from
20091114. It managed to run for a little while before hanging.
Specific example: this script
probe kernel.function("*@net/socket.c")
{
printf ("%s -> %s\n", thread_indent(1), probefunc())
}
probe kernel.function("*@net/socket.c").return
{
printf ("%s <- %s\n", thread_indent(-1), probefunc())
}
run as stap -v socket-tree.stap
On the hardware, it just hangs immediately after it starts running. On the VM,
it does the same for 0.9.7, but with the snapshot version it manages to print
out (after "Pass 5: starting run."):
0 ntpd(1903): -> do_sock_read
1000834 ntpd(1902): <- do_sock_read
and then hangs the VM. The same thing on my 32-bit desktop prints out a bunch of
stuff and then exits cleanly after 1.2 seconds. (Without me pressing Ctrl-C,
which I don't understand yet, but that's different.)
Earlier, I also got an oops on the VM with 0.9.7, but I can't remember what
exactly I was doing. (It was something simple like stap -v -e 'probe syscall.* {
printf("I am alive\n"); exit(); }')
I can post my .config. I didn't change a whole lot in it. It is not built to be
relocatable.
--
Summary: freeze on x86_64 for most scripts
Product: systemtap
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: kprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: sphink at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10991
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.