Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 20:40:27 +0100
From:      Michael Nottebrock <lofi@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: sysctl segfaulting
Message-ID:  <200702232040.28976.lofi@freebsd.org>
In-Reply-To: <200702231747.l1NHluFJ045518@lurza.secnetix.de>
References:  <200702231747.l1NHluFJ045518@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Friday, 23. February 2007 18:47, Oliver Fromme wrote:
> Michael Nottebrock wrote:
>  > Does anybody have any further ideas on this?
>
> I've had a quick look at the source.  According to your
> debugging info, an invalid pointer is passed to the
> S_clockinfo() function, but it's beyond me how that
> could happen.  The code in show_var() which calls that
> function looks perfectly OK.
>
> It's also interesting that you seem to be the only one
> experiencing the problem.  Are you using any special
> compiler options, anything unusual in /etc/make.conf
> or /etc/malloc.conf?  Do you use a non-default locale
> environment (i.e. are any of the LC_* or LANG variables
> set)?

LANG is set (but LANG=C makes no difference) and otherwise, the only setting 
out of the ordinary is kern.hz="2000" in loader.conf. The values reported by 
the FreeBSD 5 sysctl binary for kern.clockrate are

kern.clockrate: { hz = 2000, tick = 500, profhz = 1333, stathz = 266 }

-- 
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBF30MsXhc68WspdLARAqV0AKCOYolJV9gZxbXS3co7LqdBBIEbywCaAjOJ
SVMQm7yPbrdyRbCkif0KINk=
=QF47
-----END PGP SIGNATURE-----

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