Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 11:02:16 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        Jihyun Yu <yjh0502@gmail.com>
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: [patch] Fix crash on userland fbt tracing
Message-ID:  <20160411180215.GA20803@wkstn-mjohnston.west.isilon.com>
In-Reply-To: <CALog5aJea4ZV8jJLNQPcDu1QFBTT65va-1MO7vidgyWFsnj92Q@mail.gmail.com>
References:  <CALog5aJea4ZV8jJLNQPcDu1QFBTT65va-1MO7vidgyWFsnj92Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 11, 2016 at 07:05:01PM +0900, Jihyun Yu wrote:
> How to reproduce crash (tested on 10.3)
> 
> - Run `top` on a shell
> 
> - List dtrace probes with following command:
> dtrace -p `pgrep top` -ln 'pid$target::clear:entry {}
> pid$target::clear:return {}'
> 
> - Try to attach probes without specifing pid provider
> # dtrace -p `pgrep top` -n '::clear:entry {} ::clear:return {}'
> Assertion failed: (err == 0), file
> /usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c,
> line 1131.
> 
> 
> The crash is caused by a deadlock, and here's a fix.

This was committed as r297827. Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160411180215.GA20803>