c++ code completion

Doudou sylvain.joyeux at m4x.org
Mon Feb 18 00:57:03 UTC 2002


Le Dimanche 17 Février 2002 23:52, vous avez écrit :
> i just added a little more
> #if QT_VERSION >=300
> to cppcodecompletion.cpp
>
> now code completion works with QT2
>
> Gustl
>
> ps: simpleparser also needs some #ifdefs

Hello

I tried it and it makes kdevelop crash every time 
codecompletion is activated (with kde 2.2.2 and qt 2.3.1). 
It looks like the crash occurs in KRegExp

Here is the backtrace:
#0  0x41106b79 in wait4 () from /lib/libc.so.6
#1  0x4117f068 in __check_rhosts_file () from /lib/libc.so.6
#2  0x4091d0b8 in KCrash::defaultCrashHandler ()
   from /usr/local/kde/lib/libkdecore.so.3
#3  0x4108f928 in sigaction () from /lib/libc.so.6
#4  0x409260b2 in KRegExpPrivate::match () from 
/usr/local/kde/lib/libkdecore.so.3
#5  0x409262df in KRegExp::match () from 
/usr/local/kde/lib/libkdecore.so.3
#6  0x0808712b in CppCodeCompletion::completeText ()
#7  0x080801d6 in CppCodeCompletion::eventFilter ()
#8  0x40be95c0 in QObject::activate_filters ()
   from /usr/local/kde/lib/libqt.so.2
#9  0x40c32d4f in QWidget::event () from 
/usr/local/kde/lib/libqt.so.2
#10 0x4003c19d in KWriteView::event ()
   from /usr/local/kde/lib/libkdevelopkwrite.so.2
#11 0x40b970f7 in QApplication::notify () from 
/usr/local/kde/lib/libqt.so.2
#12 0x4088bda4 in KApplication::notify ()
   from /usr/local/kde/lib/libkdecore.so.3
#13 0x40b6682a in QETWidget::translateKeyEvent ()
   from /usr/local/kde/lib/libqt.so.2
#14 0x40b62941 in QApplication::x11ProcessEvent ()
   from /usr/local/kde/lib/libqt.so.2
#15 0x40b61adc in QApplication::processNextEvent ()
   from /usr/local/kde/lib/libqt.so.2
#16 0x40b995bf in QApplication::enter_loop ()
   from /usr/local/kde/lib/libqt.so.2
#17 0x40b69033 in QApplication::exec () from 
/usr/local/kde/lib/libqt.so.2
#18 0x081113ef in main ()
#19 0x4107f6cf in __libc_start_main () from /lib/libc.so.6
-- 
Doudou (5921 / 122025)




More information about the KDevelop-devel mailing list