public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program
@ 2018-09-04 18:52 agentzh at gmail dot com
  2018-09-04 19:44 ` [Bug dyninst/23605] " agentzh at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: agentzh at gmail dot com @ 2018-09-04 18:52 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-05 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-04 18:52 [Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program agentzh at gmail dot com
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

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).