Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1083377

Summary: gcc let me to report this to your web
Product: Red Hat Enterprise Linux 6 Reporter: zhucl05 <tttt3108>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: law, mpolacek
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-02 11:19:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gcc me to report this to your web
none
code package none

Description zhucl05 2014-04-02 05:19:03 UTC
Created attachment 881631 [details]
gcc me to report this to your web

Description of problem:I download a famous code package "crab" from "http://www.pa.msu.edu/~pratts/freecodes/crab/home.html".After correcting some obvious mistake of that package, gcc cannot compile and produced a file "/tmp/ccdft9TX.out". gcc tell me to report this problem to your web. 


Version-Release number of selected component (if applicable):
gcc-4.4.7-4.el6.i686

How reproducible:


Steps to Reproduce:
1.download "version3.tar.gz" from http://www.pa.msu.edu/~pratts/freecodes/crab/home.html

2.extract "version3.tar.gz" to my home, there will be a new folder called version3 under my home. 

3.edit my home/version3/crab.cpp change the 3rd line:
// #include "source_files/volya_complex.h" */
to:
#include "source_files/volya_complex.h"
and change the 35th line:
#include "interactions/crab_interaction_pipluspiplus.cpp" /* To define interactions,
to:
#include "interactions/crab_interaction_pipluspipiplus.cpp" /* To define interactions,

4.edit my home/version3/source_files/volya_complex.h, change the 22th line:
#include <iostream.h>
to:
#include <iostream>
and change the 25th line from nothing to:
using namespace std;

5.open terminal in folder my home/version3/

6 type:
gcc -o crab crab.cpp
in the terminal.

Actual results:
terminal show something:

In file included from /usr/lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:40,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40,
                 from source_files/volya_complex.h:22,
                 from crab.cpp:3:
/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception: In constructor ‘std::exception::exception()’:
/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:62: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccdft9TX.out file, please attach this to your bugreport.

Expected results:
compiler become normal(continue to compile or gcc-c++ could tell me errors about codes)


Additional info:
I am sorry for not attaching code "version3.tar.gz", becouse gcc-c++ let me to attach "/tmp/ccdft9TX.out" and I can only attach one file .

Comment 2 zhucl05 2014-04-02 05:22:34 UTC
Created attachment 881632 [details]
code package

Comment 3 zhucl05 2014-04-02 10:02:38 UTC
I reinstalled that compiler ,and it became normal.

Comment 4 Marek Polacek 2014-04-02 11:19:16 UTC
I tried the preprocessed code with gcc-4.4.7-4.el6.i686 and I see no ICE either.