Re: [PyQt] Segfault with QRawFont

2012-11-11 Thread Phil Thompson
On Sun, 28 Oct 2012 23:12:35 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: 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

Re: [PyQt] Segfault with QRawFont

2012-10-28 Thread Phil Thompson
On Sun, 28 Oct 2012 15:38:59 +0530, Kovid Goyal ko...@kovidgoyal.net 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