debugging segfaults in pythen PyQt (QWebview)

Marco Bizzarri marco.bizzarri at gmail.com
Fri Mar 4 03:53:51 EST 2011


This applies to debugging a spinning Zope server, but I think you can adapt
the suggestions to your core dump:

http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope

Regards
Marco

On Thu, Mar 3, 2011 at 10:40 AM, Gelonida <gelonida at gmail.com> wrote:

> Hi,
>
> I have a QWebview application, which segfaults rather often,
> but not all the time.
>
> I assume it is some kind of race condition when loading a certain web
> page with quite some built in AJax.
>
>
>
> How can I debug it?
>
> The application crashes under Windows and under Linux.
>
>
> I enabled already core dumps and am able to
>
> start
>
> gdb python.exe core
>
> I guess the command "bt"
> will be able to give m a backtrace of  the C program
>
>
> Is there any way to obtain the related  backtrace of the python script?
>
>
> I'm at a complete loss of what I am doing wrong in my script and would
> hope to get at least some indication.
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Marco Bizzarri
http://code.google.com/p/qt-asterisk/
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110304/52537604/attachment-0001.html>


More information about the Python-list mailing list