Re: [PyQt] Segfault with QRawFont

2012-10-28 Thread Kovid Goyal
Blanket not calling dtors would be problematic, there's no way to be sure what side effects that would have. One solution would be to specialize the dealloc function for QRawFont objects to check if the application is exiting and abort. Another might be to register a cleanup function using the at

Re: [PyQt] Specifying Include Directories for PyQt Build

2012-10-28 Thread Phil Thompson
On Sun, 21 Oct 2012 00:57:27 -0400, Scott Kitterman wrote: > On Saturday, October 20, 2012 10:42:07 PM Scott Kitterman wrote: >> On Saturday, October 20, 2012 08:44:25 PM Scott Kitterman wrote: >> > Starting with python3.3, python will support multiarch [1] in Debian >> > and >> > Ubuntu. As part

Re: [PyQt] Segfault with QRawFont

2012-10-28 Thread Phil Thompson
On Sun, 28 Oct 2012 15:38:59 +0530, Kovid Goyal wrote: > The backtrace is below. Looks to me like the QRawFont object is being > released after Qt has already released the FreeType library, leading to > the segfault. The workaround is to ensure that all QRawFont objects are > deleted before Py_Fin

Re: [PyQt] Segfault with QRawFont

2012-10-28 Thread Kovid Goyal
The backtrace is below. Looks to me like the QRawFont object is being released after Qt has already released the FreeType library, leading to the segfault. The workaround is to ensure that all QRawFont objects are deleted before Py_Finalize() is called. I dont know if there is more elegant way to f