Call to PyEval_EvalCodeEx crashes in PyFrame_New with abort

G

grbgooglefan

I've emabedded Python(2.6) in my C++ application and using on Solaris
5.10.
When the application calls Py_Eval, it causes an abort & application
core dumps. But this is at random times & no pattern for this. Crash
is as below:

Can you please help to know, what can cause this abort in PyFrame_New?

fd7c642c _lwp_kill (6, 0, fd7f3018, fd7a8df8, ffffffff, 6) + 8
fd741198 abort (fe523660, 1, 35a7c4, ad260, fd7f12d8, 0) + 110
fe4d869c PyFrame_New (9d1668, 4621140, 9ecc00, fffffffd, 4621150, 4)
+ 328
fe48b654 PyEval_EvalCodeEx (9e07a0, 9ecc00, 0, 4815dac, 3, fe543800)
+ 2c
fe4d9f5c function_call (9e0770, 4815da0, 0, 0, 4815d90, 0) + 1ac
fe4c9054 PyObject_Call (9e0770, 4815da0, 0, fe54f784, fffffffe, 2) +
1c
fe48d2dc PyEval_CallObjectWithKeywords (9e0770, 4815da0, 0, 0,
4815da0, 9e0770) + f0
fe4aebf0 Py_Eval (9e0770, 4815da0, 0, 3, 3c, fe5395a4) + 94
 
A

Aahz

[posted and e-mailed]

I've emabedded Python(2.6) in my C++ application and using on Solaris
5.10. When the application calls Py_Eval, it causes an abort &
application core dumps. But this is at random times & no pattern for
this.

Given the lack of response, I suggest asking on the capi-sig. The
likeliest problem is some kind of refcount error when the embedded code
calls back into your application. Do you ever get problems when you use
pure Python code?
--
Aahz ([email protected]) <*> http://www.pythoncraft.com/

"...string iteration isn't about treating strings as sequences of strings,
it's about treating strings as sequences of characters. The fact that
characters are also strings is the reason we have problems, but characters
are strings for other good reasons." --Aahz
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top