From owner-freebsd-current@FreeBSD.ORG Sun Jun 2 14:24:11 2013 Return-Path: Delivered-To: FreeBSD-CURRENT@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91518715 for ; Sun, 2 Jun 2013 14:24:11 +0000 (UTC) (envelope-from daemon@dx.burplex.com) Received: from dx.burplex.com (dx.burplex.com [50.197.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 746F51616 for ; Sun, 2 Jun 2013 14:24:11 +0000 (UTC) Received: by dx.burplex.com (Postfix, from userid 1) id F337C36F4AAA; Sun, 2 Jun 2013 07:24:03 -0700 (PDT) To: Kubilay Kocak Subject: Re: issue with libthr? From: Waitman Gobble X-UUID-HOR: d44da636-cb4f-11e2-8072-902b34a86bc3 Message-Id: <20130602142403.F337C36F4AAA@dx.burplex.com> Date: Sun, 2 Jun 2013 07:24:03 -0700 (PDT) Cc: FreeBSD-CURRENT@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 14:24:11 -0000 On Sun, 02 Jun 2013 16:43:51 +1000, Kubilay Kocak wrote: > >On 2/06/2013 3:33 PM, Waitman Gobble wrote: >> On Sun, 02 Jun 2013 14:45:31 +1000, Kubilay Kocak >> 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 >> : >> /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 >> : >> /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 in Python.h, I think I have to change that to #include 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