Bug 679026

Summary: [abrt] gcc-c++-4.5.1-4.fc14: gt_ggc_mx_pending_template: Process /usr/libexec/gcc/i686-redhat-linux/4.5.1/cc1plus was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Serhiy <nefelim>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:399d636923cb6a239e74059a1b698c1a3988cb0e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-03 12:06:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
Source code none

Description Serhiy 2011-02-21 10:36:12 UTC
abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: /usr/libexec/gcc/i686-redhat-linux/4.5.1/cc1plus -quiet -D_GNU_SOURCE main.cpp -quiet -dumpbase main.cpp -mtune=generic -march=i686 -auxbase main -o /tmp/cc6UuSWz.s
component: gcc
crash_function: gt_ggc_mx_pending_template
executable: /usr/libexec/gcc/i686-redhat-linux/4.5.1/cc1plus
kernel: 2.6.35.11-83.fc14.i686.PAE
package: gcc-c++-4.5.1-4.fc14
rating: 4
reason: Process /usr/libexec/gcc/i686-redhat-linux/4.5.1/cc1plus was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1298283871
uid: 500

How to reproduce
-----
1.Compile
2.
3.

Comment 1 Serhiy 2011-02-21 10:36:16 UTC
Created attachment 479863 [details]
File: backtrace

Comment 2 Jakub Jelinek 2011-02-21 10:53:42 UTC
Please provide preprocessed source (usually g++ should prepare a /tmp/cc*.out file for you and tell it where it is, alternatively preprocess it yourself (either with -save-temps or -E instead of -c).

Comment 3 Jakub Jelinek 2011-02-21 13:04:16 UTC
I've managed to reproduce it on an artificial testcase and am tracking this upstream now, nevertheless the preprocessed source would be useful to help figuring out if this actually is a regression from earlier versions of g++ or not.

Comment 4 Serhiy 2011-02-21 13:50:43 UTC
Created attachment 479920 [details]
Source code

Its tested source code for this bug.

Comment 5 Jakub Jelinek 2011-02-21 17:31:47 UTC
Can be hardly considered a regression, given that g++ 4.3 and 4.4 instead of segfaulting on it within minutes keep compiling it for terribly long (killed cc1plus after 72 minutes).

Comment 6 Jakub Jelinek 2011-03-03 12:06:34 UTC
Should be fixed in gcc-4.6.0-0.11.fc15 in rawhide.