[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197260
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
dtrace:::BEGIN
{
@a = stddev(0);
clear(@a);
printa("%@d", @a);
}
$ sudo dtrace -s test.d
dtrace: script 'test.d' matched 1 probe
CPU ID FUNCTION:NAME
Assertion failed: (divisor != 0), file
/home/mark/src/freebsd/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c,
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