Add files twice bug

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Fri Feb 21 16:55:06 UTC 2003


Hi!

Goto automake manager, select a target in one of your subprojects.
Select add existing files...
On the dialog box, if you type *.cpp ; *.h in the filters section that 
doesn't get evaluated.
But if you select *.cpp from the pull down menu that works fine.
Then you can click "Add all"
But because you also want the header files you'll select *.h from the 
pull down menu.
Next click "add all" to also add the .h files, KABUMMMMM, that's when 
the SEGFAULT happends.

Here's the backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 32534)]
0x405adf25 in KFileIconView::nextItem () from /opt/kde3/lib/libkio.so.4
(gdb) backtrace
#0  0x405adf25 in KFileIconView::nextItem () from /opt/kde3/lib/libkio.so.4
#1  0x405ab14d in KFileView::items () from /opt/kde3/lib/libkio.so.4
#2  0x41f38845 in AddExistingFilesDialog::importItems (this=0xbfffe838) 
at addexistingfilesdlg.cpp:138
#3  0x41f39bcf in AddExistingFilesDialog::slotAddAll (this=0xbfffe838) 
at addexistingfilesdlg.cpp:342
#4  0x41f3a679 in AddExistingFilesDialog::qt_invoke (this=0xbfffe838, 
_id=52, _o=0xbfffe188) at addexistingfilesdlg.moc:96
#5  0x40c79b74 in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#6  0x40c79aae in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#7  0x40eda24c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x40cdf604 in QButton::mouseReleaseEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#9  0x40ca3a66 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40c2e8da in QApplication::internalNotify () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40c2e14e in QApplication::notify () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#12 0x408dce6b in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#13 0x40bdca7b in QETWidget::translateMouseEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40bdacd9 in QApplication::x11ProcessEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40bead3a in QEventLoop::processEvents () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40c3ec80 in QEventLoop::enterLoop () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40c2eac6 in QApplication::enter_loop () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40d98f29 in QDialog::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x41f1406f in AutoProjectWidget::slotAddExistingFile 
(this=0x84506b8) at autoprojectwidget.cpp:900
#20 0x41f19119 in AutoProjectWidget::qt_invoke (this=0x84506b8, _id=59, 
_o=0xbfffea08) at autoprojectwidget.moc:153
#21 0x40c79b74 in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40c79aae in QObject::activate_signal () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40eda24c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40cdf604 in QButton::mouseReleaseEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40ca3a66 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40c2e8da in QApplication::internalNotify () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40c2e14e in QApplication::notify () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#28 0x408dce6b in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#29 0x40bdca7b in QETWidget::translateMouseEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40bdacd9 in QApplication::x11ProcessEvent () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40bead3a in QEventLoop::processEvents () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40c3ec80 in QEventLoop::enterLoop () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40c3ebc7 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40c2ea56 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x08068de3 in main (argc=1, argv=0xbffff234) at main.cpp:78
#36 0x4123a9ed in __libc_start_main () from /lib/libc.so.6

-- 
Amilcar Lucas

---------------------------------------------------------------------------
             Institut fuer Datentechnik und Kommunikationsnetze
               Technische Universitaet Braunschweig, Germany      

Amilcar do Carmo Lucas                  Tel. : +49 531 391 3751
Raum 1315                               Fax  : +49 531 391 3750
Hans-Sommer Str. 66                     Email: amilcar at ida.ing.tu-bs.de
D-38106 Braunschweig
           http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml
---------------------------------------------------------------------------







More information about the KDevelop-devel mailing list