Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 08:57:11 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: SIGSEGV in lots of processes (head i386 @r237440)
Message-ID:  <20120622155711.GV1874@albert.catwhisker.org>
In-Reply-To: <20120622152216.GG2337@deviant.kiev.zoral.com.ua>
References:  <20120622134959.GT1874@albert.catwhisker.org> <20120622141020.GF2337@deviant.kiev.zoral.com.ua> <20120622152216.GG2337@deviant.kiev.zoral.com.ua>

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

--I33OQG5IFrqF2BWt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 22, 2012 at 06:22:16PM +0300, Konstantin Belousov wrote:
> ...
> > > found at <http://www/~david/FreeBSD/head_r237440.txt>.
> > This is on i386, right ?

Yes.

> > Can you boot single-user and just type date in the shell ?
> > Does it segfault ?
> >=20
> > If yes, does setting sysctl kern.timecounter.fast_gettime to 0 fix
> > segfault from date(1) ?
>=20
> Ok, I probably can guess the cause. I suppose that 'date' does not
> segfaults.

Correct; it did not.

> Please try the following (which I forgot to commit). Sorry.
>=20
> diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
> index f0546b0..30efecd 100644
> --- a/sys/i386/i386/machdep.c
> +++ b/sys/i386/i386/machdep.c
> > ...

That seems to bring behavior back to normal:  I can now log in via ssh
(vs. having sshd segfault & coredump):

FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #851 237=
440M: Fri Jun 22 08:42:54 PDT 2012     root@freebeast.catwhisker.org:/usr/o=
bj/usr/src/sys/GENERIC  i386

Thank you very much for the quick response, despite my rather vague
hand-waving.  And I apologize for not directly responding to your
earlier note -- I have no connectivity during most of my commute.  (And
we really don't want me trying it for the part on my bicycle!)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--I33OQG5IFrqF2BWt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/klcwACgkQmprOCmdXAD1hkQCfcsx7SglGmOcw/jSA/XqUTpij
uygAn1bfvKfymqt/Zy0GbUK4ovLTsWmH
=Lc5U
-----END PGP SIGNATURE-----

--I33OQG5IFrqF2BWt--



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