This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.0: cum sympt; w/gdb bktr; OBSD2.8.
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, valaulmo
Priority: low Keywords:

Created on 2001-04-18 04:03 by valaulmo, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configs.tar.bz2 valaulmo, 2001-04-18 04:03 config.* (config.cache, config.h, etc.)
Messages (4)
msg4334 - (view) Author: Brad Allen (valaulmo) Date: 2001-04-18 04:03
Reverted to Python 2.0 + all patches on patch pages,
still with OpenBSD 2.8.  Only non-default module set is
zlib (needed for Mojo Nation according to the docs). 
System is Pentium 133MHz.

Ok, I'm getting better at this now.  This time, I ran
GDB on it, since I noticed that one of the bugs may
have cumulative dependent symptoms.  Also, I'm typing
this bug report into the web browser so that it wraps
correctly (I'll cross my fingers that it doesn't crash
though; that's why I prefer Emacs; I suppose I could
try SSL W3 Emacs but that is hard; not now.)

Here is the gdb output where it did die:

[... lots of tests ...]
test_long

Program received signal SIGSEGV, Segmentation fault.
0x4017bc2f in _thread_machdep_switch ()
(gdb) bt
#0  0x4017bc2f in _thread_machdep_switch ()
#1  0x401c8308 in _sigq_check_reqd ()
#2  0x4017ba66 in _thread_kern_sig_undefer ()
#3  0x4017eb68 in pthread_cond_signal ()
#4  0x1510d in PyThread_release_lock (lock=0x27c320) at
thread_pthread.h:344
#5  0x43006 in eval_code2 (co=0x3c7d80,
globals=0x3c104c, locals=0x0, 
    args=0x25cd58, argcount=2, kws=0x25cd60, kwcount=0,
defs=0x0, defcount=0, 
    owner=0x0) at ceval.c:617
#6  0x450b3 in eval_code2 (co=0x3c7f40,
globals=0x3c104c, locals=0x0, 
    args=0x1a4d60, argcount=1, kws=0x1a4d64, kwcount=0,
defs=0x0, defcount=0, 
    owner=0x0) at ceval.c:1850
#7  0x450b3 in eval_code2 (co=0x4221c0,
globals=0x3c104c, locals=0x0, 
    args=0x39a140, argcount=0, kws=0x39a140, kwcount=0,
defs=0x29c1b8, 
    defcount=1, owner=0x0) at ceval.c:1850
#8  0x450b3 in eval_code2 (co=0x41c900,
globals=0x3c104c, locals=0x3c104c, 
    args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, owner=0x0)
    at ceval.c:1850
#9  0x42625 in PyEval_EvalCode (co=0x41c900,
globals=0x3c104c, locals=0x3c104c)
    at ceval.c:319
#10 0xacff in PyImport_ExecCodeModuleEx
(name=0xdfbfd180 "test_long", 
    co=0x41c900, pathname=0xdfbfcce0
"./Lib/test/test_long.py") at import.c:495
#11 0xb30a in load_source_module (name=0xdfbfd180
"test_long", 
    pathname=0xdfbfcce0 "./Lib/test/test_long.py",
fp=0x401fa83c)
    at import.c:758
#12 0xbc23 in load_module (name=0xdfbfd180 "test_long",
fp=0x401fa83c, 
    buf=0xdfbfcce0 "./Lib/test/test_long.py", type=1)
at import.c:1227
#13 0xc8fb in import_submodule (mod=0x1140fc,
subname=0xdfbfd180 "test_long", 
    fullname=0xdfbfd180 "test_long") at import.c:1755
#14 0xc4ca in load_next (mod=0x1140fc, altmod=0x1140fc,
p_name=0xdfbfd58c, 
    buf=0xdfbfd180 "test_long", p_buflen=0xdfbfd17c) at
import.c:1611
#15 0xc142 in import_module_ex (name=0x0,
globals=0x14624c, locals=0x1a538c, 
    fromlist=0x29c02c) at import.c:1462
