From owner-freebsd-ports@FreeBSD.ORG Fri Jan 31 13:15:27 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78BA4519 for ; Fri, 31 Jan 2014 13:15:27 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 31EBD1FC7 for ; Fri, 31 Jan 2014 13:15:27 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b845:cd7b:51ca:897] (unknown [IPv6:2001:7b8:3a7:0:b845:cd7b:51ca:897]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 355945C44; Fri, 31 Jan 2014 14:15:23 +0100 (CET) Subject: Re: net/avahi-app core dumps signal 11 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A4FA7106-C95B-43FF-82F7-A857D5B0B43D"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.1 (6062eb4) From: Dimitry Andric In-Reply-To: <20140129115404.04922dd6@tmu.ulm.sysgo.com> Date: Fri, 31 Jan 2014 14:15:13 +0100 Message-Id: References: <1390354628.14798.7.camel@lenovo.toontown> <20140129115404.04922dd6@tmu.ulm.sysgo.com> To: Thomas Mueller X-Mailer: Apple Mail (2.1827) Cc: ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 13:15:27 -0000 --Apple-Mail=_A4FA7106-C95B-43FF-82F7-A857D5B0B43D Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 29 Jan 2014, at 11:54, Thomas Mueller wrote: > On Tue, 21 Jan 2014 23:37:08 -0200, Sergio de Almeida Lenzi wrote: >> avahi-daemon dumps core, and I am unable >> to determinw why because it aborts core just before reaching >> the main() procedure.. >> ========================================================= >> >> #0 0x0000000801304604 in pthread_testcancel () from /lib/libthr.so.3 >> #1 0x00000008012fc706 in open () from /lib/libthr.so.3 >> #2 0x0000000801517227 in __gets_chk () from /lib/libssp.so.0 >> #3 0x00000008015173d2 in __chk_fail () from /lib/libssp.so.0 >> #4 0x0000000801516ace in .init () from /lib/libssp.so.0 >> #5 0x00007fffffffd130 in ?? () >> #6 0x000000080061e6d1 in r_debug_state () from /libexec/ld-elf.so.1 >> #7 0x000000080061dd57 in __tls_get_addr () from /libexec/ld-elf.so.1 >> #8 0x000000080061c099 in .text () from /libexec/ld-elf.so.1 >> #9 0x0000000000000000 in ?? () >> ========================================================= >> >> any ideas??? > > Seems like a bad interaction with stack protector (libssp). > > I managed to get working binaries (10.0-STABLE, amd64) by adding > --disable-stack-protector to CONFIGURE_ARGS Don't you think the stack protector code is trying to tell you the stack got smashed? :-) E.g. this is most likely a real buffer overflow or something, and it should be properly fixed, instead of removing the seat belts. -Dimitry --Apple-Mail=_A4FA7106-C95B-43FF-82F7-A857D5B0B43D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlLroeUACgkQsF6jCi4glqOdXgCg6a+V+p5g5uq+oQUJRpeFtG1u ce4An1COTB3JlncD9jDbQRBjxwuDMot0 =fdqu -----END PGP SIGNATURE----- --Apple-Mail=_A4FA7106-C95B-43FF-82F7-A857D5B0B43D--