Bug report.

Pau Estalella pau.estalella at upcnet.upc.es
Thu Dec 9 09:48:51 GMT 1999


Adding slot to an incomplete class still dumps core in 1.0!

(gdb) where
#0  0x8099dab in CEditWidget::getLinePos (this=0x830c540,
    buf=0x83f21d8 "/", '*' <repeats 75 times>, "\n", ' ' <repeats 26
times>, "prova.h  -  description\n", ' ' <repeats 29 times>, '-'
<repeats 19 times>, "\n    begin", ' ' <repeats 15 times>...,
aLine=4294967295) at ceditwidget.cpp:316
#1  0x8099c27 in CEditWidget::insertAtLine (this=0x830c540,
    toInsert=0x83e7660 "public slots: // Public slots\n  /**  */\n  void
sadas();\n", atLine=4294967295) at ceditwidget.cpp:260
#2  0x809e7f2 in CKDevelop::slotCVAddMethod (this=0x82f47e0,
    aClassName=0x83be850 "prova", aMethod=0x83f2118)
    at ckdevelop_classview.cpp:302
#3  0x809e1fe in CKDevelop::slotCVAddMethod (this=0x82f47e0,
    aClassName=0x83be850 "prova") at ckdevelop_classview.cpp:183
#4  0x40115ff7 in QObject::activate_signal ()
#5  0x8113252 in CClassView::signalAddMethod (this=0x82fed68,
    t0=0x83be850 "prova") at cclassview.moc.cpp:403
#6  0x80985c4 in CClassView::slotMethodNew (this=0x82fed68)
    at cclassview.cpp:994
#7  0x401159f4 in QObject::activate_signal ()
#8  0x4016c157 in QPopupMenu::mouseReleaseEvent ()
#9  0x40127c8a in QWidget::event ()
#10 0x400f4178 in QApplication::notify ()
#11 0x4018ea07 in QETWidget::translateMouseEvent ()
#12 0x4018cd1e in QApplication::x11ProcessEvent ()
#13 0x4018c898 in QApplication::processNextEvent ()
#14 0x4018d5ae in QApplication::enter_loop ()
#15 0x4018c821 in QApplication::exec ()
#16 0x8077335 in main (argc=1, argv=0xbffffc34) at main.cpp:91
#17 0x40619cb3 in __libc_start_main (main=0x8076c70 <main>, argc=7,
    argv=0xbffffc34, init=0x805f130 <_init>, fini=0x81f0e04 <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc2c)
    at ../sysdeps/generic/libc-start.c:78

Pau Estalella.





More information about the KDevelop mailing list