From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 5 15:50:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 786E71065671 for ; Fri, 5 Sep 2008 15:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 67FA18FC12 for ; Fri, 5 Sep 2008 15:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m85Fo6HO091041 for ; Fri, 5 Sep 2008 15:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m85Fo6Wq091038; Fri, 5 Sep 2008 15:50:06 GMT (envelope-from gnats) Date: Fri, 5 Sep 2008 15:50:06 GMT Message-Id: <200809051550.m85Fo6Wq091038@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Pietro Cerutti Cc: Subject: Re: ports/122381: net-mgmt/collectd in FreeBSD 7.0 i386 and sparc64 segfaults (memcpy libc) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pietro Cerutti List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 15:50:06 -0000 The following reply was made to PR ports/122381; it has been noted by GNATS. From: Pietro Cerutti To: bug-followup@FreeBSD.org, lfmail@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@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-----