使用“ - enable-shared”进行测试段错误在Python 2.3.3上 [英] make test segfaults with "--enable-shared" on Python 2.3.3

查看:54
本文介绍了使用“ - enable-shared”进行测试段错误在Python 2.3.3上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


当我使用


./configure --with-thread --with-fpectl --with-signal -module \

--with-pymalloc --enable-shared --with-cxx = g ++


make test

on 2.3.3我得到


....

test_queue

test_quopri

test_random

test_re

make:*** [测试] Speicherzugriffsfehler(Speicherauszug erstellt)


gdb ./python core.29964

GNU gdb 5.3.93

版权所有2003自由软件基金会,公司

....

从/home/devel/compile/Python-2.3.3/build/lib.linux-i686-2.3/pyexpat.so...done读取符号。

/ home /的加载符号devel / compile / Python-2.3.3 / build / lib.linux-i686-2.3 / pyexpat.so

#0 0x400f126c in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6840)<模块/ _sre.c中的
:750

750 {

(gdb)bt

#0 0x400f126c in sre_match (状态= 0xbfffca f0,pattern = 0x41126a0c,level = 6840)

在Modules / _sre.c:750

#1 0x400f2084 in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6839)

在Modules / _sre.c:1257

#2 0x400f20ef in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6838)
$ b模块/ _sre.c中的$ b:1271
$ s $ b#3 0x400f20ef in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6837)

在Modules / _sre.c :1271

#4 0x400f20ef in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6836)

在Modules / _sre.c:1271

#5 0x400f20ef in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6835)

在Modules / _sre.c:1271

#6 0x400f20ef in sre_match( state = 0xbfffcaf0,pattern = 0x41126a0c,level = 6834)

在Modules / _sre.c:1271

#7 0x400f20ef in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,等级= 6833)

在Modules / _sre.c:1271

#8 0x400f20ef in sre_match(state = 0xbfffcaf0,patte rn = 0x41126a0c,level = 6832)

在Modules / _sre.c:1271

....

#6838 0x400f20ef in sre_match( state = 0xbfffcaf0,pattern = 0x41126a0c,level = 2)

在Modules / _sre.c:1271

#6839 0x400f157c in sre_match(state = 0xbfffcaf0,pattern = 0x41126a0c,等级= 1)
模块/ _sre.c的
:1161

---类型< return>继续,或q< return>退出---

#6840 0x400f8a36在sre_search(state = 0xbfffcaf0,pattern = 0x411269ee)

在Modules / _sre.c:1411

#6841 0x400f63bf in pattern_search(self = 0x411269c0,args = 0x40e785ac,kw = 0x0)

在Modules / _sre.c:1869

#6842 0x40068e74 in PyCFunction_Call(func = 0x410610cc,arg = 0x40e785ac,kw = 0x0)

在Objects / methodobject.c:93


在Python / ceval.c:3439

#6844 0x400a4115在eval_frame(f = 0x84f2ddc)在Python / ceval.c:2116

#6845 0x400a181f在PyEval_EvalCodeEx中(co = 0x40429c60,globals = 0x0,locals = 0x0,

args = 0x84f2ddc,argcount = 2,kws = 0x84d3468,kwcount = 0,defs = 0x40436c18,<在Python / ceval.c中的
defcount = 1,closure = 0x0):2663

#6846 0x400540d5 in function_call(func = 0x4043ba74,arg = 0x40f54c6c,kw = 0x41134e84)<对象/ funcobject.c:$

#6847 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40f54c6c,kw = 0x41134e84)

at Objects / abstract.c:1755

#6848 0x400a2cad in ext_do_call(func = 0x4043ba74,pp_stack = 0xbfffd13c,

flags = 1089817708,n​​a = 0,nk = 0)在Python / ceval.c:3713

#6849 0x400a3fbb在eval_frame(f = 0x84fa644)中的Python / ceval.c :2151

#6850 0x400a181f在PyEval_EvalCodeEx中(co = 0x40461e20,globals = 0x0,locals = 0x0,

args = 0x84fa644,argcount = 5,kws = 0x8423550,kwcount =在def_function(func = 0x41126a0c,pp_stack = 0xbfffd2ec,n = 5,na = 5,

nk = 20)在Python / ceval.c:3529

#6852 0x400a2aa7在call_function中(pp_stack = 0xbfffd2ec,oparg = 6840)

在Python / ceval.c:3458

