Running c++ on Kubuntu Fiesty Fawn, with gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4).
c++ crashes while processes the file, saying "c++: Internal error: Killed (program cc1plus)" The command is: /usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-check-new -fno-common -O3 -DNDEBUG -I/home/kde-devel/kde/build/kdesupport/qca/unittest/cipherunittest -I/home/kde-devel/kde/src/kdesupport/qca/unittest/cipherunittest -I/home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto -I/home/kde-devel/qt-copy/include -I/home/kde-devel/qt-copy/include/Qt -I/home/kde-devel/qt-copy/mkspecs/default -I/home/kde-devel/qt-copy/include/QtCore -I/home/kde-devel/qt-copy/include/QtGui -I/home/kde-devel/qt-copy/include/Qt3Support -I/home/kde-devel/qt-copy/include/QtAssistant -I/home/kde-devel/qt-copy/include/QtDesigner -I/home/kde-devel/qt-copy/include/QtNetwork -I/home/kde-devel/qt-copy/include/QtOpenGL -I/home/kde-devel/qt-copy/include/QtSql -I/home/kde-devel/qt-copy/include/QtXml -I/home/kde-devel/qt-copy/include/QtSvg -I/home/kde-devel/qt-copy/include/QtUiTools -I/home/kde-devel/qt-copy/include/QtTest -D_BSD_SOURCE -DQCA_SYSTEMSTORE_PATH="\"/etc/ssl/certs/ca-certificates.crt\"" -o qca/unittest/cipherunittest/CMakeFiles/cipherunittest.dir/cipherunittest.o -c /home/kde-devel/kde/src/kdesupport/qca/unittest/cipherunittest/cipherunittest.cpp The debug messages when running with "-v -save-temps" is: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1plus -E -quiet -v -I/home/kde-devel/kde/build/kdesupport/qca/unittest/cipherunittest -I/home/kde-devel/kde/src/kdesupport/qca/unittest/cipherunittest -I/home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto -I/home/kde-devel/qt-copy/include -I/home/kde-devel/qt-copy/include/Qt -I/home/kde-devel/qt-copy/mkspecs/default -I/home/kde-devel/qt-copy/include/QtCore -I/home/kde-devel/qt-copy/include/QtGui -I/home/kde-devel/qt-copy/include/Qt3Support -I/home/kde-devel/qt-copy/include/QtAssistant -I/home/kde-devel/qt-copy/include/QtDesigner -I/home/kde-devel/qt-copy/include/QtNetwork -I/home/kde-devel/qt-copy/include/QtOpenGL -I/home/kde-devel/qt-copy/include/QtSql -I/home/kde-devel/qt-copy/include/QtXml -I/home/kde-devel/qt-copy/include/QtSvg -I/home/kde-devel/qt-copy/include/QtUiTools -I/home/kde-devel/qt-copy/include/QtTest -D_GNU_SOURCE -DNDEBUG -D_BSD_SOURCE -DQCA_SYSTEMSTORE_PATH="/etc/ssl/certs/ca-certificates.crt" /home/kde-devel/kde/src/kdesupport/qca/unittest/cipherunittest/cipherunittest.cpp -mtune=generic -ansi -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-check-new -fno-common -O3 -fpch-preprocess -o cipherunittest.ii ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: /home/kde-devel/kde/build/kdesupport/qca/unittest/cipherunittest /home/kde-devel/kde/src/kdesupport/qca/unittest/cipherunittest /home/kde-devel/kde/src/kdesupport/qca/include/QtCrypto /home/kde-devel/qt-copy/include /home/kde-devel/qt-copy/include/Qt /home/kde-devel/qt-copy/mkspecs/default /home/kde-devel/qt-copy/include/QtCore /home/kde-devel/qt-copy/include/QtGui /home/kde-devel/qt-copy/include/Qt3Support /home/kde-devel/qt-copy/include/QtAssistant /home/kde-devel/qt-copy/include/QtDesigner /home/kde-devel/qt-copy/include/QtNetwork /home/kde-devel/qt-copy/include/QtOpenGL /home/kde-devel/qt-copy/include/QtSql /home/kde-devel/qt-copy/include/QtXml /home/kde-devel/qt-copy/include/QtSvg /home/kde-devel/qt-copy/include/QtUiTools /home/kde-devel/qt-copy/include/QtTest /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2 /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.1.2/include /usr/include End of search list. /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1plus -fpreprocessed cipherunittest.ii -quiet -dumpbase cipherunittest.cpp -mtune=generic -ansi -auxbase-strip qca/unittest/cipherunittest/CMakeFiles/cipherunittest.dir/cipherunittest.o -O3 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -ansi -version -fno-check-new -fno-common -fstack-protector -fstack-protector -o cipherunittest.s GNU C++ version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) (i486-linux-gnu) compiled by GNU C version 4.1.2 (Ubuntu 4.1.2-0ubuntu4). GGC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=96943 Compiler executable checksum: 706aaa0fd1a32f25246d6a043b4a10ca c++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. -- Summary: c++ crash in KDE's qca module Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dancecile at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33590