PDA

View Full Version : Segmentation fualt error during compile


kird03
10th October 2005, 15:22
I have tried the forum search but did find only one hit, saying to remove all old data... (which I did several times already..

Sofar i succeeded:
- tar xvfz ISPConfig*
- cd install_ispconfig
- /.setup

then the compile starts (I assume..) but it breaks off with following errors:
make[2]: Leaving directory `/home/bart/tmp/install_ispconfig/compile_aps/openssl-0.9.8/crypto/rc2'
making all in crypto/rc4...
make[2]: Entering directory `/home/bart/tmp/install_ispconfig/compile_aps/openssl-0.9.8/crypto/rc4'
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=k6 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o rc4_skey.o rc4_skey.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
(cd asm; /usr/bin/perl5 rc4-586.pl elf -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=k6 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM > ../rx86-elf.s)
/bin/sh: line 1: 14011 Segmentation fault /usr/bin/perl5 rc4-586.pl elf -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=k6 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM >../rx86-elf.s
make[2]: *** [rx86-elf.s] Fout 139
make[2]: Leaving directory `/home/bart/tmp/install_ispconfig/compile_aps/openssl-0.9.8/crypto/rc4'
make[1]: *** [subdirs] Fout 1
make[1]: Leaving directory `/home/bart/tmp/install_ispconfig/compile_aps/openssl-0.9.8/crypto'
make: *** [build_crypto] Fout 1
ERROR: Could not make OpenSSL

I''m kind of stuck here, re-installed and updated SLL to latested versions etc.
I''m using Mandrive 2005LE (mandrake 10.2) with full development section installed..

anyone a clue?!

falko
10th October 2005, 17:59
/bin/sh: line 1: 14011 Segmentation fault /usr/bin/perl5 rc4-586.pl elf -I.. -I../.. -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=k6 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM >../rx86-elf.s

Either a hard disk failure (then get a new one...), or maybe an incompatible binary... I'm not quite sure what you can do about that...

till
10th October 2005, 18:11
If you dont get the segmentation fault always in the same step of the installation, it might be an issue with your RAM memory as well.

kird03
10th October 2005, 18:50
If you dont get the segmentation fault always in the same step of the installation, it might be an issue with your RAM memory as well.


mm, is there a way to check the ram condition...
the error occurs everytime at a different place.. but always when compiling openSSL

error messages are different, but mostly segmentation fault...

if someone knows a RAM check that works with mandriva... I would like to know! :)

thanxx sofar!

till
10th October 2005, 19:00
Maybe Mandriva has a memtest option when you boot from the first bootable install CD / DVD. As far as i know the Boot CD's of the Debian and Redhat have such an option.

themachine
12th October 2005, 02:15
I've had good luck with MemTest86...

http://www.memtest86.com

Throw it on a floppy or what have you and go to town.. should give you some idea. I also wouldn't leave out the cpu... compiling anything with choke on a faulty proc.

I would recommend attempting to compile something else as well... if it fails there then hardware is bout the only thing it could be.... download a linux kernel and compile it for the hell of it... see what happens.

kird03
13th October 2005, 11:47
I've had good luck with MemTest86...

http://www.memtest86.com



something is wrong with the hardware.. I'll do the test somewhere in the near future.. but also another compile actions crashes!

strange thing however.. this install has served as an ADSL gateway for some months without crashes... only now.. I get troubles!

themachine
15th October 2005, 17:50
Honesly, that isn't all too surprising... I don't imagine that there is much load on the CPU/RAM for gateway services. You could use a box with faulty proc or RAM and have it work flawless... its when you really stress the hardware that it will die.

Good luck!

Con Hennekens
3rd January 2006, 22:04
Hi,

I've been trying to install ISPConfig for over a few days now, and run into the same problem as desribed above. I tried a lot concerning the hardware issues mentioned. Changed harddrive, tried setups wit all different combinations of 2x 256 MB dimms, tried Ubunto as well as Suse10 and installed that both to the letter of the how-to.

The problem occurs each time in exactly the same time, always compiling OpenSSL. I tried the current version as well as the stable one. I only do not have a chance to try a completely different PC.

I think it's the best bet to give up now...

Con

I think it is save

falko
4th January 2006, 01:50
If you're running a 64-bit Linux, have a look here:
http://www.howtoforge.com/forums/showthread.php?t=127
http://www.howtoforge.com/forums/showthread.php?t=286
http://www.howtoforge.com/forums/showthread.php?t=1626

Con Hennekens
4th January 2006, 14:01
That's pitifully not the case... I was testing on a old compaq Deskpro 400Mhz/512MB. I still have a 333Mhz board laying around somewhere. Maybe I'll give that a shot today or tomorrow. If the error Magically disappears I give it notice here.

Con

lerra
5th January 2006, 18:41
I solved my problem! Tested with compule a kernel, worked. ln'd it so /usr/src/linux pointed to it (bercause system compilation needs system headers sometimes...) did not work, rebooted and did a full diskscan and then runned again and it worked. I installed gcc-3.4 too but dont think it was that one that solved it.

I'm running debian sarge 3.1

lerra
5th January 2006, 19:31
Seams like found the error...I get some page fault error when i try to install from a ssh client but not local (using a uml to test the installation) thrue the console.
Working on a sollution.

falko
5th January 2006, 19:40
You get errors when you try to install ISPConfig over SSH, but locally it works? :confused:

lerra
5th January 2006, 22:06
seams like I solved my critical problem by incresing the RAM to the uml, only had 64 at the begining and increesed to 96 (not running a swap ether)

lerra
5th January 2006, 22:08
You get errors when you try to install ISPConfig over SSH, but locally it works? :confused:
Yes, coud be just me..

Con Hennekens
6th January 2006, 10:11
The error in case here (see beginning of thread) is a compile error. Hard to believe that it could have something to do with SSH. In my case it it also happened during a local session. Ram also is no issue, I have 512MB in my box.

falko
6th January 2006, 11:29
The error in case here (see beginning of thread) is a compile error. Hard to believe that it could have something to do with SSH. In my case it it also happened during a local session. Ram also is no issue, I have 512MB in my box.
Have you tried Memtest? http://www.howtoforge.com/forums/showpost.php?p=4048&postcount=6