Re: python2.4 build failed for stable-security
> On Mon, Oct 23, 2006 at 12:24:16PM +0200, Michael Schmitz wrote:
> > > > The build for python2.4 failed twice. I suppose it's a problem on the buildd. Please fix ASAP.
> > >
> > > Oh, sorry, you are talking about the security build, I only looked at the
> > > build for unstable...
> >
> > Which machine was that built on?
>
> kullervo.
gdb backtrace from build-debug/python: (null pointer segv)
#0 0x80081bf0 in call_function (pp_stack=0xefffd1c0, oparg=1)
at ../Python/ceval.c:3522
#1 0x8007e3e0 in PyEval_EvalFrame (f=0x80134c74) at ../Python/ceval.c:2163
#2 0x8008012a in PyEval_EvalCodeEx (co=0xc01b47b8, globals=0xc01aa494,
locals=0x0, args=0xc01cee48, argcount=2, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python/ceval.c:2730
#3 0x800d1e54 in function_call (func=0xc01cf994, arg=0xc01cee34, kw=0x0)
at ../Objects/funcobject.c:548
#4 0x80015798 in PyObject_Call (func=0xc01cf994, arg=0xc01cee34, kw=0x0)
at ../Objects/abstract.c:1751
#5 0x8001d686 in instancemethod_call (func=0xc01cf994, arg=0xc01cee34, kw=0x0)
at ../Objects/classobject.c:2431
#6 0x80015798 in PyObject_Call (func=0xc01a28f4, arg=0xc01d19d4, kw=0x0)
at ../Objects/abstract.c:1751
#7 0x8008197a in PyEval_CallObjectWithKeywords (func=0xc01a28f4,
arg=0xc01d19d4, kw=0x0) at ../Python/ceval.c:3419
#8 0x80017f3a in PyInstance_New (klass=0xc01c8784, arg=0xc01d19d4, kw=0x0)
at ../Objects/classobject.c:575
#9 0x80015798 in PyObject_Call (func=0xc01c8784, arg=0xc01d19d4, kw=0x0)
at ../Objects/abstract.c:1751
#10 0x80082862 in do_call (func=0xc01c8784, pp_stack=0xefffda8c, na=1, nk=0)
at ../Python/ceval.c:3755
#11 0x8008212a in call_function (pp_stack=0xefffda8c, oparg=1)
at ../Python/ceval.c:3570
#12 0x8007e3e0 in PyEval_EvalFrame (f=0x801296d4) at ../Python/ceval.c:2163
#13 0x8008012a in PyEval_EvalCodeEx (co=0xc01bb1e0, globals=0xc01aa494,
locals=0xc01aa494, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python/ceval.c:2730
#14 0x80078ae6 in PyEval_EvalCode (co=0xc01bb1e0, globals=0xc01aa494,
locals=0xc01aa494) at ../Python/ceval.c:484
#15 0x8009c7dc in PyImport_ExecCodeModuleEx (name=0xefffe47a "os",
co=0xc01bb1e0,
pathname=0xefffdba6 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/os.pyc") at ../Python/import.c:619
#16 0x8009ceca in load_source_module (name=0xefffe47a "os",
pathname=0xefffdba6 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/os.pyc", fp=0x801196c8) at ../Python/import.c:893
#17 0x8009e07c in load_module (name=0xefffe47a "os", fp=0x801196c8,
buf=0xefffe006 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/os.py",
type=1, loader=0x0) at ../Python/import.c:1656
#18 0x8009f610 in import_submodule (mod=0x800f4be0, subname=0xefffe47a "os",
fullname=0xefffe47a "os") at ../Python/import.c:2250
#19 0x8009ee2a in load_next (mod=0x800f4be0, altmod=0x800f4be0,
p_name=0xefffe884, buf=0xefffe47a "os", p_buflen=0xefffe476)
at ../Python/import.c:2070
#20 0x8009e7fe in import_module_ex (name=0x0, globals=0xc01aa354,
locals=0xc01aa354, fromlist=0x800f4be0) at ../Python/import.c:1905
#21 0x8009ea5c in PyImport_ImportModuleEx (name=0xc01852b4 "os",
globals=0xc01aa354, locals=0xc01aa354, fromlist=0x800f4be0)
at ../Python/import.c:1946
#22 0x8006f0d8 in builtin___import__ (self=0x0, args=0xc01ac8b4)
at ../Python/bltinmodule.c:45
#23 0x800d2652 in PyCFunction_Call (func=0xc018f814, arg=0xc01ac8b4, kw=0x0)
at ../Objects/methodobject.c:73
#24 0x80015798 in PyObject_Call (func=0xc018f814, arg=0xc01ac8b4, kw=0x0)
at ../Objects/abstract.c:1751
#25 0x8008197a in PyEval_CallObjectWithKeywords (func=0xc018f814,
arg=0xc01ac8b4, kw=0x0) at ../Python/ceval.c:3419
#26 0x8007ddf0 in PyEval_EvalFrame (f=0x80119c0c) at ../Python/ceval.c:2020
#27 0x8008012a in PyEval_EvalCodeEx (co=0xc019fde8, globals=0xc01aa354,
locals=0xc01aa354, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python/ceval.c:2730
#28 0x80078ae6 in PyEval_EvalCode (co=0xc019fde8, globals=0xc01aa354,
locals=0xc01aa354) at ../Python/ceval.c:484
#29 0x8009c7dc in PyImport_ExecCodeModuleEx (name=0xeffff7b6 "site",
co=0xc019fde8,
pathname=0xefffeee2 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/site.pyc") at ../Python/import.c:619
#30 0x8009ceca in load_source_module (name=0xeffff7b6 "site",
pathname=0xefffeee2 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/site.pyc", fp=0x80119558) at ../Python/import.c:893
#31 0x8009e07c in load_module (name=0xeffff7b6 "site", fp=0x80119558,
buf=0xeffff342 "/build/buildd/python2.4-2.4.1/build-debug/../Lib/site.py",
type=1, loader=0x0) at ../Python/import.c:1656
#32 0x8009f610 in import_submodule (mod=0x800f4be0, subname=0xeffff7b6 "site",
fullname=0xeffff7b6 "site") at ../Python/import.c:2250
#33 0x8009ee2a in load_next (mod=0x800f4be0, altmod=0x800f4be0,
p_name=0xeffffbc0, buf=0xeffff7b6 "site", p_buflen=0xeffff7b2)
at ../Python/import.c:2070
#34 0x8009e7fe in import_module_ex (name=0x0, globals=0xc01a3f34,
locals=0xc01a3f34, fromlist=0xc018961c) at ../Python/import.c:1905
#35 0x8009ea5c in PyImport_ImportModuleEx (name=0xc01a854c "site",
globals=0xc01a3f34, locals=0xc01a3f34, fromlist=0xc018961c)
at ../Python/import.c:1946
#36 0x8006f0d8 in builtin___import__ (self=0x0, args=0xc0195634)
at ../Python/bltinmodule.c:45
#37 0x800d2652 in PyCFunction_Call (func=0xc018f814, arg=0xc0195634, kw=0x0)
at ../Objects/methodobject.c:73
#38 0x80015798 in PyObject_Call (func=0xc018f814, arg=0xc0195634, kw=0x0)
at ../Objects/abstract.c:1751
#39 0x800158e2 in PyObject_CallFunction (callable=0xc018f814,
format=0x800e7a62 "OOOO") at ../Objects/abstract.c:1793
#40 0x8009fc1e in PyImport_Import (module_name=0xc01a8530)
at ../Python/import.c:2405
#41 0x8009e73e in PyImport_ImportModule (name=0x800e87b7 "site")
at ../Python/import.c:1877
#42 0x800a705e in initsite () at ../Python/pythonrun.c:612
#43 0x800a67fa in Py_InitializeEx (install_sigs=1) at ../Python/pythonrun.c:216
#44 0x800a6adc in Py_Initialize () at ../Python/pythonrun.c:283
#45 0x8000e178 in Py_Main (argc=1, argv=0xeffffde4) at ../Modules/main.c:418
#46 0x8000da06 in main (argc=1, argv=0xeffffde4) at ../Modules/python.c:23
Code:
static PyObject *
call_function(PyObject ***pp_stack, int oparg
#ifdef WITH_TSC
, uint64* pintr0, uint64* pintr1
#endif
)
{
int na = oparg & 0xff;
int nk = (oparg>>8) & 0xff;
int n = na + 2 * nk;
PyObject **pfunc = (*pp_stack) - n - 1;
PyObject *func = *pfunc;
PyObject *x, *w;
/* Always dispatch PyCFunction first, because these are
presumed to be the most frequent callable object.
*/
====> if (PyCFunction_Check(func) && nk == 0) {
int flags = PyCFunction_GET_FLAGS(func);
PyThreadState *tstate = PyThreadState_GET();
PCALL(PCALL_CFUNCTION);
(gdb) p func
$1 = (PyObject *) 0xdbdbdbdb
(gdb) p nk
$2 = 0
(gdb) p pfunc
$3 = (PyObject **) 0x801349d4
(gdb) p *func
Cannot access memory at address 0xdbdbdbdb
I'll need a python expert here. Please get the python maintainer to debug
this.
Michael
Reply to: