Linux Beta 1.4.0b9

Problems with the Linux version of Darwinia

Moderators: bert_the_turtle, jelco, Chris, andy, John

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

Linux Beta 1.4.0b9

Postby John » Thu Jan 19, 2006 4:24 pm

Please can you try out

Darwinia Linux Patch 1.4.0b9

It should patch an existing installation of Darwinia (provided that it was installed using the standard installation program).

Changes from 1.3:
  • Fix problem where saving a game with Squaddies in transport would cause a segmentation fault on subsequent level load
  • Fix SIGFPE during Insurrection:Database
  • Fix problem where dynamic buildings were not able to trigger objectives unless listed in the map file.
  • Integrate foreign language support from latest Windows Darwinia
Last edited by John on Mon Feb 06, 2006 10:24 pm, edited 3 times in total.
User avatar
xander
level5
level5
Posts: 16863
Joined: Thu Oct 21, 2004 11:41 pm
Location: Riverside, CA, USA
Contact:

Postby xander » Thu Jan 19, 2006 6:17 pm

So, 1.4.0 is before what?

/me ducks to avoid punishment for a bad pun.

xander
User avatar
prophile
level5
level5
Posts: 1541
Joined: Fri Feb 18, 2005 4:17 pm
Location: Southampton, UK
Contact:

Postby prophile » Thu Jan 19, 2006 8:10 pm

That was awful. I mean, you've just brought the Satan of Puns into the world.
User avatar
xander
level5
level5
Posts: 16863
Joined: Thu Oct 21, 2004 11:41 pm
Location: Riverside, CA, USA
Contact:

Postby xander » Thu Jan 19, 2006 8:46 pm

prophile wrote:That was awful. I mean, you've just brought the Satan of Puns into the world.


Aw, shucks. You realize, though, that flattery will get you no where.

xander
User avatar
Dave2
level4
level4
Posts: 550
Joined: Wed Feb 20, 2002 9:07 pm
Location: Reading, England

Postby Dave2 » Thu Jan 19, 2006 9:19 pm

Just played a (mod) level with it, not seen any problems so far.

Just missing the Ctrl+Z documentation ;).
puetzk
level0
Posts: 3
Joined: Fri Jan 20, 2006 6:26 am

Floating Point Exception in Insurrection

Postby puetzk » Fri Jan 20, 2006 6:57 am

