| Summary: | Dtrace cannot print string argument to system call. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | shamaz.mazum |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed DUPLICATE | ||
| Severity: | Affects Only Me | CC: | markj |
| Priority: | --- | ||
| Version: | 12.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
*** This bug has been marked as a duplicate of bug 234350 *** |
I try to execute Dtrace like so (an example from wiki.freebsd.org): dtrace -n 'syscall::open*:entry { printf("%s %s", execname, copyinstr(arg0)); }' and get some strange errors: dtrace: error on enabled probe ID 2 (ID 76423: syscall:freebsd:open:entry): invalid address (0x8002543a3) in action #2 at DIF offset 12 like when stringof() were used instead of copyinstr(). FreeBSD version 12.0-RELEASE.