Bug 143404 - CRASH when exiting kdevelop / 99% CPU usage when modifying quoted text like function("text")
Summary: CRASH when exiting kdevelop / 99% CPU usage when modifying quoted text like f...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: 3.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 22:14 UTC by Adrian Vlad
Modified: 2008-07-06 20:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Vlad 2007-03-23 22:14:57 UTC
Version:           3.4.0 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

Hello! Let me first congratulate the KDevelop team for creating such a wonderfull app, i'm using it all the time for my php projects. Unfortunately i found an irritating bug (or two for that matter cause they seem related):
1) sometimes when i close kdevelop while a php project is still open it crashes; as i found out this only happens when bug no.2 is "present".
2) the second bug has something to do with code auto-completion or code hinting and it's quite hard to reproduce; when i write something like $this->crypt("some text") (i have a 5000 code lines project) and then try to type some other text in place of "some text" my CPU usage goes to 99% and frezzes a while and it takes forever to delete/modify "some text", sometimes it may crash the program. Here's a backtrace when it crashed

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1241884480 (LWP 8907)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7cc7b5b in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7cc9ecd in free () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7ccb83f in malloc () from /lib/tls/i686/cmov/libc.so.6
#9  0xb74b0ba0 in QGArray::QGArray () from /usr/lib/libqt-mt.so.3
#10 0xb4bf41aa in KateDocument::mimeTypeForContent ()
   from /usr/lib/kde3/libkatepart.so
#11 0xb4bf45d9 in KateFileTypeManager::fileType ()
   from /usr/lib/kde3/libkatepart.so
#12 0xb4bf709f in KateDocument::setDocName ()
   from /usr/lib/kde3/libkatepart.so
#13 0xb4c25268 in KateDocument::closeURL () from /usr/lib/kde3/libkatepart.so
#14 0xb7ee01e7 in MultiBuffer::closeURL () from /usr/lib/libkdevshell.so.0
#15 0xb7ee43dd in PartController::closePart () from /usr/lib/libkdevshell.so.0
#16 0xb7ee4fee in PartController::closeFilesDialog ()
   from /usr/lib/libkdevshell.so.0
#17 0xb7ee51c5 in PartController::closeAllFiles ()
   from /usr/lib/libkdevshell.so.0
#18 0xb7ee2805 in PartController::readyToClose ()
   from /usr/lib/libkdevshell.so.0
#19 0xb7ed41f6 in Core::queryClose () from /usr/lib/libkdevshell.so.0
#20 0xb7ef9b7d in SimpleMainWindow::queryClose ()
   from /usr/lib/libkdevshell.so.0
#21 0xb7b236c7 in KMainWindow::closeEvent () from /usr/lib/libkdeui.so.4
#22 0xb71f3b87 in QWidget::event () from /usr/lib/libqt-mt.so.3
#23 0xb72c9c5e in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#24 0xb7153b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb7156552 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb785cc82 in KApplication::notify () from /usr/lib/libkdecore.so.4
#27 0xb70e6389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#28 0xb71f661d in QWidget::close () from /usr/lib/libqt-mt.so.3
#29 0xb70d29d2 in QETWidget::translateCloseEvent ()
   from /usr/lib/libqt-mt.so.3
#30 0xb70d8493 in QApplication::x11ClientMessage ()
   from /usr/lib/libqt-mt.so.3
#31 0xb70e3a76 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#32 0xb70fa320 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb716e25e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb716e06e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb7155731 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x0804df24 in ?? ()
#37 0xbfd72f18 in ?? ()
#38 0x080e00a0 in ?? ()
#39 0xbfd72ef8 in ?? ()
#40 0x00000001 in ?? ()
#41 0x080523f5 in _IO_stdin_used ()
#42 0x00000001 in ?? ()
#43 0x080524e0 in _IO_stdin_used ()
#44 0x08052499 in _IO_stdin_used ()
#45 0x08051c5c in _IO_stdin_used ()
#46 0x08051c48 in _IO_stdin_used ()
#47 0x08048cfc in ?? ()
#48 0x03df6174 in ?? ()
#49 0x0804b41a in ?? ()
#50 0x08062e60 in ?? ()
#51 0x08051c83 in _IO_stdin_used ()
#52 0x08051c7a in _IO_stdin_used ()
#53 0x08051c74 in _IO_stdin_used ()
#54 0x08052a80 in typeinfo for QGList ()
#55 0x00000001 in ?? ()
#56 0x080524e0 in _IO_stdin_used ()
#57 0x08052499 in _IO_stdin_used ()
#58 0x08051c5c in _IO_stdin_used ()
#59 0x08051c48 in _IO_stdin_used ()
#60 0x08061770 in ?? ()
#61 0x080617a0 in ?? ()
#62 0x00000000 in ?? ()

PS: i'll try to get some screenshots of the second bug in action...BTW i'm using Kubuntu on a P4 3Ghz with 1gb ram...and thanx for reading
Comment 1 Andreas Pakulat 2007-03-23 23:04:11 UTC
Hi, two things

a) the backtrace indicates its rather a kate problem, than a kdevelop problem
b) I suggest to use quanta for php development, the php support in kdevelop is unmaintained and has quite some problems.
Comment 2 Andreas Pakulat 2008-07-06 20:43:55 UTC
wontfix for kdevelop3, no php support shipping with kdevelop4.