[Bug 197260] [dtrace] assertion failure when printing aggregation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 2 04:55:32 UTC 2015


            Bug ID: 197260
           Summary: [dtrace] assertion failure when printing aggregation
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: markj at FreeBSD.org

While playing around with stddev() I discovered that it's possible to crash
libdtrace by printing a stddev aggregation immediately after clearing it:

$ cat test.d
        @a = stddev(0);
        printa("%@d", @a);
$ sudo dtrace -s test.d
dtrace: script 'test.d' matched 1 probe
CPU     ID                    FUNCTION:NAME
Assertion failed: (divisor != 0), file
line 240.
  4      1                           :BEGIN

This doesn't happen with other aggregation functions (avg, max, min).

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list