ports/153506: ports/net-im/papyon (py26-papyon-0.5.4) gets Signal 11

Jeremy Messenger mezz.freebsd at gmail.com
Wed Dec 29 05:02:13 UTC 2010


On Tue, Dec 28, 2010 at 6:44 PM, Maho NAKATA <chat95 at mac.com> 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 run 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 conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> 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
<snip>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 800e041c0 (LWP 100334)]
> 0x0000000803943550 in EVP_PKEY_CTX_dup () from /usr/local/lib/libcrypto.so.7
> (gdb) bt
> #0  0x0000000803943550 in EVP_PKEY_CTX_dup ()
>   from /usr/local/lib/libcrypto.so.7
> #1  0x00000008039380af in EVP_MD_CTX_copy_ex ()
>   from /usr/local/lib/libcrypto.so.7
> #2  0x0000000805013abe in EVPnew ()
>   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
9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
-------------------------

Cheers,
Mezz


> #3  0x0000000805013e06 in EVP_new_md5 ()
>   from /usr/local/lib/python2.6/lib-dynload/_hashlib.so
> #4  0x000000000047d2ed in PyEval_EvalFrameEx ()
>
>
> From: mezz at FreeBSD.org
> Subject: Re: ports/153506: ports/net-im/papyon (py26-papyon-0.5.4) gets Signal 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 run your
>> Python without get crash? Here's exactly where it got crashed:
>>
>> bsd.python.mk:
>> ------------------
>> do-configure:
>>       @(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 backtraces
>> of that crash.
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=153506
>
> thanks,


-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-gnome mailing list