From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94726 invoked by alias); 4 Sep 2018 18:52:58 -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 94619 invoked by uid 48); 4 Sep 2018 18:52:53 -0000 From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program Date: Tue, 04 Sep 2018 18:52:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: dyninst 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-q3/txt/msg00152.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23605 Bug ID: 23605 Summary: Intermittent errors when running a simplest stap script against a simplest target program Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: dyninst Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- When running a trivial stap script against a trivial C program process, I occasionally see the following error: ``` $ stap --runtime=3Ddyninst -c ./a.out a.stp IRPC on terminated process, ret false! --SERIOUS-- #124: `=EF=BF=BD3<=EF=BF=BD^? stapdyn: ERROR: Couldn't load /tmp/stapsBBcUd/stap_c7fd539785fa2c0bcc7ddfb6321bcd6f_1605.so into the targ= et process WARNING: /opt/stap-plus/bin/stapdyn exited with status: 1 Pass 5: run failed. [man error::pass5] ``` The a.stp file looks like this: ``` probe process.function("main") { println(@var("a")); } ``` And the C program is like this: ``` int a =3D -32; int main(void) { a++; return 0; } ``` The C program is compiled with `gcc -g`. What could go wrong here please? I'm not Fedora 27 x86_64 (kernel 4.16.16): ``` $ uname -r 4.16.16-200.fc27.x86_64 ``` I'm using the current master branch of systemtap. --=20 You are receiving this mail because: You are the assignee for the bug.