Segmentation Fault on launch

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Segmentation Fault on launch

Postby ixplode » Mon Dec 20, 2004 6:04 pm

ran ./darwinia in KDE on Gentoo

Code: Select all

SDL Version: Compiled against 1.2.8, running with 1.2.8
sh: line 1: lspci: command not found
sh: line 1: lspci: command not found
Creating Resource Manager: 0.3

./darwinia: line 4: 8045 Segmentation fault         $here/darwinia.x86


Then i ran ./darwinia.x86 and got the same error, but instead of

Code: Select all

./darwinia: line 4: 8045 Segmentation fault         $here/darwinia.x86


i got

Code: Select all

Segmentation fualt


Edit #1: Just tried as root, yields same error.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Mon Dec 20, 2004 6:11 pm

Did you have lspci in the path when you ran the sysconfig utility? Have you changed your kernel or hardware since running it? (Unlikely, I know)
Don't think about The Game.
User avatar
John
Introversion Staff
Introversion Staff
Posts: 511
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Mon Dec 20, 2004 6:13 pm

Do you get a blackbox ~/blackbox.txt ?
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Mon Dec 20, 2004 10:53 pm

Hey sorry for taking so long to respond, i had a japanese final. Well, the blackbox.txt is empty but it exists. Also, lspci is strangely absent. Once i can fix the problem with eth0 on my linux box, im gonna emerge pci-utils to see if maybe i forgot.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Mon Dec 20, 2004 11:14 pm

Indeed. It appears as though i didn't have lspci installed. I was discussing this with a friend and we don't understand why it doesn't just use /sys (2.6) or /proc/pci (2.4) for hardware detection, as lspci shouldn't be run by a user process.

Edit #1: Still getting the segmentation fault though the output is just this:

Code: Select all

bash-2.05b$ ./darwinia
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.5

./darwinia: line 4:  9009 Segmentation fault      $here/darwinia.x86


Nothing is written to the blackbox. Oddly enough, when i run ./darwinia.x86 it dumps

Code: Select all

bash-2.05b$ ./darwinia.x86
SDL Version: Compiled against 1.2.8, running with 1.2.7
Creating ResourceManager: 0.9

Segmentation fault


Does this mean that my version of sdl is out of date? If so it's odd that it doesn't report this when running ./darwinia .


Edit #1: I resinstalled everything and started anew with a new download of darwinia. Now it gives a blackbox.txt after the segfault... new thread is here
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 16 guests