---Type <return> to continue, or q <return> to quit---
#16 0xc277 in PyImport_ImportModuleEx (name=0x19f0d4
"test_long", 
    globals=0x14624c, locals=0x1a538c,
fromlist=0x29c02c) at import.c:1503
#17 0x3ce47 in builtin___import__ (self=0x0,
args=0x3b198c) at bltinmodule.c:31
#18 0x4668d in call_builtin (func=0x141070,
arg=0x3b198c, kw=0x0)
    at ceval.c:2650
#19 0x46507 in PyEval_CallObjectWithKeywords
(func=0x141070, arg=0x3b198c, 
    kw=0x0) at ceval.c:2618
#20 0x453ac in eval_code2 (co=0x1cc240,
globals=0x14624c, locals=0x0, 
    args=0x15fdcc, argcount=5, kws=0x15fde0, kwcount=0,
defs=0x1c4738, 
    defcount=1, owner=0x0) at ceval.c:1951
#21 0x450b3 in eval_code2 (co=0x1c9f00,
globals=0x14624c, locals=0x0, 
    args=0x140f44, argcount=0, kws=0x140f44, kwcount=0,
defs=0x18d918, 
    defcount=10, owner=0x0) at ceval.c:1850
#22 0x450b3 in eval_code2 (co=0x1c9f80,
globals=0x14624c, locals=0x14624c, 
    args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, owner=0x0)
    at ceval.c:1850
#23 0x42625 in PyEval_EvalCode (co=0x1c9f80,
globals=0x14624c, locals=0x14624c)
    at ceval.c:319
#24 0x1272f in run_node (n=0x155400, 
    filename=0xdfbfdb5a "./Lib/test/regrtest.py",
globals=0x14624c, 
    locals=0x14624c) at pythonrun.c:886
#25 0x126e8 in run_err_node (n=0x155400, 
    filename=0xdfbfdb5a "./Lib/test/regrtest.py",
globals=0x14624c, 
    locals=0x14624c) at pythonrun.c:874
#26 0x126c4 in PyRun_FileEx (fp=0x401fa7e4, 
    filename=0xdfbfdb5a "./Lib/test/regrtest.py",
start=257, globals=0x14624c, 
    locals=0x14624c, closeit=1) at pythonrun.c:866
#27 0x11cfe in PyRun_SimpleFileEx (fp=0x401fa7e4, 
    filename=0xdfbfdb5a "./Lib/test/regrtest.py",
closeit=1) at pythonrun.c:579
#28 0x118f3 in PyRun_AnyFileEx (fp=0x401fa7e4, 
    filename=0xdfbfdb5a "./Lib/test/regrtest.py",
closeit=1) at pythonrun.c:459
#29 0x24bb in Py_Main (argc=2, argv=0xdfbfdac8) at
main.c:289
---Type <return> to continue, or q <return> to quit---
#30 0x17b5 in main (argc=4, argv=0xdfbfdac8) at
python.c:10
(gdb) 

Once again, I will attach the config.* (config.cache,
etc.) to this in a file.

Brad Allen <Ulmo@Q.Net>
msg4335 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-04-24 17:44
Logged In: YES 
user_id=21627

To me, this likes like a bug in the multithread support of
your operating system. To work around this bug, you should
configure python with --disable-threads.
msg4336 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-06-02 10:21
Logged In: YES 
user_id=21627

Without access to an OpenBSD machine, this is difficult to 
analyze. I agree with Jeremy that it looks like a bug in 
your C library and/or operating system, and I also 
recommend to build Python with --disable-threads.
msg4337 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-07-24 07:14
Logged In: YES 
user_id=21627

There is a known bug on some BSD variants that causes 
problems when mixing both the threaded and the nonthreaded 
libc. So unless it can be established that this is not the 
cause, or unless other information on this bug becomes 
available, I close this as "won't fix".
History
Date User Action Args
2022-04-10 16:03:58adminsetgithub: 34360
2001-04-18 04:03:20valaulmocreate