#6853 0x400a4115在eval_frame(f = 0x84233ec)在Python / ceval.c:2116

#6854 0x400a773e in fast_function(func = 0x41126a0c,pp_stack = 0xbfffd41c,n = 1,na = 1,

nk = 138556396)在Python / ceval .c:3518

#6855 0x400a2aa7在call_function中(pp_stack = 0xbfffd41c,oparg = 6840)

---类型< return>继续,或q< return>退出---

在Python / ceval.c:3458

#6856 0x400a4115在eval_frame(f = 0x84f328c)的Python / ceval.c: 2116

#6857 0x400a181f在PyEval_EvalCodeEx中(co = 0x40461c20,globals = 0x0,locals = 0x0,

args = 0x84f328c,argcount = 2,kws = 0x0,kwcount = 0 ,defs = 0x404a7a58,defcount = 1,

closure = 0x0)在Python / ceval.c:2663

#6858 0x4005401b in function_call(func = 0x404a695c,arg = 0x40f5462c ,kw = 0x0)

at Objects / funcobject.c:504

#6859 0x4003a0aa in PyObject_Call(func = 0x41126a0c,arg = 0x40f5462c,kw = 0x0)

at Objects / abstract.c:1755

#6860 0x400448a4 in instancemethod_call(func = 0x1ab8,arg = 0x40f5462c,kw = 0x0)

在Objects / classobject.c:2433

#6861 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40e78fac,kw = 0x0)

在Objects / abstract.c: 1755


at Objects / typeobject.c: 4473

#6863 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40e78fac,kw = 0x0)

at Objects / abstract.c:1755

#6864 0x400a7806在do_call中(func = 0x4113c36c,pp_stack = 0x40e78fac,na = -1,nk = 6840)

在Python / ceval.c:3644

#6865 call_function中的0x400a29ac(pp_stack = 0xbfffd8cc,oparg = 6840)

在Python / ceval.c:3460

#6866 0x400a4115在eval_frame中(f = 0x84237fc)在Python / ceval.c:2116

#6867 0x400a181f在PyEval_EvalCodeEx中(co = 0x404a41e0,globals = 0x0,locals = 0x0,

args = 0x84237fc,argcount = 2,在Python / ceval.c中,kws = 0x0,kwcount = 0,defs = 0x0,defcount = 0,

closure = 0x0):2663

#6868 0x4005401b in function_call( func = 0x404a6d14,arg = 0x40f543ac,kw = 0x0)

at Objects / funcobject.c:504

#6869 0x4003a0aa in PyObject_Call(func = 0x41126a0c,arg = 0x40f543ac, kw = 0x0)

at Objects / abstract.c:1755

#6870 0x400448a4 in instancemethod_call(func = 0x1ab8,arg = 0x40f 543ac,kw = 0x0)

---类型< return>继续,或q< return>在对象/ classobject.c中退出---

:2433

#6871 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40e78f8c,kw = 0x0 )

at Objects / abstract.c:1755

#6872 0x40082bc8 in slot_tp_call(self = 0x40e78f8c,args = 0x40e78f8c,kwds = 0x0)

在Objects / typeobject.c:4473

#6873 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40e78f8c,kw = 0x0)

在Objects / abstract.c: 1755

#6874 0x400a7806在do_call中(func = 0x4113ca8c,pp_stack = 0x40e78f8c,na = -1,nk = 6840)

在Python / ceval.c:3644


#6875 0x400a29ac在call_function中(pp_stack = 0xbfffdd7c,oparg = 6840)

在Python / ceval.c:3460

#6876在eval_frame中的0x400a4115(f = 0x8364c9c)在Python / ceval.c:2116

#6877 0x400a181f在PyEval_EvalCodeEx中(co = 0x404a41e0,globals = 0x0,locals = 0x0,

在Python / ceval.c:args = 0x8364c9c,argcount = 2,kws = 0x0,kwcount = 0,defs = 0x0,defcount = 0,

closure = 0x0):
#6878函数调用中的0x4005401b(func = 0x404a6d14,arg = 0x40f5460c,kw = 0x0)

at Objects / funcobject.c:504

#6879 0x4003a0aa在PyObject_Call中(func = 0x41126a0c, arg = 0x40f5460c,kw = 0x0)

at Objects / abstract.c:1755

#6880 0x400448a4 in instancemethod_call(func = 0x1ab8,arg = 0x40f5460c,kw = 0x0)

