Segfault on startup with lspci installed

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:

Segfault on startup with lspci installed

Postby ixplode » Tue Dec 21, 2004 8:32 pm

Regarding my issue here i re-uploaded my sysinfo with lspci enabled, and i redownloaded the beta and started anew. Now it still crashes on startup but this time it dumps a blackbox.txt.

On running ./darwinia it dumps

Code: Select all

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

Error: Could not open /dev/nvidiactl because the permissions
are too resticitive.  Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
sh: line 1: gdb: command not found


Darwinia has unexpectedly encountered a fatal error.
A full description of the error can be found in the file
blackbox.txt in the current working directory

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


The blackbox.txt dumps --

Code: Select all

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-demo-beta4c
ERROR   : 'Got a fatal signal: 11
'

=========================
===== SYSTEM REPORT =====
=========================

SysInfoGenVersion: 2
CpuVendor: GenuineIntel
CpuModel: Pentium III (Coppermine)
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: Ensoniq ES1371 [AudioPCI-97] (rev 09)
Graphics Card: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
Operating System: Linux 2.6.9
Computer Name: linova



=========================
====== USER DATA ========
=========================

USERNAME : ixplode

EMAIL    : ixplode@xxxxxxxxx.net

=========================
====== STACKTRACE =======
=========================

retAddress = 0xb7d55760
retAddress = 0xb7f0a763
retAddress = 0xb7f0b424
retAddress = 0xb7f071ae


gdb stack trace:

Last edited by ixplode on Tue Dec 21, 2004 8:41 pm, edited 3 times in total.
`` 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
sysrq
level2
level2
Posts: 123
Joined: Wed Mar 20, 2002 4:52 am

Postby sysrq » Tue Dec 21, 2004 8:33 pm

Can you get the actual GDB backtrace?
DEATH TO DUCKS!!!
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Tue Dec 21, 2004 8:34 pm

How do i get the stack trace? It's not in the file, thats the entirety of blackbox.txt

Edit #1: Ill look into how to give my non-root user permissions to use the nvid files... but i ran it as root and it at least gets to a black screen then aborts because of ALSA issues. I think thats covered elsewhere in this topic, so ill check around.
`` 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
sysrq
level2
level2
Posts: 123
Joined: Wed Mar 20, 2002 4:52 am

Postby sysrq » Tue Dec 21, 2004 8:44 pm

install gdb

Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.


I find that interesting as you don't have an nvidia card in the sysinfo output yet it thinks you do. Is there any reason for this difference?
DEATH TO DUCKS!!!
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Tue Dec 21, 2004 8:57 pm

I have an nvidia card. I'm not quite sure why the sys specs dont reflect this...

Edit #1: Well, that vidcard is actually the onboard suck that came with the box. In actuality X is running using my geforce2mx.

Edit #2: Actually, darwinia has it wrong, lspci will display both cards, for whatever reason though darwinia must choose the first thing on the list. This is why reading lspci is bad for hardware detection. Should be checking glxinfo to see what card i have (using the appropriate glx calls and not the binary of course.)

(emerging gdb right now... this install is rather new, so i don't have any of this stuff on there yet.)
`` 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
sysrq
level2
level2
Posts: 123
Joined: Wed Mar 20, 2002 4:52 am

Postby sysrq » Tue Dec 21, 2004 9:17 pm

Well it doesn't use that information for actually sending data to the video card so no matter. However you should actually do what the error msg tells you.
DEATH TO DUCKS!!!
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Tue Dec 21, 2004 9:23 pm

Im looking into it right now... i made sure i was starting xdm the right way, my user is added to the video group... i dunno what the deal with this is, but its safe to say that it's not darwinia, as glxgears gives the 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
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Tue Dec 21, 2004 9:51 pm

I've tried everything and i just can't fix the

Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.

error from occuring. I've added myself to the video group and manually done chmod g+rw /dev/nvidiactl and it's still not working :cry: i wanna start actually testing the game .

It appears to be an issue with PAM modifying things... which im looking into fixing.

Buut it can't be... the perms for /dev/nvidiactl are crw-rw-rw- 1 root video 195,255
Last edited by ixplode on Tue Dec 21, 2004 10:01 pm, edited 1 time in total.
`` 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
sysrq
level2
level2
Posts: 123
Joined: Wed Mar 20, 2002 4:52 am

Postby sysrq » Tue Dec 21, 2004 10:00 pm

what's the output of ls -l /dev/nvidiactl
DEATH TO DUCKS!!!
User avatar
ixplode
level2
level2
Posts: 129
Joined: Thu Nov 25, 2004 4:50 am
Location: New York
Contact:

Postby ixplode » Tue Dec 21, 2004 10:03 pm

I win. I did chmod 0666 /dev/nvidia* which fixes all that stuff.


hahahah now of course i exited darwinia to change resolution and it crashed, so i restarted kdm and now it gives an x error on darwinia launch. I hate everything.
`` 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 1 guest