From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20087 invoked by alias); 20 Nov 2009 01:36:18 -0000 Received: (qmail 20054 invoked by uid 48); 20 Nov 2009 01:36:07 -0000 Date: Fri, 20 Nov 2009 01:36:00 -0000 From: "sphink at gmail dot com" To: systemtap@sources.redhat.com Message-ID: <20091120013606.10991.sphink@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug kprobes/10991] New: freeze on x86_64 for most scripts X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00603.txt.bz2 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.