public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "agentzh at gmail dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-23605-6586@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=23605

            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=dyninst -c ./a.out a.stp
IRPC on terminated process, ret false!
--SERIOUS-- #124: `�3<�^?
stapdyn: ERROR: Couldn't load
/tmp/stapsBBcUd/stap_c7fd539785fa2c0bcc7ddfb6321bcd6f_1605.so into the target
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 = -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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2018-09-04 18:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-04 18:52 agentzh at gmail dot com [this message]
2018-09-04 19:44 ` [Bug dyninst/23605] " agentzh at gmail dot com
2018-09-04 20:32 ` agentzh at gmail dot com
2018-09-04 21:14 ` agentzh at gmail dot com
2019-04-05 15:25 ` scox at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-23605-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).