at Objects / classobject.c:2433

#6881 0x4003a0aa in PyObject_Call(func = 0x41126a0c,arg = 0x40e7854c,kw = 0x0)

在Objects / typeobject.c:4473 $ / $

#6883 0x4003a0aa在PyObject_Call中(func = 0x41126a0c,arg = 0x40e7854c,kw = 0x0)

at Objects / abstract.c:1755

#6884 0x400a7806在do_call中(func = 0x410e6f8c,pp_stack = 0x40e7854c,na = -1,nk = 6840)

在Python / ceval.c:3644

#6885 0x400a29ac在call_function中(pp_stack = 0xbfffe22c,oparg = 6840)

---类型< return>继续,或q< return>退出---

在Python / ceval.c:3460

#6886 0x400a4115在eval_frame(f = 0x829a7a4)在Python / ceval.c:2116

#6887 0x400a773e在fast_function(func = 0x41126a0c,pp_stack = 0xbfffe35c,n = 2,na = 2,

nk = 136947620)的Python / ceval.c:3518

#6888 0x400a2aa7在call_function中(pp_stack = 0xbfffe35c,oparg = 6840)

在Python / ceval.c:3458

#6889 0x400a4115在eval_frame(f = 0x41b3a014)在Python / ceval.c:2116

#6890 0x400a181f在PyEval_EvalCodeEx中(co = 0x40461420,globals = 0x0,locals = 0x0,

args = 0x41b3a014,argcount在Python / ceval.c上,= 2,kws = 0x84376fc,kwcount = 0,defs = 0x4049e938,

defcount = 1,closure = 0x0):2663

#6891 0x400a76b5在fast_function中(func = 0x41126a0c,pp_stack = 0xbfffe50c,n = 2,na = 2,

nk = 8)在Python / ceval.c:3529

#6892 0x400a2aa7在call_function中(pp_stack = 0xbfffe50c,oparg = 6840)

在Python / ceval.c:3458

#6893 0x400a4115在eval_frame(f = 0x8437594)在P ython / ceval.c:2116

#6894 0x400a181f在PyEval_EvalCodeEx中(co = 0x40461460,globals = 0x0,locals = 0x0,

args = 0x8437594,argcount = 1,kws在Python / ceval.c:2663

#6895 0x400a76b5 in fast_function(func)= 0x814b440,kwcount = 0,defs = 0x0,defcount = 0,

closure = 0x0) = 0x41126a0c,pp_stack = 0xbfffe6bc,n = 1,na = 1,

nk = 4)在Python / ceval.c:3529

#6896 0x400a2aa7在call_function中(pp_stack = 0xbfffe6bc,oparg = 6840)

在Python / ceval.c:3458

#6897 0x400a4115在eval_frame(f = 0x814b2ec)中的Python / ceval.c:2116

#6898 0x400a773e在fast_function(func = 0x41126a0c,pp_stack = 0xbfffe7ec,n = 0,na = 0,

nk = 135574252)的Python / ceval.c:3518 < call_function中的
#6899 0x400a2aa7(pp_stack = 0xbfffe7ec,oparg = 6840)

在Python / ceval.c:3458

#6900 0x400a4115在eval_frame中(f = 0x831ca34)在Python / ceval.c:2116

#6901 0x400a181f在PyEval_EvalCodeEx中(co = 0x4044e5a0,globals = 0x0,locals = 0x0,

args = 0x831ca34,argcount = 5,kws = 0x80d6870,kwcount = 0,defs = 0x40459938,

---类型< return>继续,或q< return>退出---

defcount = 1,closure = 0x0)在Python / ceval.c:2663

#6902 0x400a76b5 in fast_function(func = 0x41126a0c,pp_stack = 0xbfffe99c ,n = 5,na = 5,

nk = 20)在Python / ceval.c:3529

#6903 0x400a2aa7在call_function中(pp_stack = 0xbfffe99c,oparg = 6840 )在Python / ceval.c上的
:3458

#6904 0x400a4115在eval_frame(f = 0x80d6654)的Python / ceval.c:2116

#6905 0x400a181f在PyEval_EvalCodeEx中(co = 0x4044e520,globals = 0x0,locals = 0x0,

args = 0x80d6654,argcount = 0,kws = 0x80baac4,kwcount = 0,defs = 0x4045e428,

defcount = 11,closure = 0x0)在Python / ceval.c:2663

