Issues running Darwinia on Ubuntu Hardy

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Masquerade
level0
Posts: 2
Joined: Sun Aug 24, 2008 7:43 pm

Issues running Darwinia on Ubuntu Hardy

Postby Masquerade » Sun Aug 24, 2008 7:49 pm

Hey everyone
I successfully install darwinia with the installer on Ubuntu Hardy; and i also solved the libgcc bug.
So when i execute darwinia, the screen becomes black, i can see the mouse pointer, probably the one of the game. then, everything crashes and im going back to the desktop.
In the terminal:
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

Segmentation fault


And the blackbox.txt
=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-demo2-1.3.0
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 = 0
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
ControlMouseButtons = 3
ControlMethod = 1
RenderLandscapeMode = 2
ManuallyScaleTextures = 0
UserProfile = DemoUser
RenderSpecialLighting = 1
StartMap = launchpad

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

retAddress = 0x807fe8a
retAddress = 0x80ade1b
retAddress = 0x80ba26b
retAddress = 0x80b9dd9
retAddress = 0x80b3799
retAddress = 0x80b408d
retAddress = 0x80a25b8
retAddress = 0xb7b1b450
retAddress = 0x804cc91


gdb stack trace:

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
(gdb) Reading symbols from /home/benjamin/darwinia-demo2/lib/darwinia.bin.x86...(no debugging symbols found)...done.
(gdb) Attaching to program: /home/benjamin/darwinia-demo2/lib/darwinia.bin.x86, process 13747
Reading symbols from /home/benjamin/darwinia-demo2/lib/libSDL-1.2.so.0...done.
Loaded symbols for /home/benjamin/darwinia-demo2/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/benjamin/darwinia-demo2/lib/libvorbisfile.so.3...done.
Loaded symbols for /home/benjamin/darwinia-demo2/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/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d976e0 (LWP 13747)]
[New Thread 0xb64b0b90 (LWP 13748)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libGLcore.so.1...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /home/benjamin/darwinia-demo2/lib/libvorbis.so.0...done.
Loaded symbols for /home/benjamin/darwinia-demo2/lib/../lib/libvorbis.so.0
Reading symbols from /home/benjamin/darwinia-demo2/lib/libogg.so.0...done.
Loaded symbols for /home/benjamin/darwinia-demo2/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/lib/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib/libxcb-xlib.so.0
Reading symbols from /usr/lib/libxcb.so.1...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
0xb7f35410 in __kernel_vsyscall ()
(gdb) 2 Thread 0xb64b0b90 (LWP 13748) 0xb7f35410 in __kernel_vsyscall ()
1 Thread 0xb6d976e0 (LWP 13747) 0xb7f35410 in __kernel_vsyscall ()
(gdb)
Thread 2 (Thread 0xb64b0b90 (LWP 13748)):
#0 0xb7f35410 in __kernel_vsyscall ()
#1 0xb7bcc31b in write () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e95878 in DSP_PlayAudio (this=0x9559c20) at SDL_dspaudio.c:140
#3 0xb7e91137 in SDL_RunAudio (audiop=0x9559c20) at SDL_audio.c:232
#4 0xb7edc10b in SDL_RunThread (data=0x957fab8) at SDL_thread.c:218
#5 0xb7edc31f in RunThread (data=0xfffffe00) at SDL_systhread.c:82
#6 0xb7af24fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7bdbe5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6d976e0 (LWP 13747)):
#0 0xb7f35410 in __kernel_vsyscall ()
#1 0xb7b9a4fb in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7b3d643 in ?? () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7b3da02 in system () from /lib/tls/i686/cmov/libc.so.6
#4 0x08088748 in ?? ()
#5 0x08088a42 in ?? ()
#6 0x08088860 in ?? ()
#7 <signal handler called>
#8 0xb7e2994d in ?? () from /usr/lib/libGL.so.1
#9 0x0807fe8a in ?? ()
#10 0x080ade1b in ?? ()
#11 0x080ba26b in ?? ()
#12 0x080b9dd9 in ?? ()
#13 0x080b3799 in ?? ()
#14 0x080b408d in ?? ()
#15 0x080a25b8 in ?? ()
#16 0xb7b1b450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#17 0x0804cc91 in ?? ()
#0 0xb7f35410 in __kernel_vsyscall ()
(gdb) The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /home/benjamin/darwinia-demo2/lib/darwinia.bin.x86, process 13747
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Sun Aug 24, 2008 11:18 pm

Well, that's not much to go on (not your fault)... do you have a dual core processor? IF so, you must assign darwinia to run on a single core since it's not mult-core safe. There are several threads about this, but see the very end of the previous thread and the poster lists the linux command for doing this.

Otherwise, start darwinia from a terminal and cut & paste everything that shows up there. Under linux the engine outputs "server" messages to stdout, and they can give a clue as to how far it got -- blackbox listings are only useful if someone from IV can unwind the stack trace -- and they're all focused on Multiwinia right now...
Masquerade
level0
Posts: 2
Joined: Sun Aug 24, 2008 7:43 pm

Postby Masquerade » Mon Aug 25, 2008 6:10 pm

i already posted the print of the terminal:
In the terminal:
Quote:
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

Segmentation fault
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Mon Aug 25, 2008 11:58 pm

...yup I saw that, but was that *everything* from the command line forward? 'cause if so, darwinia crashed really early. Usually there's SDL and X setup info befor the game even starts the intro...

Code: Select all

.
SDL Version: Compiled against 1.2.9, running with 1.2.8
Initialising SDL Audio
Frequency: 22050
Format: 32784
Channels: 2
Samples: 512
Size of Stereo Sample: 4
Loading profile NewUser

XINERAMA offset guess: 0, 0


If these are missing, then maybe it's your version of SDL?

You didn't say if you have dual core, etc...

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 6 guests