Date: Fri, 6 Feb 2004 14:27:51 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Hye-Shik Chang <perky@i18n.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: python ports broken (sem_destroy: Resource temporarily unavailable) Message-ID: <Pine.GSO.4.10.10402061426290.23540-100000@pcnet5.pcnet.com> In-Reply-To: <20040206160802.GA9482@i18n.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Feb 2004, Hye-Shik Chang wrote: > On Fri, Feb 06, 2004 at 09:06:14AM -0500, Daniel Eischen wrote: > > On Thu, 5 Feb 2004, Kris Kennaway wrote: > > > Nope, still broken. Can you confirm that you can build e.g. the > > > py23-bsddb3-4.1.6_1 port? It hangs for me here: > > > > > > [...] > > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_queue.py to test_queue.pyc > > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_recno.py to test_recno.pyc > > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_thread.py to test_thread.pyc > > > > Thanks, that was a good test. I'm behind a slow dial-up so I > > appreciate the smallish distfile. > > > > I committed a fix to libc/gen/sem.c. The port appears to build > > (and install) OK for me now. > > > > Thank you very much! > py-bsddb unittest is successfully passed with your fixes. And almost > all of python regression test set is okay except test_threaded_import. > > alice(perky):/usr/local/lib/python2.3/test% sudo python test_threaded_import.py > Trying 20 threads ... OK. > Trying 50 threads ... > Traceback (most recent call last): > File "test_threaded_import.py", line 56, in ? > test_main() > File "test_threaded_import.py", line 50, in test_main > thread.start_new_thread(task, ()) > thread.error: can't start new thread > > FYI, python's thread creation routine is located on > work/Python-2.3.3/Python/thread_pthread.h:188. How many threads does it try after "Trying 50 threads..."? You may have to increase kern.threads.max_threads_per_proc. -- Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10402061426290.23540-100000>