[PyQt] python.exe stops responding after closing application

Phil Thompson phil at riverbankcomputing.com
Tue Dec 29 12:14:08 GMT 2009


On Tue, 29 Dec 2009 00:14:14 +0200, Romi Agar <post at romi.ee> wrote:
> Hi
> 
> I'm running Win 7 x64, Python 2.6.4rc2, PyQt 4.7-snapshot-20091223 (but
the
> problem was also with 4.6.2) and SIP 4.10-snapshot-20091223 and I'm
having
> some trouble using PyQt4 API Version 2.
> The application runs fine until I close it. Then python.exe always stops
> responding. If I remove the API Ver 2 declarations, the problem does not
> occur.
> I have attached a simple python script (test.py) that causes the problem
on
> my machine.
> 
> Windows EventViewer reports:
> Faulting application name: python.exe, version: 0.0.0.0, time stamp:
> 0x4adb7dd8
> Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp:
> 0x4a5bdb3b
> Exception code: 0xc0000005
> Fault offset: 0x0002e29b
> Faulting process id: 0x2d8c
> Faulting application start time: 0x01ca8809eb77b594
> Faulting application path: C:\Python26\python.exe
> Faulting module path: C:\Windows\SysWOW64\ntdll.dll
> Report Id: 2a1f2e8a-f3fd-11de-93fb-defacedbabe5
> 
> I really like the version 2 API, but this crashing of python.exe every
time
> I close my app is really annoying.

Difficult to reproduce consistently but there is a memory corruption bug
in the implementation of sip.setapi() fixed in tonight's snapshot -
hopefully that's it.

Phil


More information about the PyQt mailing list