[Bug 234352] Dtrace cannot print string argument to system call.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 24 12:32:34 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234352
Bug ID: 234352
Summary: Dtrace cannot print string argument to system call.
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: shamaz.mazum at gmail.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list