[Bug dyninst/23605] New: Intermittent errors when running a simplest stap script against a simplest target program
agentzh at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Sep 4 18:52:00 GMT 2018
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.
More information about the Systemtap
mailing list