Bug 39105 - kdevelop crashes when C++ code completion popup closes
Summary: kdevelop crashes when C++ code completion popup closes
Status: CLOSED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-08 13:18 UTC by D Kamenopoulos
Modified: 2008-01-16 12:14 UTC (History)
1 user (show)

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 D Kamenopoulos 2002-03-08 13:14:07 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           KDE 2.9.2 CVS/CVSup/Snapshot
Severity:          normal
Installed from:    Compiled sources
Compiler:          Not Specified
OS:                Not Specified
OS/Compiler notes: Not Specified

Code completion works fine for C++ (latest CVS) apart from the fact that every time the popup with suggested completions closes KDevelop crashes. It doesn't matter how the popup is closed. I can click on a possible completion press space or even type the whole completion myself. The result is always the same. Here is a backtrace:

[New Thread 1024 (LWP 6432)]
0x41497289 in wait4 () from /lib/libc.so.6
#0  0x41497289 in wait4 () from /lib/libc.so.6
#1  0x41505828 in __DTOR_END__ () from /lib/libc.so.6
#2  0x4133c237 in waitpid () from /lib/libpthread.so.0
#3  0x40b0672c in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x41339dbd in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x417b73ce in CppSupportWidget::setCHText (this=0x0 text=@0xbfffe7b8)
    at cppsupportwidget.cpp:32
#7  0x417cd8e2 in CppCodeCompletion::slotCompletionBoxHided (this=0x81f45e8)
    at cppcodecompletion.cpp:158
#8  0x417e100c in CppCodeCompletion::qt_invoke (this=0x81f45e8 _id=8 
    _o=0xbfffe858) at cppcodecompletion.moc:128
#9  0x40df8184 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40df80c2 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x41666069 in CodeCompletionDocumentIfaceImpl::completionAborted (
    this=0x84ab298) at codecompletion_iface_impl.moc.cpp:93
#12 0x416578d6 in CodeCompletionDocumentIfaceImpl::eventFilter (
    this=0x84ab298 o=0x84ab818 e=0xbfffebac)
    at codecompletion_iface_impl.cpp:158
#13 0x40df6d58 in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40df6c1b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40e23f85 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40da2173 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40da2004 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40a64ae5 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#19 0x40e220ac in QWidget::setFocus () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40d534f8 in QApplication::closePopup ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40e2348e in QWidget::hide () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x41658545 in CodeCompletionDocumentIfaceImpl::updateBox (this=0x84ab298 
    newCoordinate=false) at codecompletion_iface_impl.cpp:187
#23 0x416578a9 in CodeCompletionDocumentIfaceImpl::eventFilter (
    this=0x84ab298 o=0x84ab818 e=0xbffff100)
    at codecompletion_iface_impl.cpp:152
#24 0x40df6d58 in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40df6c1b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40e23f85 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40da2173 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40da1950 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40a64ae5 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#30 0x40d56c42 in QETWidget::translateKeyEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40d52557 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40d51396 in QApplication::processNextEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40da3621 in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40d512fb in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x8053ce6 in main (argc=7 argv=0xbffff6ec) at main.cpp:56
#36 0x4140ac6f in __libc_start_main () from /lib/libc.so.6


(Submitted via bugs.kde.org)
Comment 1 Harald Fernengel 2002-03-10 16:14:47 UTC
Hi

this bug is fixed in current CVS thanks for reporting.

Best regards
Harry