Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116792 - Valid C++ program which crashes gcc-3.4.4-r1
Summary: Valid C++ program which crashes gcc-3.4.4-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 10:03 UTC by Laurence Withers
Modified: 2005-12-26 17:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source which crashes gcc (gcc-crash.ii.bz2,113.76 KB, text/plain)
2005-12-26 10:04 UTC, Laurence Withers
Details
result of "emerge info" (emerge-info,2.43 KB, text/plain)
2005-12-26 10:05 UTC, Laurence Withers
Details
bzip2'd preprocessed source (gcc-crash.ii.bz2,113.76 KB, application/octet-stream)
2005-12-26 10:23 UTC, Laurence Withers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurence Withers 2005-12-26 10:03:20 UTC
Hi, I have a valid C++ program which crashes gcc-3.4.4-r1; I'll attach the preprocessed source. It does this even when specifying no cflags, i.e. "g++ crash.ii" will crash with a segfault.

I'll also attach my make.conf and emerge info, in case it helps.
Comment 1 Laurence Withers 2005-12-26 10:04:52 UTC
Created attachment 75558 [details]
Preprocessed source which crashes gcc
Comment 2 Laurence Withers 2005-12-26 10:05:27 UTC
Created attachment 75559 [details]
result of "emerge info"
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 10:15:27 UTC
(In reply to comment #0)
> I'll attach the preprocessed source. 

Uh eh?!

<snip>
BZh91AY&SY
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 10:15:27 UTC
(In reply to comment #0)
> I'll attach the preprocessed source. 

Uh eh?!

<snip>
BZh91AY&SY	ÝLî,ÿÿõÿÿÿÿ¿ÿÿÿ¿ÿÿÿbK~ð½4@%
</snip>

Try again.
Comment 5 Laurence Withers 2005-12-26 10:23:13 UTC
Created attachment 75560 [details]
bzip2'd preprocessed source

Oops, source was bzip2'd since it's too large to upload otherwise. Apologies.
Comment 6 Laurence Withers 2005-12-26 10:24:24 UTC
Reopening since source now provided in a format that can be understood :-)
Comment 7 SpanKY gentoo-dev 2005-12-26 13:05:22 UTC
post the actual code which is causing the failure, stripped down if possible

you also didnt post the actual error message ...
Comment 8 Laurence Withers 2005-12-26 17:07:50 UTC
Actually, a reboot has fixed the problem. This is very strange, as it was consistently crashing on just that one program, and no others, even though the others used exactly the same libraries and so on.