Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-12-05 Thread Ville M. Vainio
On Sun, Oct 18, 2009 at 8:01 PM, Ville M. Vainio vivai...@gmail.com wrote: On Wed, Oct 14, 2009 at 10:55 PM, Ville M. Vainio vivai...@gmail.com wrote: Try also tonight snapshot, Phil wrote that the bug will be fixed. I'm seeing several reports of this same crash, so at least it appears to

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-18 Thread Ville M. Vainio
On Wed, Oct 14, 2009 at 10:55 PM, Ville M. Vainio vivai...@gmail.com wrote: Try also tonight snapshot, Phil wrote that the bug will be fixed. I'm seeing several reports of this same crash, so at least it appears to be systematic. Great that the fix is out. I can confirm that this crash is

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-14 Thread Ville M. Vainio
On Tue, Oct 13, 2009 at 10:25 PM, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, I'm using Debian Sid, and my program crash since the last upgrade. The last upgrade installed PyQt 4.6 with SIP 4.9. May be unrelated, but I also suddenly started getting systematic crashes like this on

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-14 Thread Ville M. Vainio
On Wed, Oct 14, 2009 at 6:58 PM, Victor Stinner victor.stin...@haypocalc.com wrote: Try also tonight snapshot, Phil wrote that the bug will be fixed. I'm seeing several reports of this same crash, so at least it appears to be systematic. Great that the fix is out. Incidentally, is anyone

[PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
Hi, I'm using Debian Sid, and my program crash since the last upgrade. The last upgrade installed PyQt 4.6 with SIP 4.9. The crash is in sip_api_is_py_method(): if cls is not a PyTypeObject*, the dict value is a pointer to something is the memory, but not to a PyDictObject*. Attached patch

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Phil Thompson
On Tue, 13 Oct 2009 21:25:34 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, I'm using Debian Sid, and my program crash since the last upgrade. The last upgrade installed PyQt 4.6 with SIP 4.9. The crash is in sip_api_is_py_method(): if cls is not a PyTypeObject*, the

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
Hi, A friend told me that there are snapshots. So I tested the last snapshot and the sip_api_is_py_method()'s crash is still present. But the other bug (methods redefined in Python) is different: I get an error on the number of arguments. So here is a second patch against the snapshot. It

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Phil Thompson
On Tue, 13 Oct 2009 23:10:32 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, A friend told me that there are snapshots. So I tested the last snapshot and the sip_api_is_py_method()'s crash is still present. But the other bug (methods redefined in Python) is different: I get

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Christian Caron
I get these errors as well, when patching a bound customEvent. On Oct 13, 2009, at 2:35 PM, Phil Thompson wrote: On Tue, 13 Oct 2009 23:10:32 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, A friend told me that there are snapshots. So I tested the last snapshot and the