473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ceval.c no such file or dir and SIGSEGV

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)

Apr 5 '06 #1
0 1473

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dieter Maurer | last post by:
Python 2.3.3, Linux 2.4.x: It looks as if a SIGSEGV in a thread of a multi threaded application does not kill the complete process under some circumstances but only one thread (unrelated to the...
0
by: Paffko | last post by:
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario? There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle...
7
by: USUN_TO | last post by:
Hi, i got problem when i bind in this way: local_addr.sin_family = AF_INET; local_addr.sin_addr.s_addr = inet_addr("127.0.0.1"); local_addr.sin_port = htons(CLIENT_PORT); i can easly bind...
4
by: junky_fellow | last post by:
what is the difference between signals SIGBUS and SIGSEGV ? when does an application program receive SIGBUS and in which cases SIGSEGV ? thanx in advance for any help ...
13
by: vashwath | last post by:
Hi all, In my current project I am using signals for error handling. Since I cannot show full code, I have just shown important piece of code which is relevant. void sigsegenv() {...
5
by: Joakim Hove | last post by:
Hello, in my application I have a typedefed struct: typedef struct { double d1; int i1; /* I have simplified the object here. */ } data_ptr_type;
24
by: Bill | last post by:
Hello, I'm trying to output buffer content to a file. I either get an access violation error, or crazy looking output in the file depending on which method I use to write the file. Can anyone...
1
by: krazedkid | last post by:
I am trying to get my code to handle SIGSEGV multiple times, it will handle one of them but then nothing else. void sigHandler( int signum ) { if ( signum == SIGSEGV ) { printf("got a...
2
by: Berthold =?iso-8859-15?Q?H=F6llmann?= | last post by:
I have a problem with my debug Python 2.5.2 executable with Py_REF_DEBUG and Py_TRACE_REFS set. With one of my scripts I get: .... Fatal Python error: Python/ceval.c:947 object at 0x2aa3f4d840...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.