Darwinia demo

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Darwinia demo

Postby PauloMorfeo » Tue Sep 06, 2005 4:07 pm

I was trying the demo for the Darwinia game but when tryed to run the game:

Code: Select all

Some stuff, bla, bla, bla
...
Error while mapping shared library sections:
./lib/libSDL-1.2.so.0: No such file or directory.
Error while mapping shared library sections:
./lib/libvorbisfile.so.3: No such file or directory.
Error while mapping shared library sections:
./lib/libgcc_s.so.1: No such file or directory.
Error while reading shared library symbols:
./lib/libSDL-1.2.so.0: No such file or directory.
Error while reading shared library symbols:
./lib/libvorbisfile.so.3: No such file or directory.
Error while reading shared library symbols:
./lib/libgcc_s.so.1: No such file or directory.
Previous frame inner to this frame (corrupt stack?)

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

Seems i don't have some files. Although i have one of those, libgcc_s.so.1 ...
Funny thing, those files exist in the darwinia-demo/lib folder. I wonder if i just copy them to /lib, it works!? Or if i ruin something...

The system is a Suse Linux 9.3 in a Athlon 64 running at 32b.
Help!?

Sorry if this has been discussed n times before but i searched without finding and i can't read every single thread.
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Tue Sep 06, 2005 4:40 pm

<longshot>Tried `cd`ing to the darwinia-demo directory and running it from there?</longshot>
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Wed Sep 07, 2005 7:37 am

Dave2 wrote:<longshot>Tried `cd`ing to the darwinia-demo directory and running it from there?</longshot>

That's what i tried and gave me that result...
The quick brown Firefox jumps over the lazy Internet Explorer.
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Wed Sep 07, 2005 1:04 pm

What exact command did you run?
User avatar
Miah
level5
level5
Posts: 3155
Joined: Mon Oct 13, 2003 7:28 pm
Contact:

Postby Miah » Wed Sep 07, 2005 2:28 pm

Console wrote: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


Think we could get that?[/quote]
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Wed Sep 07, 2005 6:08 pm

Dave2 wrote:What exact command did you run?

"./darwinia" inside the folder "darwinia-demo".
Is there any diference between "./darwinia" and "sh darwinia"?

Miah Helpmann wrote:
Console wrote:...
blackbox.txt ...


Think we could get that? ...

blackbox.txt:

Code: Select all

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

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

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

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 0
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 1
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 0
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlUp = key E
ControlDown = key Q
ControlLeft = key A
ControlBackwards = key S
ControlRight = key D
ControlForwards = key W
ControlChatLog = key TAB
ControlZoom = key Z
ControlDeselect = key SPACE
ControlMouseButtons = 3
RenderLandscapeMode = 2
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = none

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

retAddress = 0x4013a84f
retAddress = 0x807c75f
retAddress = 0x807cc9e
retAddress = 0x80aa3bf
retAddress = 0x80b6577
retAddress = 0x80b60e9
retAddress = 0x80af7ac
retAddress = 0x80b007b
retAddress = 0x809ec7c
retAddress = 0x402d3e80
retAddress = 0x804cdc1


gdb stack trace:

GNU gdb 6.3
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 "i586-suse-linux".
(gdb) Reading symbols from /home/paulo/darwinia-demo/lib/darwinia.bin.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /home/paulo/darwinia-demo/lib/darwinia.bin.x86, process 16321
Reading symbols from /home/paulo/darwinia-demo/lib/libSDL-1.2.so.0...done.
Loaded symbols for /home/paulo/darwinia-demo/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /home/paulo/darwinia-demo/lib/libvorbisfile.so.3...done.
Loaded symbols for /home/paulo/darwinia-demo/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /home/paulo/darwinia-demo/lib/libgcc_s.so.1...done.
Loaded symbols for /home/paulo/darwinia-demo/lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 1079165152 (LWP 16321)]
[New Thread 1081605040 (LWP 16322)]
[Thread debugging using libthread_db enabled]
[New Thread 1079165152 (LWP 16321)]
[New Thread 1081605040 (LWP 16322)]
Loaded symbols for /lib/tls/libpthread.so.0
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/X11R6/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
Reading symbols from /home/paulo/darwinia-demo/lib/libvorbis.so.0...done.
Loaded symbols for /home/paulo/darwinia-demo/lib/../lib/libvorbis.so.0
Reading symbols from /home/paulo/darwinia-demo/lib/libogg.so.0...done.
Loaded symbols for /home/paulo/darwinia-demo/lib/../lib/libogg.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
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 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0xffffe410 in ?? ()
(gdb)   2 Thread 1081605040 (LWP 16322)  0xffffe410 in ?? ()
  1 Thread 1079165152 (LWP 16321)  0xffffe410 in ?? ()
