Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2016 11:47:50 -0800
From:      Mark Johnston <markj@FreeBSD.org>
To:        Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Strange dtrace warning on running svn, perl and other programs on stable/10 r310494
Message-ID:  <20161229194750.GB29960@wkstn-mjohnston.west.isilon.com>
In-Reply-To: <alpine.BSF.2.20.1612291156260.43916@mail.fig.ol.no>
References:  <alpine.BSF.2.20.1612291156260.43916@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 29, 2016 at 12:04:56PM +0100, Trond Endrestøl wrote:
> I keep getting these warnings whenever I run svn, perl, and other 
> programs.
> 
> WARNING: number of probes fixed does not match the number of defined probes (16 != 18, respectively)
> WARNING: some probes might not fire or your program might crash
> 
> They also clobber the building of security/vpnc. Some "clever" Perl 
> script is being used to produce a .c file on stdout and a .h file on 
> stderr while building vpnc.

This is emitted by some code that registers userland DTrace probes
during process init. The mechanism used in stable/10 doesn't work in
some cases. This has been fixed in 11, but the change cannot easily be
merged back.

> 
> Any chance of getting rid of the messages, or at least disabling them?

If you're not planning on using the DTrace probes, the message can be
suppressed by setting DTRACE_DOF_INIT_DISABLE in the environment.

> 
> This is on stable/10, r310494.
> 
> /etc/make.conf contains:
> 
> STRIP=
> CFLAGS+=-fno-omit-frame-pointer
> WITH_CTF=1
> WITH_SSP_PORTS=yes
> 
> This particular system will soon be upgraded to stable/11, r310770. 
> Maybe my troubles will disappear once the transition is complete.

Indeed, this message is gone on stable/11.



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