crash while adding a slot

Pau Estalella Fernandez pau.estalella at upcnet.upc.es
Mon Oct 18 02:08:14 BST 1999


Try to add an slot to this and KDevelop will crash. Ok, its incomplete
and unparsable,
but it should not crash!

class Filter {
public:
 Filter();
 ~Filter();
  QImage *
};

My KDevelop version is a quite recent (a few days ago) CVS update.
Here is the core dump backtrace:

GDB 4.15.1 (i486-linux), Copyright 1995 Free Software Foundation, Inc...

Core was generated by `kdevelop -caption KDevelop 1.0 Beta 3 -icon
kdevelop.xpm
-miniicon kdevelop.xpm'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: I/O error

#0  0x809cc03 in CEditWidget::getLinePos () at ceditwidget.cpp:316
316         if( buf[ pos ] == '\n' )
(gdb) where
#0  0x809cc03 in CEditWidget::getLinePos () at ceditwidget.cpp:316
#1  0x809ca53 in CEditWidget::insertAtLine () at ceditwidget.cpp:260
#2  0x80a157c in CKDevelop::slotCVAddMethod () at
ckdevelop_classview.cpp:274
#3  0x80a10ed in CKDevelop::slotCVAddMethod () at
ckdevelop_classview.cpp:158
#4  0x40118ff7 in __ti15CClassWizardDlg ()
#5  0x811b2b2 in CClassView::signalAddMethod () at
cclassview.moc.cpp:342
#6  0x809b5f3 in CClassView::slotMethodNew () at cclassview.cpp:965
#7  0x401189f4 in __ti15CClassWizardDlg ()
#8  0x4016f157 in __ti15CClassWizardDlg ()
#9  0x4012ac8a in __ti15CClassWizardDlg ()
#10 0x400f7178 in __ti15CClassWizardDlg ()
#11 0x40191a07 in __ti15CClassWizardDlg ()
#12 0x4018fd1e in __ti15CClassWizardDlg ()
#13 0x4018f898 in __ti15CClassWizardDlg ()
#14 0x401905ae in __ti15CClassWizardDlg ()
#15 0x4018f821 in __ti15CClassWizardDlg ()
#16 0x80783a4 in QArrayT<char>::detach (this=0x1) at main.cpp:82






More information about the KDevelop mailing list