(gdb)
Thread 2 (Thread 1081605040 (LWP 16322)):
#0  0xffffe410 in ?? ()
#1  0x4077f3d8 in ?? ()
#2  0x00000800 in ?? ()
#3  0x08f54e18 in ?? ()
#4  0x4036aa1b in __write_nocancel () from /lib/tls/libc.so.6
#5  0x4002a878 in DSP_PlayAudio (this=0x8f25810) at SDL_dspaudio.c:140
#6  0x40026137 in SDL_RunAudio (audiop=0x8f25810) at SDL_audio.c:232
#7  0x4007110b in SDL_RunThread (data=0x8f46ea0) at SDL_thread.c:218
#8  0x4007131f in RunThread (data=0xfffffe00) at SDL_systhread.c:82
#9  0x403ddaa7 in start_thread () from /lib/tls/libpthread.so.0
#10 0x40378c2e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread 1079165152 (LWP 16321)):
#0  0xffffe410 in ?? ()
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()
#3  0xbfffe038 in ?? ()
#4  0x4034719b in __waitpid_nocancel () from /lib/tls/libc.so.6
#5  0x402f2c68 in do_system () from /lib/tls/libc.so.6
#6  0x402f2ff0 in system () from /lib/tls/libc.so.6
#7  0x08084f28 in ?? ()
#8  0x08085222 in ?? ()
#9  0x08085040 in ?? ()
#10 <signal handler called>
#11 0x40327fcc in memcpy () from /lib/tls/libc.so.6
#12 0x4013a06b in __indirect_glDrawRangeElements () from /usr/lib/libGL.so.1
#13 0x4013a84f in __indirect_glDrawArrays () from /usr/lib/libGL.so.1
#14 0x0807c75f in ?? ()
#15 0x0807cc9e in ?? ()
#16 0x080aa3bf in ?? ()
#17 0x080b6577 in ?? ()
#18 0x080b60e9 in ?? ()
#19 0x080af7ac in ?? ()
#20 0x080b007b in ?? ()
#21 0x0809ec7c in ?? ()
#22 0x402d3e80 in __libc_start_main () from /lib/tls/libc.so.6
#23 0x0804cdc1 in ?? ()
#0  0xffffe410 in ?? ()
(gdb) Detaching from program: /home/paulo/darwinia-demo/lib/darwinia.bin.x86, process 16321

Thanks for the attention.
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Wed Sep 07, 2005 7:03 pm

What exactly was the "some stuff"?
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Wed Sep 07, 2005 8:44 pm

Code: Select all

paulo@linux:~/darwinia-demo> ./darwinia
.
SDL Version: Compiled against 1.2.8, running with 1.2.8
Initialising SDL Audio
Frequency: 22050
Format: 32784
Channels: 2
Samples: 512
Size of Stereo Sample: 4
Loading profile none

CLIENT : Attempting connection...

Water lightmap generation took 4ms

Tree generated in 1ms

Tree generated in 1ms

Tree generated in 1ms

Tree generated in 1ms

Tree generated in 1ms

EntityGrid max neighbours set to 100 (time taken 0.01ms)

ObstructionGrid took 1ms to generate

CLIENT : Requesting Team...

CLIENT : Requesting Team...

