Darwinia crashes when lspci is available

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Firewing
level0
Posts: 9
Joined: Sun Jul 04, 2004 4:10 pm
Location: /root
Contact:

Darwinia crashes when lspci is available

Postby Firewing » Tue Dec 21, 2004 12:36 pm

Hi,
after I ran Darwinia the first time (it was stunning slow, maybe 0.5 fps) I thought maybe with lspci available Darwinia would run faster. I have made a link /usr/bin/lspci that points to /sbin/lspci, but when I tried to start the game I've got a seg fault. Here is the blackbox.txt output:
=========================
DARWINIA BLACK BOX REPORT
=========================

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

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

SysInfoGenVersion: 2
CpuVendor: AuthenticAMD
CpuModel: AMD Athlon(tm) XP 2000+
Num Processors: 1
Country: N/A
Language: N/A
Num sound devices: 1
Primary sound device: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev
50)
Graphics Card: nVidia Corporation: Unknown device 0281 (rev a1)
Operating System: Linux 2.6.9-gentoo
Computer Name: Lucifer



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

USERNAME : Firewing

EMAIL : firefreaky@web.de


=========================
====== PREFERENCES ======
=========================


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

retAddress = 0x8168198
retAddress = 0x817047d
retAddress = 0x81682dd
retAddress = 0x8165f81
retAddress = 0x81661d5
retAddress = 0x8165e5e
retAddress = 0x8178fd3
retAddress = 0x80b314c
retAddress = 0x807748c
retAddress = 0x80cf31c
retAddress = 0x80cf46b
retAddress = 0x80c055b
retAddress = 0xb7ced480
retAddress = 0x8076421


gdb stack trace:

GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) Reading symbols from /home/firewing/Downloads/Darwinia/darwinia/darwinia.x
86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) Attaching to program: /home/firewing/Downloads/Darwinia/darwinia/darwinia.
x86, process 19324
Reading symbols from /usr/lib/libSDL-1.2.so.0...(no debugging symbols found)...d
one.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/opengl/xorg-x11/lib/libGL.so.1...(no debugging sym
bols found)...done.
Loaded symbols for /usr/lib/opengl/xorg-x11/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1...(n
o debugging symbols found)...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 19324)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libdirectfb-0.9.so.20...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.20
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.so.6...d
one.
Loaded symbols for //usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libvga.so.1...done.
Loaded symbols for /usr/lib/libvga.so.1
Reading symbols from /usr/lib/libaa.so.1...done.
Loaded symbols for /usr/lib/libaa.so.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5...d
one.
Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5
Reading symbols from /usr/lib/libslang.so.1...done.
Loaded symbols for /usr/lib/libslang.so.1
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Loaded symbols for /lib/libnss_files.so.2
Loaded symbols for /lib/libnss_files.so.2
0xb7d62108 in waitpid () from /lib/libc.so.6
(gdb) 1 Thread 16384 (LWP 19324) 0xb7d62108 in waitpid () from /lib/libc.so.6
(gdb)
Thread 1 (Thread 16384 (LWP 19324)):
#0 0xb7d62108 in waitpid () from /lib/libc.so.6
#1 0xb7dfdff4 in ?? () from /lib/libc.so.6

#2 0xb7d0e684 in strtold_l () from /lib/libc.so.6
#3 0x080a77c8 in ?? ()
#4 0x080a7b11 in ?? ()
#5 0x080a78e0 in ?? ()
#6 0xb7c6f30d in __pthread_sighandler_rt () from /lib/libpthread.so.0
#7 <signal handler called>
#8 0xb7d345dd in ftello () from /lib/libc.so.6
#9 0x08168198 in ?? ()
#10 0x0817047d in ?? ()
#11 0x081682dd in ?? ()
#12 0x08165f81 in ?? ()
#13 0x081661d5 in ?? ()
#14 0x08165e5e in ?? ()
#15 0x08178fd3 in ?? ()
#16 0x080b314c in ?? ()
#17 0x0807748c in ?? ()
#18 0x080cf31c in ?? ()
#19 0x080cf46b in ?? ()
#20 0x080c055b in ?? ()
#21 0xb7ced480 in __libc_start_main () from /lib/libc.so.6
#22 0x08076421 in ?? ()
#0 0xb7d62108 in waitpid () from /lib/libc.so.6
(gdb) Detaching from program: /home/firewing/Downloads/Darwinia/darwinia/darwinia.x86, process 19324

This is what I get on the command line:

./darwinia.x86
SDL Version: Compiled against 1.2.8, running with 1.2.8
Creating ResourceManager: 0.1



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

Speicherzugriffsfehler


At the beginning the blackbox.txt was empty, but after
touch preferences.txt

And a new try there got something in it.

EDIT: Sry um, "Speicherzugriffsfehler" is the german word for Segmentation Fault.

cya firewing
User avatar
John
Introversion Staff
Introversion Staff
Posts: 509
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Tue Dec 21, 2004 12:58 pm

lspci is just used for informational purposes. If it wasn't available when you generated your system information to upload, you should keep it unavailable when running the downloaded version of Darwinia. lspci won't affect the performance of Darwinia.

With respect to your low framerate, are you sure that you have graphics acceleration enabled? Try running glxinfo and see if it says "direct rendering: Yes". Try running some other 3d applications and see if they run at reasonable speed.
Firewing
level0
Posts: 9
Joined: Sun Jul 04, 2004 4:10 pm
Location: /root
Contact:

Postby Firewing » Tue Dec 21, 2004 5:50 pm

The low framerate was my mistake. I have used the x-org opengl interface, that was a workaround for an glibc bug but it is resolved and now I use the nvidia opengl interface and it is at 50-60 fps.
To the lspci issue: I will download the next beta with the corrected sys-infos. I think it schould work then.

cya firewing
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:35 pm

John wrote:If it wasn't available when you generated your system information to upload, you should keep it unavailable when running the downloaded version of Darwinia.


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. I've decided to post this blackbox in another thread as it doesn't really fit here.
`` The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life. ``
Firewing
level0
Posts: 9
Joined: Sun Jul 04, 2004 4:10 pm
Location: /root
Contact:

Postby Firewing » Wed Dec 22, 2004 12:02 pm

After I got the sys-infos with lspci and downloaded the new beta it works fine bt only if lspci is available ^^

cya firewing

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 1 guest