https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234350

            Bug ID: 234350
           Summary: [dtrace] Dtrace cannot print string arguments to
                    system calls.
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: shamaz.ma...@gmail.com

I try to execute Dtrace like so:

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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to