ceval.c no such file or dir and SIGSEGV

N

Nancy

Hi,

I'm running 2.4 Python. I have an extension program that calls C funcs.
Actually I have a C prog that calls python that calls C. In a python to
C function call I get a SIGSEGV and this stack trace. I have print
statements that show it made it into the C extension function, and
within there its crashing with this trace. gdb also puts up a popup
that says Python/ceval.c
No such file or directory.
Thanks.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7873)]
PyEval_EvalFrame (f=0x8472c8c) at ../Python-2.4/Python/ceval.c:899
in ../Python-2.4/Python/ceval.c
(gdb) where
#0 PyEval_EvalFrame (f=0x8472c8c) at
.../Python-2.4/Python/ceval.c:899
#1 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe304,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#2 0x081f4174 in call_function (pp_stack=0xbfffe304, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#3 0x081f26ba in PyEval_EvalFrame (f=0x847741c) at
.../Python-2.4/Python/ceval.c:2163
#4 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe434,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#5 0x081f4174 in call_function (pp_stack=0xbfffe434, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#6 0x081f26ba in PyEval_EvalFrame (f=0x8476b6c) at
.../Python-2.4/Python/ceval.c:2163
#7 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe564,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#8 0x081f4174 in call_function (pp_stack=0xbfffe564, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#9 0x081f26ba in PyEval_EvalFrame (f=0x84724bc) at
.../Python-2.4/Python/ceval.c:2163
#10 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe694,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#11 0x081f4174 in call_function (pp_stack=0xbfffe694, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#12 0x081f26ba in PyEval_EvalFrame (f=0x848f65c) at
.../Python-2.4/Python/ceval.c:2163
#13 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe7c4,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#14 0x081f4174 in call_function (pp_stack=0xbfffe7c4, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#15 0x081f26ba in PyEval_EvalFrame (f=0x846b5fc) at
.../Python-2.4/Python/ceval.c:2163
#16 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffe8f4,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#17 0x081f4174 in call_function (pp_stack=0xbfffe8f4, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#18 0x081f26ba in PyEval_EvalFrame (f=0x848ea1c) at
.../Python-2.4/Python/ceval.c:2163
#19 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffea24,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#20 0x081f4174 in call_function (pp_stack=0xbfffea24, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#21 0x081f26ba in PyEval_EvalFrame (f=0x848dddc) at
.../Python-2.4/Python/ceval.c:2163
#22 0x081f4611 in fast_function (func=0x0, pp_stack=0xbfffeb54,
n=4, na=1, nk=0) at ../Python-2.4/Python/ceval.c:3629
#23 0x081f4174 in call_function (pp_stack=0xbfffeb54, oparg=1) at
.../Python-2.4/Python/ceval.c:3568
#24 0x081f26ba in PyEval_EvalFrame (f=0x847959c) at
.../Python-2.4/Python/ceval.c:2163
#25 0x081f30fe in PyEval_EvalCodeEx (co=0x402dcca0, globals=0x1,
locals=0x0, args=0x4032e970, argcount=3, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python-2.4/Python/ceval.c:2730
#26 0x0824c8e9 in function_call (func=0x4031ee2c, arg=0x4032e964,
kw=0x0) at ../Python-2.4/Objects/funcobject.c:550
#27 0x081a86c9 in PyObject_Call (func=0x8472c8c, arg=0x1, kw=0x1)
at ../Python-2.4/Objects/abstract.c:1746
#28 0x081f4005 in PyEval_CallObjectWithKeywords (func=0x1,
arg=0x4032e964, kw=0x0) at ../Python-2.4/Python/ceval.c:3419
#29 0x081a8690 in PyObject_CallObject (o=0x1, a=0x1) at
.../Python-2.4/Objects/abstract.c:1737
#30 0x080ce555 in pyGraphResolvePoint (funcIndex=1, sim=0,
field_name=0x825c17c "signal", x=2.2000000000000002,
y=7.2000000000000002, point=0xbfffed38) at pygraph.c:94
#31 0x080c1058 in graphNodeResolvePoint (sim=0, fieldName=0x825c17c
"signal", x=2.2000000000000002, y=7.2000000000000002) at graph.c:57
#32 0x0807a7a6 in fibs_pointEval (sim=0, pointname=0x825c17c
"signal", pos={x = 2.2000000000000002, y = 7.2000000000000002}) at
libfibs.c:386
#33 0x0807b03f in libfibsTest (xmdlpath=0x825bd58 "xmdl.test",
x=2.2000000000000002, y=7.2000000000000002) at libfibs.c:716
#34 0x08079c01 in main () at libfibsTest.c:8
#35 0x40186507 in __libc_start_main (main=0x8079bc8 <main>, argc=1,
ubp_av=0xbfffeeb4, init=0x80789cc <_init>, fini=0x825bd20 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbfffeeac) at
.../sysdeps/generic/libc-start.c:129
(gdb) Quit
(gdb)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top