CLIENT : Requesting Team...

Error while mapping shared library sections:
./lib/libSDL-1.2.so.0: No such file or directory.
Error while mapping shared library sections:
./lib/libvorbisfile.so.3: No such file or directory.
Error while mapping shared library sections:
./lib/libgcc_s.so.1: No such file or directory.
Error while reading shared library symbols:
./lib/libSDL-1.2.so.0: No such file or directory.
Error while reading shared library symbols:
./lib/libvorbisfile.so.3: No such file or directory.
Error while reading shared library symbols:
./lib/libgcc_s.so.1: No such file or directory.
Previous frame inner to this frame (corrupt stack?)


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 39: 19702 Segmentation fault      $here/lib/darwinia.bin.x86
paulo@linux:~/darwinia-demo> cat blackbox.txt
=========================
DARWINIA BLACK BOX REPORT
=========================

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

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

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 0
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 1
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 0
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlUp = key E
ControlDown = key Q
ControlLeft = key A
ControlBackwards = key S
ControlRight = key D
ControlForwards = key W
ControlChatLog = key TAB
ControlZoom = key Z
ControlDeselect = key SPACE
ControlMouseButtons = 3
RenderLandscapeMode = 2
ManuallyScaleTextures = 0
StartMap = mine
UserProfile = none

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

retAddress = 0x4013a84f
retAddress = 0x807c75f
retAddress = 0x807cc9e
retAddress = 0x80aa3bf
retAddress = 0x80b6577
retAddress = 0x80b60e9
retAddress = 0x80af7ac
retAddress = 0x80b007b
retAddress = 0x809ec7c
retAddress = 0x402d3e80
retAddress = 0x804cdc1


gdb stack trace:

