ports/122381: net-mgmt/collectd in FreeBSD 7.0 i386 and sparc64 segfaults (memcpy libc)

Pietro Cerutti gahr at FreeBSD.org
Fri Sep 5 15:50:06 UTC 2008


The following reply was made to PR ports/122381; it has been noted by GNATS.

From: Pietro Cerutti <gahr at FreeBSD.org>
To: bug-followup at FreeBSD.org, lfmail at byterider.net
Cc:  
Subject: Re: ports/122381: net-mgmt/collectd in FreeBSD 7.0 i386 and sparc64
 segfaults (memcpy libc)
Date: Fri, 05 Sep 2008 17:40:38 +0200

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA512
 
 This patch solves the problem on sparc64:
 pcap_open_live segfaults inside libc's memcpy if pcap_device is NULL.
 
 I haven't been able to reproduce it on i386, though.
 
 http://www.gahr.ch/FreeBSD/patches/patch-src__dns.c
 
 P.S. Maybe we should consider investigating why it fails on sparc64 but
 not on i386 in the first case?
 
 
 - --
 Pietro Cerutti
 gahr at FreeBSD.org
 
 PGP Public Key:
 http://gahr.ch/pgp
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEAREKAAYFAkjBUvUACgkQwMJqmJVx946luACePzBqtcF6dU0pCqTe3g1n4z4g
 QLsAoK+KgxLN2p+Px3PrPQRgEBkp9BL0
 =O5ya
 -----END PGP SIGNATURE-----



More information about the freebsd-ports-bugs mailing list