collectd 4.1.2 segfaults in FreeBSD 7.0 Recompiling collectd with debug-flags and debugging it with gdb: Program received signal SIGSEGV, Segmentation fault. 0x00000000407c47ec in memcpy () from /lib/libc.so.7
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs Make this a ports PR.
This seems to happen with some (mis-)configurations and/or plugin failures. For instance, the CPU plugin seems to crash with more than one CPU cores. Try tweaking the configuration to find out which module or which statement triggers the segmentation fault. I will try to take care of segfaults when updating collectd to the latest release, which I plan to do within the next few weeks. -- Daniel Roethlisberger http://daniel.roe.ch/
-----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-----
Responsible Changed From-To: freebsd-ports-bugs->gahr I'll take it.
gahr 2008-09-09 13:50:49 UTC FreeBSD ports repository Added files: net-mgmt/collectd/files patch-src__dns.c Log: - Unbreak on sparc64 PR: 122381 Approved by: portmgr Revision Changes Path 1.1 +18 -0 ports/net-mgmt/collectd/files/patch-src__dns.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed. Thanks.