On 9/14/07, nEO (a.k.a. gentoo.cn) <[EMAIL PROTECTED]> wrote:
> Platform:
>     Win32  PyQt4.3.0-GPL  with Qt-4.3.1-opensource,  Python 2.5
> Symptoms:
>     QTableWiget sort by a long string column, after remove some rows,
> then sort again will deak lock or crashed.  Sometimes can got a msg
> from console:
>     "Qt has caught an exception thrown from an event handler. Throwing
> exceptions from an event handler is not supported in Qt. You must
> reimplement QApplication::notify() and catch all exceptions there."
>
> Test Program:
>    see attachment: testTbw.py
> Usage:
>    run testTbw.py   and click some cell wait a while program will crashed.
>
> Maybe it's caused by a GC problem or TableWidget's model r/w competition.
> Anyone can help me find root cause and how to fix it?

I have excluded Qt's problem. I wrote a C++ version of this test program.
It's run ok.
C++ version test program source is attached as attachments.
run in CMD:
qmake testTbw.pro
make
cd release
twb.exe

And I run python version test program under PyQt4.3 with Qt 4.2.3 in Linux,
It's seem no problem too.

-- 
I'm the one, powered by nEO

Attachment: testTbw.cpp
Description: Binary data

Attachment: testTbw.h
Description: Binary data

Attachment: testTbw.pro
Description: Binary data

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to