Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 09:47:22 +0300
From:      Vasil Dimov <vd@FreeBSD.org>
To:        Christer Solskogen <solskogen@carebears.mine.nu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ngrep
Message-ID:  <20060411064722.GA77885@qlovarnika.bg.datamax>
In-Reply-To: <1748.62.97.242.158.1144733051.squirrel@carebears.mine.nu>
References:  <1748.62.97.242.158.1144733051.squirrel@carebears.mine.nu>

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

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

On Tue, Apr 11, 2006 at 07:24:11AM +0200, Christer Solskogen wrote:
> I installed ngrep yesterday. It installs just fine, but it wont run. Now I
> wonder if that is just my system, or if this is a "known" bug.
> # ngrep
> Segmentation fault: 11 (core dumped)
>=20
> running ngrep as a user (which do not have access to /dev/bpf0) "works"
> (as in, no sig 11)
>=20
> $ uname -mrs
> FreeBSD 6.0-RELEASE-p4 amd64
>=20
> Maybe it's a amd64 issue?
>=20
I investigated the problem, it's a ngrep+FreeBSD+amd64 issue -
they just do not include the appropriate header files on FreeBSD
I am not sure why but on i386 this does not cause a problem.

The fix can be found here:
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D95612

--=20
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra

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

-----BEGIN PGP SIGNATURE-----

iD8DBQFEO1D6Fw6SP/bBpCARArHZAKCua+sIOq4+rlTnn+UngmxfOfN4eACgwVYU
i34VZMNTPZ/3fksQJ8tQjvM=
=Ut4s
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--



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