[PyQt] Debugging segfault in PyQt application?

Giuseppe Corbelli giuseppe.corbelli at copanitalia.com
Mon Dec 23 08:33:31 GMT 2013


On 20/12/2013 22:02, Jason Tiller wrote:
> Hi, all,
>
> I collaborate on a complex PyQt application.  We're experiencing
> segfaults that arise from QtCore, but I'm stumped as to how to drill
> down into the coredump and get useful information from the backtrace.
> Anybody have any suggestions as to a useful approach for debugging
> segfaults in PyQt applications?  We can currently cause the issue
> (fairly) reliably every 20 minutes or so with manual button mashing.

The core dump (as Phil said with debugging symbols) is useful to look at the 
C++ side. If you want a starting point from the Python side have a look at
https://pypi.python.org/pypi/faulthandler/

-- 
             Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318  Fax: +390302659932
E-mail: giuseppe.corbelli at copanitalia.com


More information about the PyQt mailing list