Version: (using KDE KDE 3.4.90) Installed from: Gentoo Packages With Kdevelop 3.2.91: I'm doing PHP, and whenever I type a certain thing, Kdevelop freezes. I'm just typing inside a text string, but my guess is that the freeze has something to do with a parser or a tooltip or something like that. Here's what gdb says (dunno if you can use it): kdevelop (php support): checkForVariable kdevelop (php support): checkForStaticFunction kdevelop (php support): checkForGlobalFunction('XS,32 kdevelop (php support): getFunctionsAndVars kdevelop (php support): checkForNew kdevelop (php support): checkForExtends kdevelop (gcc options): PHPErrorView::removeAllProblems()XXXERASEDBYMEXXX kdevelop (php support): AddVariable show menu kdevelop (php support): AddVariable show tmp kdevelop (php support): AddVariable show act kdevelop (php support): AddVariable show tmp kdevelop (php support): ParseReturn value $menu kdevelop (php support): AddVariable _menuEntry tmp kdevelop (php support): AddVariable _menuEntry action kdevelop (php support): ParseReturn value $tmp kdevelop (php support): phpSupportPart::customEvent(2001) kdevelop (php support): addedSourceInfo( XXXERASEDBYMEXXX ) i = 3, currDir = , currFile = trunk i = 4, currDir = , currFile = forms i = 5, currDir = , currFile = kdevelop (class view): [void Navigator::addFile(const QString&)] kdevelop (class view): [void Navigator::addFile(const QString&)] processing active file kdevelop (class view): [void Navigator::refreshNavBars(const QString&, bool)] kdevelop (class view): [void Navigator::refreshNavBars(const QString&, bool)] leave list: (_menuEntry,menu,show) kdevelop (class view): [void Navigator::refreshNavBars(const QString&, bool)] leave list: () Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208235840 (LWP 9982)] 0x4a87ecdf in malloc_consolidate () from /lib/libc.so.6 (gdb) bt #0 0x4a87ecdf in malloc_consolidate () from /lib/libc.so.6 #1 0x4a87e3e1 in _int_malloc () from /lib/libc.so.6 #2 0x4a87d652 in malloc () from /lib/libc.so.6 #3 0x47b0d4ef in QTextEngine (this=0xbfbf3de0, str=@0xbfbf3e60, f=0x8f57fb0) at qtextengine.cpp:873 #4 0x479a7a89 in QPainter::drawText (this=0xbfbf4220, x=72, y=14, str=@0x907e100, pos=0, len=59, dir=Auto) at qpainter_x11.cpp:3033 #5 0xb6eef1f7 in KateRenderer::paintTextLine (this=0x90517f0, paint=@0xbfbf4220, range=0x3c, xStart=0, xEnd=1150, cursor=0x90cf118, bracketmark=0x0) at katerenderer.cpp:637 #6 0xb6ed43ad in KateViewInternal::paintText (this=0x90cf048, x=0, y=0, width=1150, height=1026, paintOnlyDirty=true) at kateviewinternal.cpp:792 #7 0xb6ed3750 in KateViewInternal::updateView (this=0x90cf048, changed=true, viewLinesScrolled=0) at kateviewinternal.cpp:751 #8 0xb6edd6d8 in KateViewInternal::editEnd (this=0x90cf048, editTagLineStart=151843096, editTagLineEnd=21, tagFrom=false) at kateviewinternal.cpp:3208 #9 0xb6ebbc6d in KateView::editEnd (this=0x65007300, editTagLineStart=1694528256, editTagLineEnd=1694528256) at kateview.cpp:1269 #10 0xb6e8bcb8 in KateDocument::editEnd (this=0x82496c0) at katedocument.cpp:1023 #11 0xb6e92910 in KateDocument::typeChars (this=0x82496c0, view=0x90db010, chars=@0xbfbf47d0) at katedocument.cpp:2895 #12 0xb6edb2ee in KateViewInternal::keyPressEvent (this=0x90cf048, e=0xbfbf4dc0) at kateviewinternal.cpp:2592 #13 0xb6eda911 in KateViewInternal::eventFilter (this=0x90cf048, obj=0x90cf048, e=0xbfbf4dc0) at kateviewinternal.cpp:2432 #14 0x47a6083a in QObject::activate_filters (this=0x90cf048, e=0xbfbf4dc0) at qobject.cpp:902 #15 0x47a606b7 in QObject::event (this=0x90cf048, e=0xbfbf4dc0) at qobject.cpp:735 #16 0x47aa68c3 in QWidget::event (this=0x90cf048, e=0xbfbf4dc0) at qwidget.cpp:4658 #17 0x479f30a5 in QApplication::internalNotify (this=0xbfbf5300, receiver=0x90cf048, ---Type <return> to continue, or q <return> to quit--- e=0xbfbf4dc0) at qapplication.cpp:2635 #18 0x479f2440 in QApplication::notify (this=0xbfbf5300, receiver=0x90cf048, e=0xbfbf4dc0) at qapplication.cpp:2392 #19 0x4818e557 in KApplication::notify (this=0xbfbf5300, receiver=0x90cf048, event=0xbfbf4dc0) at kapplication.cpp:550 #20 0x4797963e in QApplication::sendSpontaneousEvent (receiver=0x90cf048, event=0xbfbf4dc0) at qapplication.h:494 #21 0x47973ab0 in QETWidget::translateKeyEvent (this=0x90cf048, event=0xbfbf5130, grab=false) at qapplication_x11.cpp:5491 #22 0x4796eeff in QApplication::x11ProcessEvent (this=0xbfbf5300, event=0xbfbf5130) at qapplication_x11.cpp:3482 #23 0x4798cbc5 in QEventLoop::processEvents (this=0x8175ed0, flags=4) at qeventloop_x11.cpp:192 #24 0x47a0a649 in QEventLoop::enterLoop (this=0x8175ed0) at qeventloop.cpp:198 #25 0x47a0a562 in QEventLoop::exec (this=0x8175ed0) at qeventloop.cpp:145 #26 0x479f3247 in QApplication::exec (this=0xbfbf5300) at qapplication.cpp:2758 #27 0x0804ebc2 in main (argc=1694528256, argv=0x65007300) at main.cpp:145 (gdb)
It turned out to be the PHP realtime parser. When I turn that off (I never actually noticed what it did...), the above crash doesn't occur.
Unreproducable with in 3.4
KDevelop Release 3.5.3 I had crashes where the kdevelop window closes unexpectedly during typing. After a while I remembered having enable the php realtime parser under project settings. This proved to be the problem: have not had any more crashes since I have disabled it. BTW: I had the setting enabled without having set the PHP & Include path just above the setting.