sysctl segfaulting

Michael Nottebrock lofi at freebsd.org
Fri Feb 23 19:40:36 UTC 2007


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 at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070223/250a9f1b/attachment.pgp


More information about the freebsd-stable mailing list