public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55135] New: Segfault of gcc on a big file
@ 2012-10-30 10:18 benoit.barbot at gmail dot com
  2012-10-30 10:28 ` [Bug c++/55135] " benoit.barbot at gmail dot com
                   ` (33 more replies)
  0 siblings, 34 replies; 35+ messages in thread
From: benoit.barbot at gmail dot com @ 2012-10-30 10:18 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55135
           Summary: Segfault of gcc on a big file
    Classification: Unclassified
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: benoit.barbot@gmail.com


When i compile the given file with gcc, i obtained a segfault:
>gcc LHA.ii -v    
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8) 
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.4.5/cc1plus -fpreprocessed LHA.ii -quiet
-dumpbase LHA.ii -mtune=generic -auxbase LHA -version -o /tmp/ccDvgh6v.s
GNU C++ (Debian 4.4.5-8) version 4.4.5 (x86_64-linux-gnu)
    compiled by GNU C version 4.4.5, GMP version 4.3.2, MPFR version 3.0.0-p3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 5a2e15051eaa06a84cf6320b754ba993
gcc: Internal error: Erreur de segmentation (program cc1plus)

The code in LHA.ii is generated which explained why it is so big.
The compilation work with similar but smaller file generated by the same
program. It also fail on similar and bigger file generated by the same program

If the crash is due to the size of the file gcc should return an error instead
of a segfault.


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

end of thread, other threads:[~2024-02-19 12:35 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 10:18 [Bug c++/55135] New: Segfault of gcc on a big file benoit.barbot at gmail dot com
2012-10-30 10:28 ` [Bug c++/55135] " benoit.barbot at gmail dot com
2012-10-30 10:40 ` mpolacek at gcc dot gnu.org
2012-10-30 11:48 ` paolo.carlini at oracle dot com
2012-10-30 13:29 ` benoit.barbot at gmail dot com
2012-10-30 14:04 ` markus at trippelsdorf dot de
2012-10-31 16:32 ` benoit.barbot at gmail dot com
2012-10-31 16:46 ` markus at trippelsdorf dot de
2012-11-07 15:11 ` paolo.carlini at oracle dot com
2013-02-27 16:21 ` paolo.carlini at oracle dot com
2013-02-28 22:49 ` steven at gcc dot gnu.org
2013-02-28 23:59 ` steven at gcc dot gnu.org
2013-03-01  0:02 ` [Bug c++/55135] [4.8 Regression] " steven at gcc dot gnu.org
2013-03-01  7:51 ` steven at gcc dot gnu.org
2013-03-01  7:52 ` steven at gcc dot gnu.org
2013-03-01  9:36 ` paolo.carlini at oracle dot com
2013-03-01 10:37 ` rguenth at gcc dot gnu.org
2013-03-01 10:44 ` rguenth at gcc dot gnu.org
2013-03-01 14:35 ` steven at gcc dot gnu.org
2013-03-01 16:14 ` hubicka at ucw dot cz
2013-03-01 16:20 ` hubicka at ucw dot cz
2013-03-01 19:13 ` steven at gcc dot gnu.org
2013-03-01 21:05 ` steven at gcc dot gnu.org
2013-03-05 14:46 ` steven at gcc dot gnu.org
2013-03-05 16:41 ` steven at gcc dot gnu.org
2013-03-06 10:47 ` [Bug c++/55135] " rguenth at gcc dot gnu.org
2013-03-06 12:09 ` steven at gcc dot gnu.org
2013-03-06 12:10 ` steven at gcc dot gnu.org
2013-03-06 12:14 ` rguenther at suse dot de
2013-03-06 12:16 ` rguenth at gcc dot gnu.org
2013-03-06 12:18 ` steven at gcc dot gnu.org
2013-03-06 12:23 ` rguenther at suse dot de
2020-09-28  7:24 ` [Bug middle-end/55135] " rguenth at gcc dot gnu.org
2020-09-28  8:16 ` hubicka at ucw dot cz
2024-02-19 12:35 ` rguenth at gcc dot gnu.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).