Hi
In the last couple of months, I've been getting this error
x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault but extremly sporadically, once every 2-3 months.
I've found this thread here
https://forums.gentoo.org/viewtopic-t-9 ... art-0.html and from reading it, I may have problems with my ram.
I have "keepwork" in my FEATURES variable so that /var/tmp/portage isn't wipped out and I can continue building if an error happens. When I then run "make" manually (without -j9), the building process resumes most of the times without a problem. Sometimes I get again
Internal error: Segmentation fault at some different file but waiting a couple of minutes "solves" the problem. From this behaviour I could conclude that I indeed have a ram issue, but wouldn't I also be experiencing more gltches than just this g++ error? I mean, appart of this error all other running processes seem to be running just fine and even starting new programs does not lead to unexpected results (I would've expected crashing and segfaults all over the place). But no, everything just keep running fine.
The problem is that I am not able to reproduce this error. Like I said, it happens once every 2 or 3 months, last time I had this issue was late October 2015; I don't have spare ram dimms and buying new ones just for checking an issue I cannot reproduce seems not a good idea.
Another obvservation I've made is that this only happens when I'm compiling some "heavy" c++ packages that use a lot of c++11 or include boost. Compiling C programs so far have never generated this error, C++ do. Could it be that there is something wrong with my toolchain?
I'm going to run memtest over night and see if it shows something, somehow I don't have the feeling this is a ram issue, but I may be wrong.
Has anybody else had this issue without it beeing caused by defective ram? What else could it be happening here?