public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53127] New: cc1plus segmentation fault
@ 2012-04-26 12:32 koliasvskj at gmail dot com
  2012-04-26 13:00 ` [Bug c++/53127] " koliasvskj at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: koliasvskj at gmail dot com @ 2012-04-26 12:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53127
           Summary: cc1plus segmentation fault
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: koliasvskj@gmail.com


Trying to compile project which uses Boost "Meta State Machine" with GCC-4.6.3 
on 64bit Slackware (preprocessed file attached). 
Tried also GCC-4.5.2 (Slackware 64bit and 32bit); the segfault reproduces.

Compiled with command:
g++ -v -c NodeMgmtService.cpp -o NodeMgmtService.o

Resulting output:

Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.6.3/specs
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.6.3/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.6.3/configure --prefix=/usr --libdir=/usr/lib64
--mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix
--enable-checking=release --with-system-zlib
--with-python-dir=/lib64/python2.6/site-packages --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose
--disable-multilib --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.6.3 (GCC) 
COLLECT_GCC_OPTIONS='-fexceptions' '-O2' '-v' '-c' '-o' 'NodeMgmtService.o'
'-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-slackware-linux/4.6.3/cc1plus -quiet -v -D_GNU_SOURCE
NodeMgmtService.cpp -quiet -dumpbase NodeMgmtService.cpp -mtune=generic
-march=x86-64 -auxbase-strip NodeMgmtService.o -O2 -version -fexceptions -o
/tmp/ccAUJVem.s
GNU C++ (GCC) version 4.6.3 (x86_64-slackware-linux)
    compiled by GNU C version 4.6.3, GMP version 5.0.1, MPFR version 3.0.1, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/lib64/qt/include"
ignoring nonexistent directory
"/usr/lib64/gcc/x86_64-slackware-linux/4.6.3/../../../../x86_64-slackware-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib64/qt/include
 /usr/lib64/gcc/x86_64-slackware-linux/4.6.3/../../../../include/c++/4.6.3

/usr/lib64/gcc/x86_64-slackware-linux/4.6.3/../../../../include/c++/4.6.3/x86_64-slackware-linux

/usr/lib64/gcc/x86_64-slackware-linux/4.6.3/../../../../include/c++/4.6.3/backward
 /usr/lib64/gcc/x86_64-slackware-linux/4.6.3/include
 /usr/local/include
 /usr/lib64/gcc/x86_64-slackware-linux/4.6.3/include-fixed
 /usr/include
End of search list.
GNU C++ (GCC) version 4.6.3 (x86_64-slackware-linux)
    compiled by GNU C version 4.6.3, GMP version 5.0.1, MPFR version 3.0.1, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: f532930d3a80fa20ce9d2d111bdd13e3
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c++/53127] cc1plus segmentation fault
  2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
@ 2012-04-26 13:00 ` koliasvskj at gmail dot com
  2012-04-26 13:13 ` manu at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: koliasvskj at gmail dot com @ 2012-04-26 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Nickolay Cherney <koliasvskj at gmail dot com> 2012-04-26 12:59:54 UTC ---
Created attachment 27246
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27246
preprocessed file gzip

didn't manage to attach it as plain text


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

* [Bug c++/53127] cc1plus segmentation fault
  2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
  2012-04-26 13:00 ` [Bug c++/53127] " koliasvskj at gmail dot com
@ 2012-04-26 13:13 ` manu at gcc dot gnu.org
  2012-04-26 13:47 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: manu at gcc dot gnu.org @ 2012-04-26 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-26 13:12:42 UTC ---
Could you try to reduce the testcase?

http://gcc.gnu.org/bugs/minimize.html

Thanks.


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

* [Bug c++/53127] cc1plus segmentation fault
  2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
  2012-04-26 13:00 ` [Bug c++/53127] " koliasvskj at gmail dot com
  2012-04-26 13:13 ` manu at gcc dot gnu.org
@ 2012-04-26 13:47 ` rguenth at gcc dot gnu.org
  2012-10-11 22:39 ` paolo.carlini at oracle dot com
  2012-10-12  7:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-26 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-26
      Known to work|                            |4.7.0
     Ever Confirmed|0                           |1
      Known to fail|                            |4.6.3

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-26 13:46:22 UTC ---
It works for me with GCC 4.7.0.  4.6 segfaults during garbage collection
with a stack overflow, ulimit -s unlimited is a workaround.

We may have installed some patches to migitate this for 4.7.


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

* [Bug c++/53127] cc1plus segmentation fault
  2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
                   ` (2 preceding siblings ...)
  2012-04-26 13:47 ` rguenth at gcc dot gnu.org
@ 2012-10-11 22:39 ` paolo.carlini at oracle dot com
  2012-10-12  7:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-11 22:39 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-11 22:39:07 UTC ---
Richard, should we keep this open?


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

* [Bug c++/53127] cc1plus segmentation fault
  2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
                   ` (3 preceding siblings ...)
  2012-10-11 22:39 ` paolo.carlini at oracle dot com
@ 2012-10-12  7:52 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-12  7:52 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-12 07:51:28 UTC ---
Fixed in 4.7.0.


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

end of thread, other threads:[~2012-10-12  7:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 12:32 [Bug c++/53127] New: cc1plus segmentation fault koliasvskj at gmail dot com
2012-04-26 13:00 ` [Bug c++/53127] " koliasvskj at gmail dot com
2012-04-26 13:13 ` manu at gcc dot gnu.org
2012-04-26 13:47 ` rguenth at gcc dot gnu.org
2012-10-11 22:39 ` paolo.carlini at oracle dot com
2012-10-12  7:52 ` 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).