From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 29 05:02:13 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 318D31065679; Wed, 29 Dec 2010 05:02:13 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 914BF8FC1A; Wed, 29 Dec 2010 05:02:12 +0000 (UTC) Received: by fxm16 with SMTP id 16so10005599fxm.13 for ; Tue, 28 Dec 2010 21:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9lkuBdHxwNx8VgnwtqYJl7x1UPDYcavYRp5CIoqnQ/k=; b=lDBajW8Vtj4ISDQ/C7/LL/XhNZMG5O3jEJCUjqqrkDNXwazLAV8qilroKdFOY5wQBl b6kZ04na8j6hiQsKBPPVQgIvGw6+HahjpwWbYKR/IM57hbW9gZ7jIlQXcO8+/Jejh4oC tMJLx25mamXU6ColNTkev1cfXERebjgaA8bDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HX/ahbJwpFz5TGkNDd5dfLqkWKtjHyoksTrsOGYOeExM0q38M74O9jtRknzwaPg1Mj iN1bwhKB3tzVFaVwXubhc+MbOxv7pTQ9Ht3YksmDpSQCsi4vyi3BdejgTATr90mlBVDr han9cFoB6Bm3tYijG37T7v2QHiK75d9L3saa8= MIME-Version: 1.0 Received: by 10.223.86.130 with SMTP id s2mr2542891fal.66.1293598931491; Tue, 28 Dec 2010 21:02:11 -0800 (PST) Received: by 10.223.97.80 with HTTP; Tue, 28 Dec 2010 21:02:11 -0800 (PST) In-Reply-To: <20101229.094407.1568838937885805380.chat95@mac.com> References: <201012282249.oBSMnGbi007675@freefall.freebsd.org> <20101229.094407.1568838937885805380.chat95@mac.com> Date: Tue, 28 Dec 2010 23:02:11 -0600 Message-ID: From: Jeremy Messenger To: Maho NAKATA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gnome@freebsd.org, mezz@freebsd.org Subject: Re: ports/153506: ports/net-im/papyon (py26-papyon-0.5.4) gets Signal 11 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 05:02:13 -0000 On Tue, Dec 28, 2010 at 6:44 PM, Maho NAKATA wrote: > Hi, Mezz and gnome team, > > I'll close this issue since I could build on tinderbox. > >> The pointyhat, tinderboxes and many users can't reproduce it. Can you ru= n your >> Python without get crash? Here's exactly where it got crashed: > > I see. It fails like follows. The only thing that I can see the difference between your and our are that you are using OpenSSL 1.x from ports rather than 0.x from base system. Since below shows that it was not complied with the debug. > gdb /usr/local/bin/python2.6 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain conditi= ons. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. =A0Type "show warranty" for deta= ils. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols= found)... > (gdb) run setup.py config > Starting program: /usr/local/bin/python2.6 setup.py config > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 800e041c0 (LWP 100334)] > 0x0000000803943550 in EVP_PKEY_CTX_dup () from /usr/local/lib/libcrypto.s= o.7 > (gdb) bt > #0 =A00x0000000803943550 in EVP_PKEY_CTX_dup () > =A0 from /usr/local/lib/libcrypto.so.7 > #1 =A00x00000008039380af in EVP_MD_CTX_copy_ex () > =A0 from /usr/local/lib/libcrypto.so.7 > #2 =A00x0000000805013abe in EVPnew () > =A0 from /usr/local/lib/python2.6/lib-dynload/_hashlib.so Maybe try to test the hashlib? Something like this: ------------------------- % cat test.py import hashlib print hashlib.md5("hello").hexdigest() print hashlib.sha256("hello").hexdigest() print hashlib.sha512("hello").hexdigest() % python test.py 5d41402abc4b2a76b9719d911017c592 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba= 5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043 ------------------------- Cheers, Mezz > #3 =A00x0000000805013e06 in EVP_new_md5 () > =A0 from /usr/local/lib/python2.6/lib-dynload/_hashlib.so > #4 =A00x000000000047d2ed in PyEval_EvalFrameEx () > > > From: mezz@FreeBSD.org > Subject: Re: ports/153506: ports/net-im/papyon (py26-papyon-0.5.4) gets S= ignal 11 > Date: Tue, 28 Dec 2010 22:49:16 +0000 (GMT) > >> Synopsis: ports/net-im/papyon (py26-papyon-0.5.4) gets Signal 11 >> >> State-Changed-From-To: open->feedback >> State-Changed-By: mezz >> State-Changed-When: Tue Dec 28 22:44:42 UTC 2010 >> State-Changed-Why: >> The pointyhat, tinderboxes and many users can't reproduce it. Can you ru= n your >> Python without get crash? Here's exactly where it got crashed: >> >> bsd.python.mk: >> ------------------ >> do-configure: >> =A0 =A0 =A0 @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${= PYSETUP} ${PYDISTUTILS_CONFIGURE_TARGET} ${PYDISTUTILS_CONFIGUREARGS}) >> ------------------ >> >> Can you do it by manual to see if you can get a better error output? Or = just >> remove that '@' and see if you can get more info. Try to get the backtra= ces >> of that crash. >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D153506 > > thanks, --=20 mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org