#6906 0x400a76b5 in fast_function(func = 0x41126a0c,pp_stack = 0xbfffeb4c,n = 0,na = 0 ,/ b $ b nk = 0)在Python / ceval.c:3529

#6907 0x400a2aa7在call_function中(pp_stack = 0xbfffeb4c,oparg = 6840)

在Python / ceval.c:3458

#6908 0x400a4115在Eval_frame(f = 0x80ba974)在Python / ceval.c:2116

#6909 0x400a181f在PyEval_EvalC中odeEx(co = 0x4044e8a0,globals = 0x0,

locals = 0x403fe79c,args = 0x80ba974,argcount = 0,kws = 0x0,kwcount = 0,defs = 0x0,

在Python / ceval.c中的defcount = 0,closure = 0x0):2663
在PyEval_EvalCode中的
#6910 0x400a1152(co = 0x4044e8a0,globals = 0x403fe79c,

locals = 0x403fe79c)在Python / ceval.c:537

#6911 0x400dcc2d在run_err_node中(n = 0x403fe79c,

filename = 0xbfffefad" ./ Lib / test / regrtest.py", globals = 0x403fe79c,

locals = 0x403fe79c,flags = 0xbfffecf8)在Python / pythonrun.c:1265

#6912 0x400db668在PyRun_SimpleFileExFlags中(fp = 0x8049a00,

filename = 0xbfffefad" ./ Lib / test / regrtest.py",closeit = 1,flags = 0xbfffecf8)

在Python / pythonrun.c:862

#6913 0x400daf9e在PyRun_AnyFileExFlags中(fp = 0x8049a00,

filename = 0xbfffefad" ./ Lib / test / regrtest.py",closeit = 1,flags = 0xbfffecf8)

at Python / pythonrun.c:659

#6914 0x400e3994 in Py_Main(argc = 2,argv = 0xbfff ed74:在Modules / main.c:415

#6915 0x080486f3 in main(argc = 5,argv = 0xbfffed74)在Modules / ccpython.cc:10

(gdb)


某种无限的递归?


问候


Berthold

-
bh *** @ web.de / http://starship.python.net/crew/bhoel/

将此电子邮件地址用于未经请求的广告是非法的

(USC标题47 Sec.227)。我将评估500美元的费用

查看并删除每个未经请求的广告。

Hello,

When I use

./configure --with-thread --with-fpectl --with-signal-module \
--with-pymalloc --enable-shared --with-cxx=g++

make test

on 2.3.3 I get

....
test_queue
test_quopri
test_random
test_re
make: *** [test] Speicherzugriffsfehler (Speicherauszug erstellt)

gdb ./python core.29964
GNU gdb 5.3.93
Copyright 2003 Free Software Foundation, Inc.
....
Reading symbols from /home/devel/compile/Python-2.3.3/build/lib.linux-i686-2.3/pyexpat.so...done.
Loaded symbols for /home/devel/compile/Python-2.3.3/build/lib.linux-i686-2.3/pyexpat.so
#0 0x400f126c in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6840)
at Modules/_sre.c:750
750 {
(gdb) bt
#0 0x400f126c in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6840)
at Modules/_sre.c:750
#1 0x400f2084 in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6839)
at Modules/_sre.c:1257
#2 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6838)
at Modules/_sre.c:1271
#3 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6837)
at Modules/_sre.c:1271
#4 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6836)
at Modules/_sre.c:1271
#5 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6835)
at Modules/_sre.c:1271
#6 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6834)
at Modules/_sre.c:1271
#7 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6833)
at Modules/_sre.c:1271
#8 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=6832)
at Modules/_sre.c:1271
....
#6838 0x400f20ef in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=2)
at Modules/_sre.c:1271
#6839 0x400f157c in sre_match (state=0xbfffcaf0, pattern=0x41126a0c, level=1)
at Modules/_sre.c:1161
---Type <return> to continue, or q <return> to quit---
#6840 0x400f8a36 in sre_search (state=0xbfffcaf0, pattern=0x411269ee)
at Modules/_sre.c:1411
#6841 0x400f63bf in pattern_search (self=0x411269c0, args=0x40e785ac, kw=0x0)
at Modules/_sre.c:1869
#6842 0x40068e74 in PyCFunction_Call (func=0x410610cc, arg=0x40e785ac, kw=0x0)
at Objects/methodobject.c:93

#6843 0x400a29e6 in call_function (pp_stack=0xbfffcf6c, oparg=6840)
at Python/ceval.c:3439
#6844 0x400a4115 in eval_frame (f=0x84f2ddc) at Python/ceval.c:2116
#6845 0x400a181f in PyEval_EvalCodeEx (co=0x40429c60, globals=0x0, locals=0x0,
args=0x84f2ddc, argcount=2, kws=0x84d3468, kwcount=0, defs=0x40436c18,
defcount=1, closure=0x0) at Python/ceval.c:2663
#6846 0x400540d5 in function_call (func=0x4043ba74, arg=0x40f54c6c, kw=0x41134e84)
at Objects/funcobject.c:504

