Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116792

Summary: Valid C++ program which crashes gcc-3.4.4-r1
Product: Gentoo Linux Reporter: Laurence Withers <l>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed source which crashes gcc
result of "emerge info"
bzip2'd preprocessed source

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.