Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 17:27:57 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        Chris Rees <crees@freebsd.org>, freebsd-current@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re: cvsup broken on amd64?
Message-ID:  <20110909142757.GB17489@deviant.kiev.zoral.com.ua>
In-Reply-To: <20110909161942.Horde.fmddS6Qd9PdOaiB_P8oBX2c@avocado.salatschuessel.net>
References:  <20110909113046.Horde.MHKEMKQd9PdOadzGA0vRXXA@avocado.salatschuessel.net> <20110909095521.GX17489@deviant.kiev.zoral.com.ua> <20110909134737.Horde.JTghXaQd9PdOafzZBeiBX2U@avocado.salatschuessel.net> <20110909123007.GZ17489@deviant.kiev.zoral.com.ua> <20110909161942.Horde.fmddS6Qd9PdOaiB_P8oBX2c@avocado.salatschuessel.net>

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

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

On Fri, Sep 09, 2011 at 04:19:42PM +0200, Oliver Lehmann wrote:
>=20
> Kostik Belousov <kostikbel@gmail.com> wrote:
>=20
> >I do not know, I was curious about 'illegal instruction' signal,
> >which would indicate a problem in the compilation environment.
> >Now you get segmentation violation, that is usually caused by a bug in
> >the program itself.
>=20
> running it outside gdb still results in an 'illegal instruction' error.
> Why it gets to "segmentation violation" inside gdb I just don't know.
>=20
> nudel# ./client/FBSD_AMD64/cvsup -g /usr/share/examples/cvsup/9-supfile
> Connected to cvsup.de.FreeBSD.org
> Updating collection src-all/cvs
>  Edit src/crypto/openssl/ssl/s3_lib.c
> Illegal instruction (core dumped)
> nudel# gdb ./client/FBSD_AMD64/cvsup cvsup.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you =
are
> welcome to change it and/or distribute copies of it under certain=20
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "amd64-marcel-freebsd"...
> Core was generated by `cvsup'.
> Program terminated with signal 4, Illegal instruction.
> #0  0x00000000004d24c6 in tzload ()
> (gdb) bt
> #0  0x00000000004d24c6 in tzload ()

Try to do "disas 0x4d24c6 0x4d24c6+30" from gdb prompt with the loaded core.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk5qIm0ACgkQC3+MBN1Mb4jt+ACgyKCr99CyvOxzoL4l7jo9PVY9
4xsAn17A9c3hsKsoheRgWmAcKv0ypUJo
=9glw
-----END PGP SIGNATURE-----

--FGqlOfzVzHNsMpkn--



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