#6847 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40f54c6c, kw=0x41134e84)
at Objects/abstract.c:1755
#6848 0x400a2cad in ext_do_call (func=0x4043ba74, pp_stack=0xbfffd13c,
flags=1089817708, na=0, nk=0) at Python/ceval.c:3713
#6849 0x400a3fbb in eval_frame (f=0x84fa644) at Python/ceval.c:2151
#6850 0x400a181f in PyEval_EvalCodeEx (co=0x40461e20, globals=0x0, locals=0x0,
args=0x84fa644, argcount=5, kws=0x8423550, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at Python/ceval.c:2663

#6851 0x400a76b5 in fast_function (func=0x41126a0c, pp_stack=0xbfffd2ec, n=5, na=5,
nk=20) at Python/ceval.c:3529
#6852 0x400a2aa7 in call_function (pp_stack=0xbfffd2ec, oparg=6840)
at Python/ceval.c:3458
#6853 0x400a4115 in eval_frame (f=0x84233ec) at Python/ceval.c:2116
#6854 0x400a773e in fast_function (func=0x41126a0c, pp_stack=0xbfffd41c, n=1, na=1,
nk=138556396) at Python/ceval.c:3518
#6855 0x400a2aa7 in call_function (pp_stack=0xbfffd41c, oparg=6840)
---Type <return> to continue, or q <return> to quit---
at Python/ceval.c:3458

#6856 0x400a4115 in eval_frame (f=0x84f328c) at Python/ceval.c:2116
#6857 0x400a181f in PyEval_EvalCodeEx (co=0x40461c20, globals=0x0, locals=0x0,
args=0x84f328c, argcount=2, kws=0x0, kwcount=0, defs=0x404a7a58, defcount=1,
closure=0x0) at Python/ceval.c:2663
#6858 0x4005401b in function_call (func=0x404a695c, arg=0x40f5462c, kw=0x0)
at Objects/funcobject.c:504
#6859 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40f5462c, kw=0x0)
at Objects/abstract.c:1755

#6860 0x400448a4 in instancemethod_call (func=0x1ab8, arg=0x40f5462c, kw=0x0)
at Objects/classobject.c:2433
#6861 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e78fac, kw=0x0)
at Objects/abstract.c:1755

#6862 0x40082bc8 in slot_tp_call (self=0x40e78fac, args=0x40e78fac, kwds=0x0)
at Objects/typeobject.c:4473
#6863 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e78fac, kw=0x0)
at Objects/abstract.c:1755
#6864 0x400a7806 in do_call (func=0x4113c36c, pp_stack=0x40e78fac, na=-1, nk=6840)
at Python/ceval.c:3644
#6865 0x400a29ac in call_function (pp_stack=0xbfffd8cc, oparg=6840)
at Python/ceval.c:3460

#6866 0x400a4115 in eval_frame (f=0x84237fc) at Python/ceval.c:2116
#6867 0x400a181f in PyEval_EvalCodeEx (co=0x404a41e0, globals=0x0, locals=0x0,
args=0x84237fc, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at Python/ceval.c:2663
#6868 0x4005401b in function_call (func=0x404a6d14, arg=0x40f543ac, kw=0x0)
at Objects/funcobject.c:504
#6869 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40f543ac, kw=0x0)
at Objects/abstract.c:1755
#6870 0x400448a4 in instancemethod_call (func=0x1ab8, arg=0x40f543ac, kw=0x0)
---Type <return> to continue, or q <return> to quit---
at Objects/classobject.c:2433

#6871 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e78f8c, kw=0x0)
at Objects/abstract.c:1755
#6872 0x40082bc8 in slot_tp_call (self=0x40e78f8c, args=0x40e78f8c, kwds=0x0)
at Objects/typeobject.c:4473
#6873 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e78f8c, kw=0x0)
at Objects/abstract.c:1755
#6874 0x400a7806 in do_call (func=0x4113ca8c, pp_stack=0x40e78f8c, na=-1, nk=6840)
at Python/ceval.c:3644

