LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Randomly Segmentation Faults (https://www.linuxquestions.org/questions/linux-hardware-18/randomly-segmentation-faults-174241/)

katabatic 04-24-2004 10:49 PM

Randomly Segmentation Faults
 
I'm running Redhat 9 on a custom box, stats below, trying to compile the 2.6.5 kernel when I recieve a Segmentation Fault. Give this result once, I ran 'make clean' then 'make bzImage' again. This time it went farther than the last make, but stops at a completely different file and gives another segmentation error. This pattern continues for a bit before stabilizing and repeatedly causing a segmentation error within a second or so of initializing the make. I've copied this text below as well.

I looked up and read what a segmentation fault is.

It happens when memory that is not in use with the make is attempted to be written on (correct?). This can occur because of faulty programming (inproper pointer) or hardware issues.

Since the Fault occurs a vastly different locations each time until it results in the near instant Fault every time (which can be cleared by restarting as typically is necessary as various other things start crashing after this happens) I don't think it is a programming error.

Since I am dual booting windows and there everything works quite well for extended periods of time, I don't think the hardware is at fault either.

My own guess is that there is a configuration error somewhere that makes my system think it has more memory than actually exists. If this seems plausible, how would I check and how could it be remedied?

Okay, now for stats:

My Computer --------

AMD Athlon XP 2000+
Asus A7N8X Deluxe Mainboard
2 sticks of DDR 256mb RAM
Maxtor 40gb hard drive (formatted 20gb NTFS, 10 gb ext3, 1gb swap, 9 gb unallocated)
Western Digital 40gb hard drive (formatted 1 NTFS partition)
nVidia geForce4 Ti 4600
Floppy
Normal CD drive
R/W/RW CD drive
Creative Soundblaster Audigy



Copy of the error -------

[genet@resonance linux-2.6.5]$make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
HOSTCC scripts/basic/fixdep
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <"A URL was here, but the forum doesn't let me post it"> for instructions.
make [2]: *** [scripts/basic/fixdep] Error 1
make [1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
[genet@resonance linux-2.6.5]$

Thanks!

katabatic 04-25-2004 04:00 PM

Gotta love it when you solve your own problems, eh?

I did some hardware digging and, bleh, I had a bad fan. I guess my processor was overheating and the choking to prevent damage, which killed the compilation. Kernel compiled perfectly this time.


All times are GMT -5. The time now is 04:11 PM.