[PyKDE] KDE 3 (Was: PyQt QClipboard bugs)

Hans-Peter Jansen hpj at urpla.net
Thu Jun 27 21:48:01 BST 2002


On Thu, 27 Jun 2002 19:49:57 +0100
"Phil Thompson" <phil at river-bank.demon.co.uk> wrote:

> James Grant wrote:
> 
> > On Mon, 24 Jun 2002 07:45, you wrote:
> > 
> >>James,
> >>
> > 
> >>What
> >>platform/compiler are you using where you are having the call to pure
> >>virtual function problem?
> >>
> > Mandrake Linux 8.2 which uses gcc 2.96 of course. Self compiled Python 2.2.1, 
> > Qt 3.0.4 RPMs from ftp.kde.org with change from README.Linux.
> > 
> > Before I was getting segfaults on exit from many PyQt applications, didn't 
> > affect the running or anything. But PyQt has always seemed a bit flakey on 
> > it.
> 
> 
> I've just upgraded to KDE 3.0.1 from KDE 2.2.2 and I'm now getting 
> segfaults on most of the example scripts. Part of the backtrace is below 
> (this is tut1.py). As you can see it is segfaulting in a KDE style plugin.
> 
> One example that still works fine is gears.py.
> 
> Has anybody else seen anything like this with 3.3rc1?
> 
> Phil

Didn't went through the hassle till now (diskless network booting with 
SuSE/KDE has had always surprising effects in the past). 

Would you mind to give us some more details: self compiled? distribution? 
compiler options? I once had strange effects with some alignment options.
This one smells like stack corruption, which could be related to different
compilers involved, couldn't it?

Sorry, just guessing. May be I find the time of going through the hassle
of updating to SuSE 8.0 this weekend.

Hans-Peter

> 
> #0  0x00000000 in ?? ()
> #1  0x409047a3 in __dynamic_cast (from=0,
>      to=0x406ac56c <QPushButton type_info function>, require_public=1,
>      address=0x819ff58, sub=0x406aafc8 <QObject type_info function>,
>      subptr=0x819ff58) at ../../gcc-2.95.2/gcc/cp/tinfo2.cc:282
> #2  0x4101fa62 in HighColorStyle::eventFilter ()
>     from /opt/kde3/lib/kde3/plugins/styles/highcolor.so
> #3  0x40390fa0 in QObject::activate_filters ()
>     from /usr/local/qt3/lib/libqt-mt.so.3
> #4  0x40390e84 in QObject::event () from /usr/local/qt3/lib/libqt-mt.so.3
> #5  0x403bf314 in QWidget::event () from /usr/local/qt3/lib/libqt-mt.so.3
> #6  0x40da040b in sipQPushButton::event ()
>     from /usr/local/lib/python2.2/site-packages/libqtcmodule.so
> #7  0x40339d73 in QApplication::internalNotify ()
>     from /usr/local/qt3/lib/libqt-mt.so.3
> #8  0x40339c14 in QApplication::notify () from 
> /usr/local/qt3/lib/libqt-mt.so.3
> #9  0x40f947bc in sipQApplication::notify ()
>     from /usr/local/lib/python2.2/site-packages/libqtcmodule.so
> #10 0x403be740 in QWidget::show () from /usr/local/qt3/lib/libqt-mt.so.3
> #11 0x40f88d43 in sipDo_QWidget_show ()
> 




More information about the PyQt mailing list