#6875 0x400a29ac in call_function (pp_stack=0xbfffdd7c, oparg=6840)
at Python/ceval.c:3460
#6876 0x400a4115 in eval_frame (f=0x8364c9c) at Python/ceval.c:2116
#6877 0x400a181f in PyEval_EvalCodeEx (co=0x404a41e0, globals=0x0, locals=0x0,
args=0x8364c9c, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at Python/ceval.c:2663
#6878 0x4005401b in function_call (func=0x404a6d14, arg=0x40f5460c, kw=0x0)
at Objects/funcobject.c:504
#6879 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40f5460c, kw=0x0)
at Objects/abstract.c:1755
#6880 0x400448a4 in instancemethod_call (func=0x1ab8, arg=0x40f5460c, kw=0x0)
at Objects/classobject.c:2433
#6881 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e7854c, kw=0x0)
at Objects/abstract.c:1755
#6882 0x40082bc8 in slot_tp_call (self=0x40e7854c, args=0x40e7854c, kwds=0x0)
at Objects/typeobject.c:4473
#6883 0x4003a0aa in PyObject_Call (func=0x41126a0c, arg=0x40e7854c, kw=0x0)
at Objects/abstract.c:1755
#6884 0x400a7806 in do_call (func=0x410e6f8c, pp_stack=0x40e7854c, na=-1, nk=6840)
at Python/ceval.c:3644
#6885 0x400a29ac in call_function (pp_stack=0xbfffe22c, oparg=6840)
---Type <return> to continue, or q <return> to quit---
at Python/ceval.c:3460
#6886 0x400a4115 in eval_frame (f=0x829a7a4) at Python/ceval.c:2116
#6887 0x400a773e in fast_function (func=0x41126a0c, pp_stack=0xbfffe35c, n=2, na=2,
nk=136947620) at Python/ceval.c:3518
#6888 0x400a2aa7 in call_function (pp_stack=0xbfffe35c, oparg=6840)
at Python/ceval.c:3458
#6889 0x400a4115 in eval_frame (f=0x41b3a014) at Python/ceval.c:2116
#6890 0x400a181f in PyEval_EvalCodeEx (co=0x40461420, globals=0x0, locals=0x0,
args=0x41b3a014, argcount=2, kws=0x84376fc, kwcount=0, defs=0x4049e938,
defcount=1, closure=0x0) at Python/ceval.c:2663
#6891 0x400a76b5 in fast_function (func=0x41126a0c, pp_stack=0xbfffe50c, n=2, na=2,
nk=8) at Python/ceval.c:3529
#6892 0x400a2aa7 in call_function (pp_stack=0xbfffe50c, oparg=6840)
at Python/ceval.c:3458
#6893 0x400a4115 in eval_frame (f=0x8437594) at Python/ceval.c:2116
#6894 0x400a181f in PyEval_EvalCodeEx (co=0x40461460, globals=0x0, locals=0x0,
args=0x8437594, argcount=1, kws=0x814b440, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at Python/ceval.c:2663
#6895 0x400a76b5 in fast_function (func=0x41126a0c, pp_stack=0xbfffe6bc, n=1, na=1,
nk=4) at Python/ceval.c:3529
#6896 0x400a2aa7 in call_function (pp_stack=0xbfffe6bc, oparg=6840)
at Python/ceval.c:3458
#6897 0x400a4115 in eval_frame (f=0x814b2ec) at Python/ceval.c:2116
#6898 0x400a773e in fast_function (func=0x41126a0c, pp_stack=0xbfffe7ec, n=0, na=0,
nk=135574252) at Python/ceval.c:3518
#6899 0x400a2aa7 in call_function (pp_stack=0xbfffe7ec, oparg=6840)
at Python/ceval.c:3458
#6900 0x400a4115 in eval_frame (f=0x831ca34) at Python/ceval.c:2116
#6901 0x400a181f in PyEval_EvalCodeEx (co=0x4044e5a0, globals=0x0, locals=0x0,
args=0x831ca34, argcount=5, kws=0x80d6870, kwcount=0, defs=0x40459938,
---Type <return> to continue, or q <return> to quit---
defcount=1, closure=0x0) at Python/ceval.c:2663
#6902 0x400a76b5 in fast_function (func=0x41126a0c, pp_stack=0xbfffe99c, n=5, na=5,
nk=20) at Python/ceval.c:3529
#6903 0x400a2aa7 in call_function (pp_stack=0xbfffe99c, oparg=6840)
at Python/ceval.c:3458
#6904 0x400a4115 in eval_frame (f=0x80d6654) at Python/ceval.c:2116
#6905 0x400a181f in PyEval_EvalCodeEx (co=0x4044e520, globals=0x0, locals=0x0,
args=0x80d6654, argcount=0, kws=0x80baac4, kwcount=0, defs=0x4045e428,
defcount=11, closure=0x0) at Python/ceval.c:2663
#6906 0x400a76b5 in fast_function (func=0x41126a0c, pp_stack=0xbfffeb4c, n=0, na=0,
nk=0) at Python/ceval.c:3529
#6907 0x400a2aa7 in call_function (pp_stack=0xbfffeb4c, oparg=6840)
at Python/ceval.c:3458
#6908 0x400a4115 in eval_frame (f=0x80ba974) at Python/ceval.c:2116
#6909 0x400a181f in PyEval_EvalCodeEx (co=0x4044e8a0, globals=0x0,
locals=0x403fe79c, args=0x80ba974, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2663
#6910 0x400a1152 in PyEval_EvalCode (co=0x4044e8a0, globals=0x403fe79c,
locals=0x403fe79c) at Python/ceval.c:537
#6911 0x400dcc2d in run_err_node (n=0x403fe79c,
filename=0xbfffefad "./Lib/test/regrtest.py", globals=0x403fe79c,
locals=0x403fe79c, flags=0xbfffecf8) at Python/pythonrun.c:1265
#6912 0x400db668 in PyRun_SimpleFileExFlags (fp=0x8049a00,
filename=0xbfffefad "./Lib/test/regrtest.py", closeit=1, flags=0xbfffecf8)
at Python/pythonrun.c:862
#6913 0x400daf9e in PyRun_AnyFileExFlags (fp=0x8049a00,
filename=0xbfffefad "./Lib/test/regrtest.py", closeit=1, flags=0xbfffecf8)
at Python/pythonrun.c:659
#6914 0x400e3994 in Py_Main (argc=2, argv=0xbfffed74) at Modules/main.c:415
#6915 0x080486f3 in main (argc=5, argv=0xbfffed74) at Modules/ccpython.cc:10
Current language: auto; currently c
(gdb)

