This applies to debugging a spinning Zope server, but I think you can adapt the suggestions to your core dump:<br><br><a href="http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope">http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope</a><br>
<br>Regards<br>Marco<br><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 10:40 AM, Gelonida <span dir="ltr"><<a href="mailto:gelonida@gmail.com">gelonida@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have a QWebview application, which segfaults rather often,<br>
but not all the time.<br>
<br>
I assume it is some kind of race condition when loading a certain web<br>
page with quite some built in AJax.<br>
<br>
<br>
<br>
How can I debug it?<br>
<br>
The application crashes under Windows and under Linux.<br>
<br>
<br>
I enabled already core dumps and am able to<br>
<br>
start<br>
<br>
gdb python.exe core<br>
<br>
I guess the command "bt"<br>
will be able to give m a backtrace of  the C program<br>
<br>
<br>
Is there any way to obtain the related  backtrace of the python script?<br>
<br>
<br>
I'm at a complete loss of what I am doing wrong in my script and would<br>
hope to get at least some indication.<br>
<font color="#888888"><br>
<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Marco Bizzarri<br><a href="http://code.google.com/p/qt-asterisk/">http://code.google.com/p/qt-asterisk/</a><br><a href="http://notenotturne.blogspot.com/">http://notenotturne.blogspot.com/</a><br>
<a href="http://iliveinpisa.blogspot.com/">http://iliveinpisa.blogspot.com/</a><br>