Log in

View Full Version : seg fault with tar file



zerothbase
08-28-2003, 07:11 PM
having problems with the new tar file.
mandrake 9, qt3.1.1, tarfile as of 8/28...
did the whole rm -rf showeq, untar, make -f Makefile.dist...etc etc etc.
i've been using showeq for months now with all the various patches etc with no problems compiling.

having problems with making it though..... here is the output of making spawnshell.cpp.
--------------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c spawnshell.cpp
spawnshell.cpp: In member function `void SpawnShell::updateSpawns(const spawnPositionUpdate*)':
spawnshell.cpp:661: warning: int format, different type arg (arg 3)
spawnshell.cpp: In member function `void SpawnShell::restoreSpawns()':
spawnshell.cpp:1251: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [spawnshell.o] Error 1
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2
---------------------------------------------------------------

make of course ends and no luck.

any ideas?

--zerothbase

Zaphod
08-28-2003, 08:07 PM
Originally posted by zerothbase
having problems with the new tar file.
mandrake 9, qt3.1.1, tarfile as of 8/28...
did the whole rm -rf showeq, untar, make -f Makefile.dist...etc etc etc.
i've been using showeq for months now with all the various patches etc with no problems compiling.

having problems with making it though..... here is the output of making spawnshell.cpp.
--------------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c spawnshell.cpp
spawnshell.cpp: In member function `void SpawnShell::updateSpawns(const spawnPositionUpdate*)':
spawnshell.cpp:661: warning: int format, different type arg (arg 3)
spawnshell.cpp: In member function `void SpawnShell::restoreSpawns()':
spawnshell.cpp:1251: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [spawnshell.o] Error 1
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2
---------------------------------------------------------------

make of course ends and no luck.

any ideas?

--zerothbase

First, You included a bunch of information except for what compiler version you are using?

Second, see the "internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions" part of the error message. This is your compiler crashing and telling you to submit a bug report to your distro maintainer.

Third, Make sure whatever partition your /tmp directory is in and the partition your building in aren't nearing full.


$ df -k /tmp .


Enjoy,
Zaphod (dohpaZ)

zerothbase
08-28-2003, 09:07 PM
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)

tmp directory is nearly empty
lots of space
df -kl /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 6040288 1490348 4243104 26% /

i have compiled seq many times now and this is first time that it has failed

i have had a few crashes due to heat recently but everything else is working fine....any easy way in mandrake to maybe just reinstall the package for g++? do i have to go through the remove package, install package thingo?

--zerothbase

zerothbase
08-28-2003, 09:45 PM
it appears something weird is going on with my box

i get inconsistent results

compiler crashes randomly and fairly often but not everytime

if do a make again, it sometimes works.....and then fails on next file. So if i keep typing it eventually it gets done with one file...then the next etc.

does this sound like a memory/cpu problems to you all?

--zerothbase

Zaphod
08-28-2003, 10:09 PM
Originally posted by zerothbase
it appears something weird is going on with my box

i get inconsistent results

compiler crashes randomly and fairly often but not everytime

if do a make again, it sometimes works.....and then fails on next file. So if i keep typing it eventually it gets done with one file...then the next etc.

does this sound like a memory/cpu problems to you all?

--zerothbase

Check your CPU, MB, and case temperature for one. If you are running overclocked try dropping your CPU speed. Other then that it could be memory, CPU, MB, hard disk failure or hard disk corruption. Whenever I've seen posts showing symptoms similar to yours it has always been something screwy with the users machine (either hardware problems or hard disk corruption).

You should try forcing a full fsck on your next reboot to make sure your file systems are in good shape. Since you are using Mandrake and it is similar to RedHat you might be able to do the following (as root):


$ touch /forcefsck
$ reboot


Also consider looking in the lost+found directories in your partitions, if they are cluttered with lots of files then stuff has been corrupted and you may consider reinstalling either effected components or the OS.

I would also firmly recommend making a backup of any files you care about onto either another machine or your favorite form of backup media.

Beyond that check out the Mandrake support site.

Good Luck and Enjoy,
Zaphod (dohpaZ)

Dedpoet
08-29-2003, 08:23 AM
Just to back up Zaphod and maybe help a bit more, random seg faults are almost always RAM (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=3871). Take a look at that thread for some ideas.

fester
08-29-2003, 09:36 AM
Originally posted by zerothbase
spawnshell.cpp:1251: internal error: Segmentation fault


99.999% this is memory, cache or cpu.

Here is a good doc on memory related problems http://www.bitwizard.nl/sig11/