From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102733 invoked by alias); 19 Dec 2019 21:25:22 -0000 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 Received: (qmail 102700 invoked by uid 48); 19 Dec 2019 21:25:19 -0000 From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/25290] process(EXE).begin may occasionally miss already-running target processes from EXE Date: Thu, 19 Dec 2019 21:25:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q4/txt/msg00083.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25290 --- Comment #1 from agentzh --- OK, this can be reproduced by a much simpler stap script (a simple one-line= r): $ stap -m test -p4 -e 'probe process("/home/agentzh/a.out").begin { println("Hit"); exit() } probe begin { println("Start tracing") }' $ while true; do sudo staprun test.ko; sleep 0.1; done The second command would hang forever upon a "Start tracing" output line (w= hen ./a.out is always running in another terminal). And /home/agentzh/a.out is generated from exactly the same a.c source file provided in my previous comment. --=20 You are receiving this mail because: You are the assignee for the bug.