Re: [firebird-python] segfault in fdb driver
Dne 26.2.2013 22:57, mariuz napsal(a): > apt-get install python2.7-dbg > apt-get install libfbclient2-dbg > > and then i migrated from mezzanine 1.3 to 1.4.2 latest > django 1.5 > fdb latest > django-firebird latest > > here is the stacktrace > https://gist.github.com/mariuz/5042602 I meant stack trace from Python, not gdb :) anyway, this helps a bit. Now we know it's about failing fetch operation (in firebird source ../src/remote/interface.cpp:1899) in context of add_field_threadedcomment_rating_count migration step. Could you please check what the migration app does in this step? What calls and data are sent to fdb ? I would be difficult for me to reproduce, as I don't use Ubuntu/Debian, neither django & mezzanine. Pavel Cisar IBPhoenix
Re: [firebird-python] segfault in fdb driver
On Tue, Feb 26, 2013 at 06:10:38PM +0100, Pavel Cisar wrote: > > > Dne 26.2.2013 11:36, mariuz napsal(a): > > Long story short when i do a migration with south in django 1.5 i get > > a segfault > > > > python2.7[16781]: segfault at 0 ip 7fc33e049d95 sp > > 7fff02447070 error 4 in libfbclient.so.2.5.2[7fc33dff5000+c] > > > > Any tips on howto debug it ? > > > > Here is the full disscussion and i can show howto reproduce it > > > > https://groups.google.com/d/msg/django-firebird-dev/AP14csAqCtI/ok7kTeWb-u4J > > It could be bug in FB, ctypes, fdb or even django (sending something > illegal). To nail it down I would need to know what command/call to FDB > raises that, and what parameters were passed. At least, Python stack > trace is necessary, as segfault in firebird client library is helpful as > output from dev/null. apt-get install python2.7-dbg apt-get install libfbclient2-dbg and then i migrated from mezzanine 1.3 to 1.4.2 latest django 1.5 fdb latest django-firebird latest here is the stacktrace https://gist.github.com/mariuz/5042602 > > regards > Pavel Cisar > IBPhoenix
Re: [firebird-python] segfault in fdb driver
Dne 26.2.2013 11:36, mariuz napsal(a): > Long story short when i do a migration with south in django 1.5 i get > a segfault > > python2.7[16781]: segfault at 0 ip 7fc33e049d95 sp > 7fff02447070 error 4 in libfbclient.so.2.5.2[7fc33dff5000+c] > > Any tips on howto debug it ? > > Here is the full disscussion and i can show howto reproduce it > > https://groups.google.com/d/msg/django-firebird-dev/AP14csAqCtI/ok7kTeWb-u4J It could be bug in FB, ctypes, fdb or even django (sending something illegal). To nail it down I would need to know what command/call to FDB raises that, and what parameters were passed. At least, Python stack trace is necessary, as segfault in firebird client library is helpful as output from dev/null. regards Pavel Cisar IBPhoenix