Skip site navigation (1) Skip section navigation (2)

backtrace in 2.4.2

From: David Butler <dave(at)croepha(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: backtrace in 2.4.2
Date: 2011-08-22 14:53:03
Message-ID: CANm61je62aj9k8wK=9WDan61k+6Tr7CT6x30Xh1e5eeLxCnj-g@mail.gmail.com (view raw or flat)
Thread:
Lists: psycopg
I have been trying to figure out why my program keeps crashing, It can take
several hours before I can duplicate this problem.  The issue seems to have
something to do with psycopg.... here is the stack trace I got with gdb:

#0  0xb7f36a37 in PyErr_Occurred () from /usr/lib/libpython2.7.so.1.0
#1  0xb5777613 in ?? () from
/usr/lib/python2.7/site-packages/psycopg2/_psycopg.so
#2  0xb5777d0f in ?? () from
/usr/lib/python2.7/site-packages/psycopg2/_psycopg.so
#3  0xb5777d9f in ?? () from
/usr/lib/python2.7/site-packages/psycopg2/_psycopg.so
#4  0xb577e63a in ?? () from
/usr/lib/python2.7/site-packages/psycopg2/_psycopg.so
#5  0xb577ed04 in ?? () from
/usr/lib/python2.7/site-packages/psycopg2/_psycopg.so
#6  0xb7eceec8 in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
#7  0xb7f2c871 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#8  0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#9  0xb7f2c4b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#10 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#11 0xb7f2c4b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#12 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#13 0xb7f2c4b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#14 0xb7eadef7 in ?? () from /usr/lib/libpython2.7.so.1.0
#15 0xb7f286c1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#16 0xb7eadef7 in ?? () from /usr/lib/libpython2.7.so.1.0
#17 0xb7ee8861 in ?? () from /usr/lib/libpython2.7.so.1.0
#18 0xb7ea8835 in ?? () from /usr/lib/libpython2.7.so.1.0
#19 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#20 0xb7f2c116 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#21 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#22 0xb7f2c4b8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#23 0xb7eadef7 in ?? () from /usr/lib/libpython2.7.so.1.0
#24 0xb7f286c1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#25 0xb7f2daaf in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#26 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#27 0xb7eb9a9e in ?? () from /usr/lib/libpython2.7.so.1.0
#28 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#29 0xb7f2b394 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#30 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#31 0xb7eb9a9e in ?? () from /usr/lib/libpython2.7.so.1.0
#32 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#33 0xb7f2b394 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#34 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#35 0xb7eb9a9e in ?? () from /usr/lib/libpython2.7.so.1.0
#36 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#37 0xb7f2b394 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#38 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#39 0xb7eb9a9e in ?? () from /usr/lib/libpython2.7.so.1.0
#40 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#41 0xb7f2b394 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#42 0xb7f2daaf in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#43 0xb7f2daaf in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#44 0xb7f2e313 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#45 0xb7eb99b7 in ?? () from /usr/lib/libpython2.7.so.1.0
#46 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#47 0xb7ea2869 in ?? () from /usr/lib/libpython2.7.so.1.0
#48 0xb7e8ed4c in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#49 0xb7f26f44 in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.7.so.1.0
#50 0xb7f5d9a2 in ?? () from /usr/lib/libpython2.7.so.1.0
#51 0xb7e50cf2 in start_thread () from /lib/libpthread.so.0
#52 0xb7dbf84e in clone () from /lib/libc.so.6


I am not very knowledgeable about binaries and such, what should I do to get
more usefull information?
python 2.7.1
2.6.37-gentoo-r4 #4 SMP Thu Jun 2 06:59:54 Local time zone must be set--see
zic m i686 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux


This is purely speculation, but I think it has something to do with
connecting again, after a connection dies because of a time out...

Thanks, any ideas, questions or comments are welcome

--Dave Butler

Responses

psycopg by date

Next:From: Daniele VarrazzoDate: 2011-08-22 15:40:06
Subject: Re: backtrace in 2.4.2
Previous:From: IanDate: 2011-08-19 16:35:33
Subject: Re: Reading binary data from Postgres 9

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group