Some kind of "infinite" recursion?

Regards

Berthold
--
bh***@web.de / http://starship.python.net/crew/bhoel/
It is unlawful to use this email address for unsolicited ads
(USC Title 47 Sec.227). I will assess a US$500 charge for
reviewing and deleting each unsolicited ad.

推荐答案

500收费

审核并删除每个未经请求的广告。
500 charge for
reviewing and deleting each unsolicited ad.


bh *** @ web .de (Be​​rthold Hoellmann)写道:
bh***@web.de (Berthold Hoellmann) writes:
你好,

当我用的时候

./configure - with-thread --with-fpectl --with-signal-module \
--with-pymalloc --enable-shared --with-cxx = g ++

make test

...
test_queue
test_quopri
test_random
test_re
make:* ** [测试] Speicherzugriffsfehler(Speicherauszug erstellt)
Hello,

When I use

./configure --with-thread --with-fpectl --with-signal-module \
--with-pymalloc --enable-shared --with-cxx=g++

make test

on 2.3.3 I get

...
test_queue
test_quopri
test_random
test_re
make: *** [test] Speicherzugriffsfehler (Speicherauszug erstellt)




如果我删除 - enable-shared,那么一切正常。国旗来自

配置。


问候


Berthold


-
bh***@web.de / http://starship.python.net/crew/bhoel/

使用此电子邮件是非法的未经请求的广告的地址

(USC Title 47 Sec.227)。我将评估美国



Everything works fine if I remove the "--enable-shared" flag from
configure.

Regards

Berthold

--
bh***@web.de / http://starship.python.net/crew/bhoel/
It is unlawful to use this email address for unsolicited ads
(USC Title 47 Sec.227). I will assess a US


500费用

审核并删除每个未经请求的广告。
500 charge for
reviewing and deleting each unsolicited ad.


这篇关于使用“ - enable-shared”进行测试段错误在Python 2.3.3上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