GNU gdb 6.3
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 "i586-suse-linux".
(gdb) Reading symbols from /home/paulo/darwinia-demo/lib/darwinia.bin.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) Attaching to program: /home/paulo/darwinia-demo/lib/darwinia.bin.x86, process 19702
Reading symbols from /usr/lib/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/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/libstdc++.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 1079165696 (LWP 19702)]
[New Thread 1081605040 (LWP 19703)]
[Thread debugging using libthread_db enabled]
[New Thread 1079165696 (LWP 19702)]
[New Thread 1081605040 (LWP 19703)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
Reading symbols from /home/paulo/darwinia-demo/lib/libvorbis.so.0...[Thread debugging using libthread_db enabled]
[New Thread 1079165696 (LWP 19702)]
[New Thread 1081605040 (LWP 19703)]
done.
Loaded symbols for /home/paulo/darwinia-demo/./lib/../lib/libvorbis.so.0
Reading symbols from /home/paulo/darwinia-demo/lib/libogg.so.0...done.
Loaded symbols for /home/paulo/darwinia-demo/./lib/../lib/libogg.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
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 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0xffffe410 in ?? ()
(gdb)   2 Thread 1081605040 (LWP 19703)  0xffffe410 in ?? ()
  1 Thread 1079165696 (LWP 19702)  0xffffe410 in ?? ()
(gdb)
Thread 2 (Thread 1081605040 (LWP 19703)):
#0  0xffffe410 in ?? ()
#1  0x4077f3d8 in ?? ()
#2  0x00000800 in ?? ()
#3  0x08f54cc0 in ?? ()
#4  0x4036aa1b in __write_nocancel () from /lib/tls/libc.so.6
#5  0x4002a878 in ?? ()
#6  0x00000005 in ?? ()
#7  0x08f54cc0 in ?? ()
#8  0x00000800 in ?? ()
#9  0x080c144d in ?? ()
#10 0x40026137 in ?? ()
#11 0x08f256b8 in ?? ()
#12 0x08f54cc0 in ?? ()
#13 0x00000200 in ?? ()
#14 0x00000000 in ?? ()
#15 0x080c13fc in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000800 in ?? ()
#18 0x4007bf94 in ?? ()
#19 0x08f46d48 in ?? ()
#20 0x08f256b8 in ?? ()
#21 0x4077f428 in ?? ()
#22 0x4007110b in ?? ()
#23 0x08f256b8 in ?? ()
#24 0x08f55cd0 in ?? ()
#25 0x40026040 in ?? ()
#26 0x4007bf94 in ?? ()
#27 0x00000000 in ?? ()
#28 0x003d0f00 in ?? ()
#29 0x4077f438 in ?? ()
#30 0x4007131f in ?? ()
#31 0x08f46d48 in ?? ()
#32 0x403e6ff4 in ?? () from /lib/tls/libpthread.so.0
#33 0x4077f4c8 in ?? ()
#34 0x403ddaa7 in start_thread () from /lib/tls/libpthread.so.0

Thread 1 (Thread 1079165696 (LWP 19702)):
#0  0xffffe410 in ?? ()
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()
#3  0xbfffe098 in ?? ()
#4  0x4034719b in __waitpid_nocancel () from /lib/tls/libc.so.6
#5  0x402f2c68 in do_system () from /lib/tls/libc.so.6
#6  0x402f2ff0 in system () from /lib/tls/libc.so.6
#7  0x08084f28 in ?? ()
#8  0x08085222 in ?? ()
#9  0x08085040 in ?? ()
#10 <signal handler called>
#11 0x40327fcc in memcpy () from /lib/tls/libc.so.6
#12 0x4013a06b in __indirect_glDrawRangeElements () from /usr/lib/libGL.so.1
#13 0x4013a84f in __indirect_glDrawArrays () from /usr/lib/libGL.so.1
#14 0x0807c75f in ?? ()
#15 0x0807cc9e in ?? ()
#16 0x080aa3bf in ?? ()
#17 0x080b6577 in ?? ()
#18 0x080b60e9 in ?? ()
#19 0x080af7ac in ?? ()
#20 0x080b007b in ?? ()
#21 0x0809ec7c in ?? ()
#22 0x402d3e80 in __libc_start_main () from /lib/tls/libc.so.6
#23 0x0804cdc1 in ?? ()
#0  0xffffe410 in ?? ()
(gdb) Detaching from program: /home/paulo/darwinia-demo/lib/darwinia.bin.x86, process 19702
paulo@linux:~/darwinia-demo>
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Thu Sep 08, 2005 12:20 am

Hm. I'm wondering if the libraries thing is a bit of a red herring here. Best to wait for John to take a look and see if he knows.
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Sat Sep 10, 2005 4:01 pm

Although no one was able to help me, i want to thank all who tried.

I managed to run the game.
There must have gone something wrong with the Suse's YOU auto update tool when installing the nVidia closed source drivers and i was without hardware acceleration. After i manually installed them, the game has been running well.
The quick brown Firefox jumps over the lazy Internet Explorer.
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Sat Sep 10, 2005 8:28 pm

Good to hear you got it working despite the red herring of the libs, and hope you enjoy the game :P .
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Sun Sep 11, 2005 2:24 pm

Dave2 wrote:... and hope you enjoy the game :P .

I most certainly did! Good old Sindicate times...
Although the untextured low-poligon grafics (like spiders) sometimes :/ ...
User avatar
John
Introversion Staff
Introversion Staff
Posts: 509
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Tue Sep 20, 2005 9:22 am

Sorry it took so long for me to reply, I was on holiday!

Try changing the setting RenderLandscapeMode to 1 or 0 in ~/.darwinia/demo/preferences.txt
PauloMorfeo
level0
Posts: 9
Joined: Tue Sep 06, 2005 4:02 pm

Postby PauloMorfeo » Wed Sep 21, 2005 12:54 am

John wrote:Sorry it took so long for me to reply, I was on holiday!

Try ...

No worries. I managed it.
PauloMorfeo wrote:...
I managed to run the game.
There must have gone something wrong with the Suse's YOU auto update tool when installing the nVidia closed source drivers and i was without hardware acceleration. After i manually installed them, the game has been running well.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 1 guest