I am getting "Fatal signal: Floating Point Exception (SDL Parachute Deployed)" right as the graphics start when opening the Database level (2nd level) of Insurrection 1.1.0. The first level played fine (http://wendryn.com/darwinia/insurrectio ... n1.1.0.zip)
I do see a few frames of darwinians moving so it's not *quite* instantaneous. It's very repeatable (including in the all areas profile, so it's not a game.txt thing). If there's anything I can do to get a better trace I'm quite willing.

I don't know if this is a 1.4.0b4 thing or an Insurrection 1.1.0 vs 1.0.3 thing (unfortunately I upgraded both at the same time - bad plan, but I'm not sure how to revert to 1.3 to check). So I'll point at the beta and see if anyone else can confirm or deny:-)

I did notice when it launched that it said "SDL Version: Compiled against 1.2.9, running with 1.2.8' - this seems odd. I have libSDL1.2.9 on my system, but darwinia seems to have its own copy, apparently not matching what 1.4b4 was built with?
User avatar
xander
level5
level5
Posts: 16863
Joined: Thu Oct 21, 2004 11:41 pm
Location: Riverside, CA, USA
Contact:

Postby xander » Fri Jan 20, 2006 3:44 pm

Kevin,

Insurrection 1.0.3 is still up. However, some Windows users have also noticed some problems with that level. I would love to track them down and figure out what is going wrong. If a blackbox.txt file has been generated, that might help.

al
User avatar
John
Introversion Staff
Introversion Staff
Posts: 472
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Fri Jan 20, 2006 11:16 pm

Darwinia Linux Patch 1.4.0b7

Should fix the SIGFPE problem.
User avatar
John
Introversion Staff
Introversion Staff
Posts: 472
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Wed Feb 01, 2006 9:35 pm

darwinia-full-1.4.0b9.sh

Should fix the InstantSquaddies Bug
User avatar
xander
level5
level5
Posts: 16863
Joined: Thu Oct 21, 2004 11:41 pm
Location: Riverside, CA, USA
Contact:

Postby xander » Sat Feb 04, 2006 6:34 am

John wrote:Fix SIGFPE during Insurrection:Database

Generally I wouldn't ask about a Linux issue, as it is not my general domain of knowledge, but because my mod was mentioned, I don't feel bad asking about this one. What does this mean, and might it affect Windows users as well?

xander
User avatar
John
Introversion Staff
Introversion Staff
Posts: 472
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Sat Feb 04, 2006 12:43 pm

SIGFPE is a floating point exception, usually caused by a division by zero. Part of the behaviour of Darwinians is to avoid obstacles caused by nearby buildings. Unfortunately if there are no nearby buildings, a situation that arises in Insurrection:Database, this lead to a division by zero.

On Linux it seems that the default way to handle this condition is to raise the SIGFPE signal, and on Windows the default is to yield not-a-number values (NaNs) which can be a good thing or a bad thing depending on how you look at it!

In this case, I believe that the Windows version of Darwinia is not adversely affected, however, the fix for the linux version will make it's way into the Windows version in the next released patch.
fortanius
level0
Posts: 5
Joined: Fri Nov 11, 2005 7:23 pm

Postby fortanius » Mon Feb 20, 2006 7:52 pm

Update from 1.30 to 1.40beta9 without problems. Tested an update with root and normal user installation.
Game itself runs fine, like before. Rendering speed seems to be the same like 1.30.
Darwinia is reporting, that it is compiled against SDL 1.2.9, but running with 1.2.8. ldd reports, that darwinia.bin.x86 is using the provided libSDL.

System: SUSE 9.2 32-bit, Athlon 64 3200+, Nvidia 6800 GT with 1.0-8178.
User avatar
ghostDancer
level2
level2
Posts: 89
Joined: Tue Jul 12, 2005 4:50 am
Location: Land of Confusion
Contact:

Postby ghostDancer » Tue Feb 21, 2006 12:35 am

same as fortanius,
no problem at all only the SDL message but working perfectly, my system is a Debian Sarge with kernel 2.6.15. Tried both the gesture system and the icon one.
My wife hates you all at Introversion by the way, "You are again killing green men!!, didn't you end that horrible game?". I tried to introduce her to computer games but she suffers technophobia (well she mainly hates computers).
maxol
level0
Posts: 3
Joined: Mon Aug 22, 2005 5:41 pm
Contact:

Postby maxol » Mon May 01, 2006 8:03 pm

Game installs and loads OK but exits when I try to enter a level (Biosphere, Mine etc). I'm running Ubuntu dapper 6.06, here is my blackbox.txt
=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-full-1.4.0b9
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 = 1
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 1680
ScreenHeight = 1050
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
BootLoader = random
UserProfile = NewUser
ControlMethod = 1

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

retAddress = 0x8087fa2
retAddress = 0x80b4f8f
retAddress = 0x80c417a
retAddress = 0x80c3cd1
retAddress = 0x80bd36d
retAddress = 0x80bdf1d
retAddress = 0x80a9631
retAddress = 0xb7bcfea2
retAddress = 0x804cbc1


gdb stack trace:

GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu".
(gdb) Reading symbols from /usr/local/games/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) Attaching to program: /usr/local/games/darwinia/lib/darwinia.bin.x86, process 14312
(no debugging symbols found)
Reading symbols from /usr/local/games/darwinia/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/local/games/darwinia/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 /usr/local/games/darwinia/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/local/games/darwinia/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 /usr/local/games/darwinia/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/games/darwinia/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 -1222740256 (LWP 14312)]
[New Thread -1242104912 (LWP 14320)]
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 /usr/local/games/darwinia/lib/libvorbis.so.0...done.
Loaded symbols for /usr/local/games/darwinia/lib/../lib/libvorbis.so.0
Reading symbols from /usr/local/games/darwinia/lib/libogg.so.0...done.
Loaded symbols for /usr/local/games/darwinia/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/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.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
0xffffe410 in __kernel_vsyscall ()
(gdb) 2 Thread -1242104912 (LWP 14320) 0xffffe410 in __kernel_vsyscall ()
1 Thread -1222740256 (LWP 14312) 0xffffe410 in __kernel_vsyscall ()
(gdb)
Thread 2 (Thread -1242104912 (LWP 14320)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7c755db in write () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7ef1878 in DSP_PlayAudio (this=0x96707d8) at SDL_dspaudio.c:140
#3 0xb7eed137 in SDL_RunAudio (audiop=0x96707d8) at SDL_audio.c:232
#4 0xb7f3810b in SDL_RunThread (data=0x9696670) at SDL_thread.c:218
#5 0xb7f3831f in RunThread (data=0x800) at SDL_systhread.c:82
#6 0xb7bae341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7c844de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1222740256 (LWP 14312)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7c4695b in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7bf03c9 in strtold_l () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7bf0741 in system () from /lib/tls/i686/cmov/libc.so.6
#4 0x080900e4 in ?? ()
#5 0x080903de in ?? ()
#6 0x080901fc in ?? ()
#7 <signal handler called>
#8 0xb7e98864 in _fini () from /usr/lib/libGL.so.1
#9 0x0947da1c in ?? ()
#10 0xb7e969c2 in _fini () from /usr/lib/libGL.so.1
#11 0x0000000c in ?? ()
#12 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()
(gdb) Detaching from program: /usr/local/games/darwinia/lib/darwinia.bin.x86, process 14312
User avatar
John
Introversion Staff
Introversion Staff
Posts: 472
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Tue May 02, 2006 3:20 pm

Maxol, can you try editing your preferences.txt file, change LandscapeRenderMode from 2 to 1

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 1 guest