[Python-bugs-list] [Bug #114410] 'make tests' fails with thread error on OpenBSD 2.7

noreply@sourceforge.net noreply@sourceforge.net
Mon, 18 Sep 2000 18:48:20 -0700


Bug #114410, was updated on 2000-Sep-14 02:24
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 1
Summary: 'make tests' fails with thread error on OpenBSD 2.7

Details: Using the latest CVS version of Python, the output from a pass of regrtest follows. It may be an OpenBSD problem, in which case if someone can explain it to me I will sendbug it to the OpenBSD people instead.

PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_MimeWriter
test_al
test test_al skipped --  No module named al
test_array
test_atexit
test_audioop
test test_audioop skipped --  No module named audioop
test_augassign
test_binascii
test_binhex
test_bsddb
test_cd
test test_cd skipped --  No module named cd
test_cgi
test_cl
test test_cl skipped --  No module named cl
test_class
test_cmath
test_compile
test_contains
test_cookie
test_cpickle
test_crypt
test test_crypt skipped --  No module named crypt
test_dbm
test test_dbm skipped --  No module named dbm
test_dl
test test_dl skipped --  No module named dl
test_dospath
test_errno
test_extcall
test_fcntl
test test_fcntl skipped --  No module named FCNTL
test_file
test_fork1
test_format
test_gc
gc: collectable <list 0x36e46c>
gc: collectable <dictionary 0x3d568c>
gc: collectable <list 0x36e46c>
gc: collectable <tuple 0x36e48c>
gc: collectable <class 0x3d570c>
gc: collectable <dictionary 0x3d56cc>
gc: collectable <A instance at 0x36e46c>
gc: collectable <dictionary 0x3d574c>
gc: collectable <A instance at 0x36e46c>
gc: collectable <dictionary 0x3d578c>
gc: collectable <instance method 0x25e34c>
gc: collectable <B instance at 0x36e4cc>
gc: collectable <dictionary 0x3d58cc>
gc: uncollectable <dictionary 0x3d584c>
gc: uncollectable <A instance at 0x36e46c>
gc: collectable <dictionary 0x3d57cc>
gc: collectable <function 0x3d590c>
test_gdbm
test test_gdbm skipped --  No module named gdbm
test_getopt
test_gettext
test_gl
test test_gl skipped --  No module named gl
test_grp
pid 4207: Fatal error '_libc_private_storage_lock' at line 14 in file /usr/src/lib/libc_r/thread/thread_storage.c (errno = 2)
Abort (core dumped) 
*** Error code 134

Stop in /tmp/python/dist/src (line 212 of Makefile).


Follow-Ups:

Date: 2000-Sep-14 02:34
By: jribbens

Comment:
Oh, if you do './configure --without-threads' then the problem is avoided, of course. 'make tests' then gives:

74 tests OK.
26 tests skipped: test_al test_audioop test_cd test_cl test_crypt test_dbm test_dl test_fcntl test_fork1 test_gdbm test_gl test_gzip test_imageop test_imgfile test_linuxaudiodev test_minidom test_nis test_pty test_pyexpat test_rgbimg test_sunaudiodev test_thread test_timing test_winreg test_winsound test_zlib

But presumably, since Python 2 has threads enabled by default, something else needs to be done ;-)
-------------------------------------------------------

Date: 2000-Sep-16 10:04
By: gvanrossum

Comment:
I don't have an OpenBSD system to debug this myself. I have access to FreeBSD 4.1 which does not have this problem. Perhaps you can try to debug this some more yourself?

If it's decided that this is a bug in OpenBSD (are you using the latest version?), please let us know so we can close this bug report.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=114410&group_id=5470