Bug 1292842 - Segmentation fault - non-inlined constructor with argument of template type
Summary: Segmentation fault - non-inlined constructor with argument of template type
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mingw-gcc
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Erik van Pienbroek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-18 13:28 UTC by Slawomir Czarko
Modified: 2016-01-13 04:26 UTC (History)
4 users (show)

Fixed In Version: mingw-gcc-4.9.3-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-13 04:26:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Source causing segfault (158 bytes, text/plain)
2015-12-18 13:28 UTC, Slawomir Czarko
no flags Details
File which compiles OK (535 bytes, text/plain)
2015-12-18 13:28 UTC, Slawomir Czarko
no flags Details
Preprocessed segfault.cpp (243 bytes, text/plain)
2015-12-18 13:29 UTC, Slawomir Czarko
no flags Details

Description Slawomir Czarko 2015-12-18 13:28:01 UTC
Created attachment 1107167 [details]
Source causing segfault

Description of problem:

Crash when compiling segfault.cpp

Version-Release number of selected component (if applicable):
mingw64-gcc-c++-4.9.1-3.el7.x86_64
mingw32-gcc-c++-4.9.1-3.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. x86_64-w64-mingw32-4.9.1-g++ -std=c++11 -c /tmp/segfault.cpp -o /dev/null
2.
3.

Actual results:

cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Expected results:

No crash

Additional info:

i686-w64-mingw32-4.9.1-g++ also crashes

No crash when compiling ok.cpp

Comment 1 Slawomir Czarko 2015-12-18 13:28:28 UTC
Created attachment 1107168 [details]
File which compiles OK

Comment 2 Slawomir Czarko 2015-12-18 13:29:43 UTC
Created attachment 1107170 [details]
Preprocessed segfault.cpp

Comment 3 Erik van Pienbroek 2015-12-24 19:12:30 UTC
I just pushed an updated mingw-gcc (version 4.9.3) to epel-testing. It should appear there tomorrow or otherwise you can fetch it from http://koji.fedoraproject.org/koji/buildinfo?buildID=707290
Can you test if the crash still occurs with that version?

Comment 4 Slawomir Czarko 2015-12-25 13:53:36 UTC
With version 4.9.3 the crash does not occur.

Comment 5 Fedora Update System 2015-12-25 14:31:28 UTC
mingw-gcc-4.9.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-ff50ac1bdf

Comment 6 Fedora Update System 2015-12-29 00:26:16 UTC
mingw-gcc-4.9.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-ff50ac1bdf

Comment 7 Fedora Update System 2016-01-13 04:26:43 UTC
mingw-gcc-4.9.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.