Re: issue with libthr?

From: Waitman Gobble <uzimac_at_da3m0n8t3r.com>
Date: Sun, 2 Jun 2013 07:24:03 -0700 (PDT)
On Sun, 02 Jun 2013 16:43:51 +1000, Kubilay Kocak <koobs.freebsd_at_gmail.com>
wrote: 
>
>On 2/06/2013 3:33 PM, Waitman Gobble wrote:
>> On Sun, 02 Jun 2013 14:45:31 +1000, Kubilay Kocak
<koobs.freebsd_at_gmail.com>
>> wrote: 
>>>
>>> On 2/06/2013 2:32 PM, Kubilay Kocak wrote:
>>>> I wonder if Pythons regression test picks anything up:
>>>>
>>>> ./python -m test.regrtest
>>>>
>>>> Run that in $WRKSRC/portbld.static/ after building
>>>
>>> Infact, run this instead:
>>>
>>> ./python -bb -E -Wd -m test.regrtest -r -w -uall
>>>
>>> [1] http://docs.python.org/devguide/runtests.html
>>>
>> 
>> Hi,
>> 
>> Thanks for your reply, I appreciate it.
>> 
>> Here are some errors..
>> 
>> 
>> 
>> [1053] > ./python -bb -E -Wd -m test.regrtest -r -w -uall
>> == CPython 2.7.5 (default, Jun 1 2013, 22:09:55) [GCC 4.2.1 Compatible
FreeBSD
>> Clang 3.3 (trunk 178860)]
>> ==   FreeBSD-10.0-CURRENT-amd64-64bit-ELF little-endian
>> ==   /usr/ports/lang/python27/work/Python-2.7.5/build/test_python_98332
>> Testing with flags: sys.flags(debug=0, py3k_warning=0,
division_warning=0,
>> division_new=0, inspect=0, interactive=0, optimize=0,
dont_write_bytecode=0,
>> no_user_site=0, no_site=0, ignore_environment=1, tabcheck=0, verbose=0,
>> unicode=0, bytes_warning=2, hash_randomization=0)
>> Using random seed 1989961
>> test_global
>> ...
>> test_rfc822
>> test_file
>> test_decimal
>> Abort (core dumped)
>> 
>> test_dis
>> test_memoryio
>> test_importhooks
>> test_netrc
>> test_univnewlines2k
>> test_codecencodings_tw
>> test_property
>> test_zipimport_support
>> <jemalloc>:
>>
/usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:942: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0"
>> Abort (core dumped)
>> 
>> test_distutils
>> <jemalloc>:
>>
/usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:942: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0"
>> Abort (core dumped)
>> 
>> 
>> test_threading
>> test test_threading failed -- Traceback (most recent call last):
>>   File
>> "/usr/ports/lang/python27/work/Python-2.7.5/Lib/test/test_threading.py",
line
>> 307, in test_finalize_runnning_thread
>>     self.assertEqual(rc, 42)
>> AssertionError: -10 != 42
>> 
>> 
>> 
>> --
>> Waitman Gobble
>> San Jose California USA
>> +1.5108307875
>> 
>> 
>
>That last failure in test_threading I can reproduce on 10.0-CURRENT but
>I don't think its related. Those coredumps on the other hand.
>
>Incidentally, what OPTIONS did you build Python with? I ask cause
>WITH_PYMALLOC is the port and upstream default
>
>--
>Ta,
>
>koobs
>


Hi,

The latest build has EXAMPLES, IPV6, NLS, THREADS, UCS4. I originally had the
defaults, was trying different options to see if I could avoid the crash.

I'll reset PYMALLOC in that case.
I did try one build using PTH, it seems to cause problems with the #include
<pth.h> in Python.h, I think I have to change that to #include <pth/pth.h> or
something, but I read somewhere on the FreeBSD forum that one should not use
that option with Python anyhow. (?)

Thanks


--
Waitman Gobble
San Jose California USA
+1.5108307875
Received on Sun Jun 02 2013 - 12:24:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC