This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program
- From: "agentzh at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 04 Sep 2018 13:22:53 +0000
- Subject: [Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program
- Auto-submitted: auto-generated
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.