public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33590]  New: c++ crash in KDE's qca module
@ 2007-09-29 18:09 dancecile at gmail dot com
  2007-09-29 18:35 ` [Bug c++/33590] " dancecile at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dancecile at gmail dot com @ 2007-09-29 18:09 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/33590] c++ crash in KDE's qca module
  2007-09-29 18:09 [Bug c++/33590] New: c++ crash in KDE's qca module dancecile at gmail dot com
@ 2007-09-29 18:35 ` dancecile at gmail dot com
  2007-09-29 19:01 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dancecile at gmail dot com @ 2007-09-29 18:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dancecile at gmail dot com  2007-09-29 18:35 -------
Created an attachment (id=14268)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14268&action=view)
"the preprocessed file (*.i*) that triggers the bug"

Here's the .ii file that was generated (uncompressed 1.8 MB, too big to attach)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33590


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/33590] c++ crash in KDE's qca module
  2007-09-29 18:09 [Bug c++/33590] New: c++ crash in KDE's qca module dancecile at gmail dot com
  2007-09-29 18:35 ` [Bug c++/33590] " dancecile at gmail dot com
@ 2007-09-29 19:01 ` rguenth at gcc dot gnu dot org
  2007-09-29 19:33 ` dancecile at gmail dot com
  2007-10-01  1:10 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-29 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-09-29 19:01 -------
c++: Internal error: Killed (program cc1plus)

something killed g++, likely your system ran out of memory.  Consult output
of 'dmesg'.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33590


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/33590] c++ crash in KDE's qca module
  2007-09-29 18:09 [Bug c++/33590] New: c++ crash in KDE's qca module dancecile at gmail dot com
  2007-09-29 18:35 ` [Bug c++/33590] " dancecile at gmail dot com
  2007-09-29 19:01 ` rguenth at gcc dot gnu dot org
@ 2007-09-29 19:33 ` dancecile at gmail dot com
  2007-10-01  1:10 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dancecile at gmail dot com @ 2007-09-29 19:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dancecile at gmail dot com  2007-09-29 19:33 -------
wow, thanks :) dmesg was full of low memory stuff, and it turns out my swap
wasn't mounted so thanks for pointing this out quick.

i ran the compile again and it worked ok. looking at my memory consumption, i
saw that cc1plus was using _about_ 330 MB of memory. this seems like a kinda
strange amount of memory used, so i just want to double-check its not a bug.


-- 

dancecile at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33590


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/33590] c++ crash in KDE's qca module
  2007-09-29 18:09 [Bug c++/33590] New: c++ crash in KDE's qca module dancecile at gmail dot com
                   ` (2 preceding siblings ...)
  2007-09-29 19:33 ` dancecile at gmail dot com
@ 2007-10-01  1:10 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2007-10-01  1:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bangerth at dealii dot org  2007-10-01 01:10 -------
On big files, this is what can happen with optimized builds...


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33590


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-01  1:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-29 18:09 [Bug c++/33590] New: c++ crash in KDE's qca module dancecile at gmail dot com
2007-09-29 18:35 ` [Bug c++/33590] " dancecile at gmail dot com
2007-09-29 19:01 ` rguenth at gcc dot gnu dot org
2007-09-29 19:33 ` dancecile at gmail dot com
2007-10-01  1:10 ` bangerth at dealii dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).