You are not logged in.

#1 2011-12-23 00:45:58

Dreamkey
Member
Registered: 2010-08-28
Posts: 45

Darwinia crashes at startup

Hello,

I downloaded Darwinia from the previous Humble Bundle but I can get it work. I tried to install it using the AUR package to be sure to have all the dependencies but I stuck at the startup: I can hear the music for 2 seconds, and then I go back to my desktop.
I get this message when I start it from a shell:

SDL Version: Compiled against 1.2.14, running with 1.2.14
Initialise: !windowed
Initialise: Suggested resolution of 1280 x 800
Initialising SDL Audio
Frequency: 22050
Format: 32784
Channels: 2
Samples: 705
Size of Stereo Sample: 4
Loading profile NewUser

ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred


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

blackbox.txt contents:

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

VERSION : linux-full-1.4.2
ERROR   : 'Got a fatal signal: 11
'

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

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
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
BootLoader = firsttime
UserProfile = NewUser
RenderSpecialLighting = 0
Difficulty = 1

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

darwinia[0x4bdbd1]
darwinia[0x4bdda5]
/lib/libpthread.so.0(+0xf850)[0x7f5ff7097850]
[0x7f5ff81a8a0d]


gdb stack trace:

GNU gdb (GDB) 7.3.1
Copyright (C) 2011 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 "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) Reading symbols from /usr/share/darwinia/darwinia.bin.x86_64...(no debugging symbols found)...done.
(gdb) Attaching to program: /usr/share/darwinia/darwinia.bin.x86_64, process 17998
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/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f5fefe1f700 (LWP 18061)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/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 /usr/lib/libglapi.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglapi.so.0
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libXxf86vm.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libX11-xcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11-xcb.so.1
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libxcb-glx.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb-glx.so.0
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/xorg/modules/dri/r300_dri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/dri/r300_dri.so
Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libpulse-simple.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpulse-simple.so.0
Reading symbols from /usr/lib/libpulse.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpulse.so.0
Reading symbols from /usr/lib/libjson.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjson.so.0
Reading symbols from /usr/lib/libpulsecommon-1.1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpulsecommon-1.1.so
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libXtst.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXtst.so.6
Reading symbols from /usr/lib/libsndfile.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsndfile.so.1
Reading symbols from /usr/lib/libasyncns.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasyncns.so.0
Reading symbols from /usr/lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /lib/libcap.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcap.so.2
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libFLAC.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libFLAC.so.8
Reading symbols from /usr/lib/libvorbisenc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbisenc.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libattr.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /usr/lib/libasound.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/alsa-lib/libasound_module_rate_speexrate.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
0x00007f5ff66091cd in waitpid () from /lib/libc.so.6
(gdb)   Id   Target Id         Frame 
  2    Thread 0x7f5fefe1f700 (LWP 18061) "darwinia" 0x00007f5ff6630173 in poll () from /lib/libc.so.6
* 1    Thread 0x7f5ff8227720 (LWP 17998) "darwinia" 0x00007f5ff66091cd in waitpid () from /lib/libc.so.6
(gdb) 
Thread 2 (Thread 0x7f5fefe1f700 (LWP 18061)):
#0  0x00007f5ff6630173 in poll () from /lib/libc.so.6
#1  0x00007f5ff02830ca in ?? () from /usr/lib/libasound.so.2
#2  0x00007f5ff0287644 in ?? () from /usr/lib/libasound.so.2
#3  0x00007f5ff0291e8b in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2
#4  0x00007f5ff72da853 in ?? () from /usr/lib/libSDL-1.2.so.0
#5  0x00007f5ff72ad980 in ?? () from /usr/lib/libSDL-1.2.so.0
#6  0x00007f5ff72b5e15 in ?? () from /usr/lib/libSDL-1.2.so.0
#7  0x00007f5ff72f9739 in ?? () from /usr/lib/libSDL-1.2.so.0
#8  0x00007f5ff708fdf0 in start_thread () from /lib/libpthread.so.0
#9  0x00007f5ff66383ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5ff8227720 (LWP 17998)):
#0  0x00007f5ff66091cd in waitpid () from /lib/libc.so.6
#1  0x00007f5ff65a308e in do_system () from /lib/libc.so.6
#2  0x00007f5ff65a34a0 in system () from /lib/libc.so.6
#3  0x00000000004bdc6c in ?? ()
#4  0x00000000004bdda5 in ?? ()
#5  <signal handler called>
#6  0x00007f5ff81a8a0d in ?? ()
#7  0x4301000043010000 in ?? ()
#8  0x4301000043010000 in ?? ()
#9  0x0000002000000020 in ?? ()
#10 0x0000002000000020 in ?? ()
#11 0x7f8000007f800000 in ?? ()
#12 0x7f8000007f800000 in ?? ()
#13 0x4038d96c4038d96c in ?? ()
#14 0x4038d96c4038d96c in ?? ()
#15 0xc02153f6c02153f6 in ?? ()
#16 0xc02153f6c02153f6 in ?? ()
#17 0x3fbd96dd3fbd96dd in ?? ()
#18 0x3fbd96dd3fbd96dd in ?? ()
#19 0xbeee7397beee7397 in ?? ()
#20 0xbeee7397beee7397 in ?? ()
#21 0x3d74552f3d74552f in ?? ()
#22 0x3d74552f3d74552f in ?? ()
#23 0x007fffff007fffff in ?? ()
#24 0x007fffff007fffff in ?? ()
#25 0x0000001000000010 in ?? ()
#26 0x0000001000000010 in ?? ()
#27 0x0000000800000008 in ?? ()
#28 0x0000000800000008 in ?? ()
#29 0x0000000200000002 in ?? ()
#30 0x0000000200000002 in ?? ()
#31 0x0000000100000001 in ?? ()
#32 0x0000000100000001 in ?? ()
#33 0x0000000400000004 in ?? ()
#34 0x0000000400000004 in ?? ()
#35 0x7fffffff7fffffff in ?? ()
#36 0x7fffffff7fffffff in ?? ()
#37 0x0000033300000000 in ?? ()
#38 0x0000000001c70558 in ?? ()
#39 0x000000003f41c1c3 in ?? ()
#40 0x0000000000000000 in ?? ()
(gdb) A debugging session is active.

	Inferior 1 [process 17998] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/share/darwinia/darwinia.bin.x86_64, process 17998

What should I do?
Thanks smile

Offline

#2 2011-12-24 22:08:27

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: Darwinia crashes at startup

Hi, the readme-linux.txt says:

Sound
=====

The default sound mode is OSS. If you prefer to use ALSA, make sure that
the SDL_AUDIODRIVER environment variable is set to alsa:

$ export SDL_AUDIODRIVER=alsa

Does trying alsa help?

Offline

#3 2011-12-27 01:18:14

Dreamkey
Member
Registered: 2010-08-28
Posts: 45

Re: Darwinia crashes at startup

No hmm
But on the official Darwinia forum, someone has exactly the same problem using the free radeon video driver on 64bits, except he uses Debian...

Offline

Board footer

Powered by FluxBB